sqlite

sqlite is a skill for Claude Code, Codex from ssube/conclave. It costs 34 tokens per session (410 once invoked), scanned A, original, MIT.

A tool for reading data from SQLite, a small database stored in a file, using SQL, the language used to ask databases for information. It can list tables, show table structures, and run read-only queries with table, JSON, or CSV output.

In plain words
What is it for?
Use it to explore tables, inspect schemas, filter and sort records, investigate logs or metrics, and export query results.
Why use it?
It makes it easier to inspect a SQLite database and export results while preventing the query command from changing or deleting data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to explore tables, inspect schemas, filter and sort records, investigate logs or metrics, and export query results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ssube/conclave/sqlite
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ssube/conclave --skill sqlite
Clone the repo
git clone --depth 1 https://github.com/ssube/conclave

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sqlite

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssube/conclave/sqlite/github.svg)](https://agentmods.dev/skills/ssube/conclave/sqlite)
Your own site
<a href="https://agentmods.dev/skills/ssube/conclave/sqlite"><img src="https://agentmods.dev/badge/skills/ssube/conclave/sqlite/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sqlite

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssube/conclave/sqlite"><img src="https://agentmods.dev/badge/skills/ssube/conclave/sqlite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00410
Opus 5.5 $0.00014 $0.00164
Sonnet 5.5 $0.00007 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 1mo ago against content hash 278c1cc1ceee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sqlite scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (query.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pi/skills/sqlite/SKILL.md · 71 lines

What it actually says

SQLite Query Skill

Execute SQL queries against a SQLite database with formatted output.

Usage

Execute a query

bash {baseDir}/query.sh query "SELECT * FROM items LIMIT 5" [--format table|json|csv]

Output formats:

  • table (default): Formatted table with headers
  • json: JSON array of objects
  • csv: CSV with header row

List all tables

bash {baseDir}/query.sh tables

Describe table schema

bash {baseDir}/query.sh schema <table>

Environment Variables

  • SQLITE_DB_PATH: Path to the SQLite database file (required)

Security

  • Only SELECT queries are allowed via the query command
  • INSERT, UPDATE, DELETE, DROP, CREATE, ALTER are rejected
  • Queries are validated before execution

Examples

# Inspect the database
bash {baseDir}/query.sh tables
bash {baseDir}/query.sh schema items

# Query with different formats
bash {baseDir}/query.sh query "SELECT name, status FROM items ORDER BY name" --format table
bash {baseDir}/query.sh query "SELECT * FROM logs WHERE date > '2025-01-01'" --format json
bash {baseDir}/query.sh query "SELECT * FROM metrics" --format csv > export.csv

Troubleshooting

"no such table" error

Run bash {baseDir}/query.sh tables to list available tables.

Database locked

Another process is writing. SQLite handles this automatically — wait and retry.

Database not found

Check that SQLITE_DB_PATH is set to a valid file path.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 71 lines · 34 tokens per session scan A 278c1cc1ceee

Subscribe to this mod's changes

sqlite is a skill published in the GitHub repository ssube/conclave (2 stars, last pushed 7mo ago), licensed MIT. It adds 34 tokens to every session and 410 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

db-sculptor

Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and sharding/partitioning. Use when user asks to design schema, create migrations, optimize slow queries, add indexes, choose…

EliasOulkadi/shokunin · 123 tokens

neon-postgres

Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related…

EliasOulkadi/shokunin · 76 tokens

chromadb

Manage the ChromaDB vector database that stores the ecosystem's persistent memory. Use when user asks to check memory storage, backup memory, search stored entries, delete entries, or reset the vector database. Do NOT use for general question answering about past sessions (use the memory skill for that).

EliasOulkadi/shokunin · 61 tokens

db-admin

PostgreSQL database administration — backup/restore (pgdump, PITR, WAL archiving), health monitoring (connections, bloat, cache hit ratio, dead tuples), connection pooling (PgBouncer), replication (streaming, logical), vacuum/autovacuum tuning, and scheduled backups with retention. Use when user asks to backup a…

EliasOulkadi/shokunin · 122 tokens

deprecate

Use when something has to be removed or retired, a feature, endpoint, table column, config key, feature flag, package or whole service; migrating consumers off an old API or version; code that looks dead but might not be. Symptoms: "can we delete this?", "is anything still using this?", "we need everyone off v1"…

mehrad-dm/mastermind · 97 tokens

vector-backend-operations

Select and connect the right vector-store backend for the vector-mcp MCP server — chromadb, postgres/pgvector, qdrant, couchbase, or mongodb — and supply the correct dbtype/connection parameters that every collection and search call needs. Use when the agent must decide which engine to target, wire up…

Knuckles-Team/vector-mcp · 113 tokens