Works with the AI Agents you already use

    SQLite Explorer

    by megaartaiking-cmd

    1

    Explore SQLite schemas, run read-only queries, and export results to CSV with Python. Use when the user or agent wants to look inside a SQLite database or pull data out of it.

    Free

    Security scanned
    SQLite Explorer

    SQLite Explorer

    Example session with this skill installed

    What tables are in this database?

    • Read your context and instructions
    • Compiled the sqlite explorer
    • Generated the data export

    Here is the schema of shop.db — explored before running any query:

    • Table: products (4 row(s))
      • id: INTEGER PRIMARY KEY
      • name: TEXT
    • Table: customers (2 row(s))
      • id: INTEGER PRIMARY KEY
      • name: TEXT
      • city: TEXT

    Nothing was changed. Exploring a schema is read-only, and your database file is never uploaded — all work happens locally.

    Other things I can do with a SQLite database:

    • Run a read-only query: only SELECT and WITH statements run, for example 'SELECT name, price FROM products ORDER BY price DESC LIMIT 5'. The five most expensive products include 'Desk lamp | 24.99'.
    • Export results to CSV: for example 'Exported 2 row(s). Saved: paris.csv' for the customers in Paris. I report the rows returned and the output path instead of pasting a whole table into a reply.
    • Stay safe: queries are read-only by default. I never use --write unless you explicitly ask to change data, and I never run a DELETE or DROP without you naming the exact table and confirming. If a query returns no rows, I say so — I do not invent data.

    paris.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Interrogating local databases usually requires specialized GUI apps or manual CLI work that breaks your flow. This skill enables direct exploration and data extraction from SQLite files using simple natural language commands.

    What it does

    • Schema exploration lists tables, column types, and row counts to map out data structure.
    • Read-only querying executes SELECT and WITH statements to preview data without risk of corruption.
    • CSV export dumps query results directly to local files for use in spreadsheets or other tools.
    • Safety enforcement blocks destructive commands like DELETE or DROP unless explicitly confirmed.
    • Write protection requires a specific flag for any data modification, maintaining database integrity by default.

    How it works

    1. Verify the target file is a valid SQLite database.
    2. Run the schema command to identify available tables and relationships.
    3. Execute SQL queries to fetch specific data points or summary statistics.
    4. Save large result sets to a CSV file using the export command to keep the conversation clean.

    Frameworks & tools

    This skill uses a Python-based utility sqltool.py to interface with the standard sqlite3 library. It operates entirely within your local environment.

    Why this beats prompting it yourself

    Standard LLMs often hallucinate schemas or write queries for columns that do not exist. This skill forces a "schema-first" workflow, ensuring every query is grounded in the actual database structure while providing built-in safety rails against accidental data loss.

    Use cases

    • Audit a local database to understand its internal table structure and row volume.
    • Extract specific customer or product segments into CSV files for marketing reports.
    • Preview the top or bottom records in a table to verify data entry or migration.
    • Perform ad-hoc analysis on application logs or local state stored in SQLite.

    Known limitations

    Only supports SQLite databases. Requires the sqltool.py script to be present in the local tools directory. Only SELECT and WITH statements are permitted in default mode.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    • Free with an Agensi account

    Software
    Python 3.10+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill allows you to explore local SQLite schemas, perform read-only queries using natural language, and export results to CSV files directly within your AI agent's environment.

    By default, the skill only permits SELECT and WITH statements. It includes a safety-first architecture that blocks destructive commands like DELETE or DROP unless you explicitly provide a modification flag.

    You will receive the core logic for the AI agent and the `sqltool.py` Python utility required to interface with your local `sqlite3` library.

    Currently, this skill is optimized exclusively for SQLite (.sqlite, .db) files; it does not support other database engines like PostgreSQL or MySQL at this time.

    The skill requires the included `sqltool.py` script to be placed in your agent's local tools directory and a standard Python environment capable of running the `sqlite3` library.

    This skill enforces a 'schema-first' workflow, meaning the AI verifies actual table names and column types before writing a query, which significantly reduces the syntax errors and hallucinations common with standard prompting.

    New in Data & Databases

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Free