- Home
- Skills
- Research & Analysis
- Querybird: Ask Your SQLite Database in Plain English
Works with the AI Agents you already use
Querybird: Ask Your SQLite Database in Plain English
Querybird turns your AI agent into a careful SQL analyst for SQLite databases.
Free
What it does
- Answers plain-English questions about any .sqlite or .db file
- Checks the values actually stored before filtering, so "Orange" matches "Orange County"
- Returns names, not raw IDs, by joining foreign keys to their tables
- Checks every result for silent errors like empty matches, join duplicates and integer division
- Never changes your data: every edit or delete is blocked, and slow or huge queries are cut off automatically
- Shows the answer, the exact SQL it ran, and the result rows
Who it's for
Developers debugging or exploring an app's SQLite database
Answers without hand-writing joins, and no risk of touching the data
Try asking: “Using querybird, how many users signed up each month in 2024? DB is ./app.db”
Analysts and founders with data in a SQLite file
Business answers in plain English, with the SQL shown so they can check it
Try asking: “Using querybird, which 5 products made the most revenue last quarter? DB is ./shop.db”
Students learning SQL
Correct queries with the reasoning behind each join and filter
Try asking: “Using querybird, which department has the highest average salary? DB is ./company.sqlite”
Querybird: Ask Your SQLite Database in Plain English
Example session with this skill installed
Using querybird, who were our top Canadian customers by completed spend in 2024? The database is ./shop.db
- Read your context and instructions
- Compiled the querybird
Priya Nair was the top Canadian customer in 2024, with $370.00 across 2 completed orders.
| Customer | Total spent (2024) | Orders |
|---|---|---|
| Priya Nair | $370.00 | 2 |
| Aisha Bello | $304.75 | 2 |
| Maya Chen | $210.49 | 2 |
SQL I ran:
SELECT c.full_name,
ROUND(SUM(o.amount), 2) AS total_spent,
COUNT(*) AS orders
FROM orders o
JOIN customers c ON c.customer_id = o.customer_id
WHERE c.country = 'Canada'
AND o.status = 'completed'
AND o.order_date LIKE '2024%'
GROUP BY c.customer_id
ORDER BY total_spent DESC;
What I checked before answering:
- Stored values:
countrystores the full name'Canada'(not'CA'), andstatushas two values,'completed'and'refunded'. I counted only completed orders. - Dates:
order_dateis text like'2024-02-11 09:14:00', so I filtered with a'2024%'prefix and not a date comparison. - Names, not IDs: I joined
orders.customer_idtocustomersso the table shows names. - Exclusions that change the ranking: Maya Chen's $999 order is dated 2023-12-30, so it's outside 2024. Priya Nair's $45 order was refunded, so it's excluded.
Interpretation: I read "top" as total completed spend. Say if you meant number of orders, and I'll rerun it.
Next steps: I can break this down by month, add the other countries for comparison, or list each customer's individual orders.
Connects securely to your tools. The creator never sees your data.
About this skill
Querybird turns your AI agent into a careful SQL analyst for SQLite databases. Ask a question in plain English. It reads the schema, checks the values actually stored in the columns it filters on, writes the query, runs it, and checks the result before answering. You get the answer, the SQL it ran, and the rows.
Why the checks matter
When AI-written SQL is wrong, it usually doesn't crash. It runs fine and returns the wrong rows. Querybird's method comes from failure analysis on the BIRD text-to-SQL benchmark, where about 94% of wrong queries were this kind of silent error. It targets the common causes:
- Returning raw IDs when you asked for names
- Filtering on "Orange" when the data stores "Orange County"
- Date-format mismatches ("2024" vs "2024-03-22 11:05:00")
- Joins that double-count rows
- Integer division that turns percentages into 0
Your data can't be changed
All database access goes through a bundled Python script that opens the file read-only. SQLite's own authorizer refuses every write, schema change, ATTACH and PRAGMA, so this doesn't rely on keyword matching. Every query also has a timeout and a row cap.
Limits
SQLite only (.sqlite, .db, .sqlite3). It doesn't connect to Postgres or MySQL, and it never changes data.
Works only with SQLite files (.db, .sqlite, .sqlite3), not Postgres or MySQL. Read-only: it can't add, change, or delete data. Results show up to 200 rows by default and queries stop after 10 seconds; the agent can raise both if needed. Requires Python 3.8+.
Files: SKILL.md (workflow) and scripts/sqlsafe.py (database access). sqlsafe.py uses only the Python standard library (3.8+). Commands: - schema DB: CREATE TABLE statements and row counts - values DB TABLE COLUMN: most common stored values in a column - query DB "SQL" [--limit 200] [--timeout 10]: runs one read-only statement and returns JSON Safety: the file is opened with mode=ro, PRAGMA query_only is set, and a SQLite authorizer allows only SELECT/READ/FUNCTION/RECURSIVE. Only one statement runs per call, a progress-handler timeout stops long queries, and a row cap applies. No network access, no API keys, nothing to install.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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 today
- Free with an Agensi account
- Software
Python 3.8+
Permissions
File Scopes
What's inside
Frequently Asked Questions
New in Research & Analysis
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.