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.
npx skills add fmind/dot --skill sqlgit clone --depth 1 https://github.com/fmind/dotWrote 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.
[](https://agentmods.dev/skills/fmind/dot/sql)<a href="https://agentmods.dev/skills/fmind/dot/sql"><img src="https://agentmods.dev/badge/skills/fmind/dot/sql/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.
<a href="https://agentmods.dev/skills/fmind/dot/sql"><img src="https://agentmods.dev/badge/skills/fmind/dot/sql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01273 |
| Opus 5.5 | $0.00012 | $0.00509 |
| Sonnet 5.5 | $0.00006 | $0.00255 |
| Haiku 4.5 | $0.00003 | $0.00127 |
Grade A, and why
sql 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SQL, DuckDB, SQLite & PostgreSQL
Use DuckDB for local analytics across CSV, Parquet, JSON, and attached SQLite files; keep SQLite for embedded application state; use postgres for live PostgreSQL/pgvector inspection via psql.
Commands
duckdb -no-init -light-mode -batch -bail -json -c "SELECT count(*) AS n FROM 'events/*.json'"
duckdb -no-init -light-mode -batch -bail -no-agent -c "ATTACH 'app.sqlite' AS s (TYPE sqlite, READ_ONLY); SELECT count(*) FROM s.users"
sqlite3 -noinit -batch -bail -readonly -ifexists app.sqlite '.schema'
sqlite3 -noinit -batch -bail -noheader -list -readonly -ifexists app.sqlite 'PRAGMA integrity_check'
Keep these flags on every call: -light-mode skips DuckDB 2.0's 5s interactive/PTY OSC 11 probe; -ifexists prevents SQLite typos from creating empty DBs (PRAGMA integrity_check prints ok); -safe guards untrusted .sql files (in DuckDB it disables all filesystem access, so use it only on already-opened .duckdb files, not CSV/Parquet scans). DuckDB 2.0 agent mode auto-enables on non-TTY agent runs and truncates with a footer at 1,000 rows / 10 KB / 500 chars; default duckbox output also truncates rows and wide SUMMARIZE columns even with -no-agent, so pass -json or -csv for full results (plus -no-agent when DUCKDB_AGENT_MODE=1 is set to suppress the stderr notice).
Workflow
- Inspect, bound, isolate:
DESCRIBE/SUMMARIZE(pin CSV types),SET max_execution_time=<ms>, markLIMITpreviews partial, export Parquet (commit.sql, not.duckdb; open-readonly). - Reconcile grain, nulls, bounds, & money: check key uniqueness and pre/post-join counts (
1:Nfan-out), useNOT EXISTSoverNOT IN (nullable),IS NOT DISTINCT FROM,NaNvsNULL, UTC[start, end)(neverBETWEENon timestamps),DECIMAL/minor ints for money, andNULLIF(denom, 0). Verify data contracts and dbt quality gates via quality-and-dbt.
Gotchas
What ships with it
3 files 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.
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.
- yesterday Changed 6bcf6b6aa310
- 3d ago Changed · -2 lines 6f00fa2c1079
- 7d ago First seen · 59 lines · 30 tokens per session scan A 0ab5b3827e3e
sql is a skill published in the GitHub repository fmind/dot (14 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,273 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-11-22.
sql compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sqlfmind/dot | Skill | 14 | today | MIT | A | 30 | Claude Code, Codex |
| python-stackfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 41 | Claude Code, Codex |
| misefmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 27 | Claude Code, Codex |
| releasefmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 40 | Claude Code, Codex |
| cloud-runfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 28 | Claude Code, Codex |
| diff-reviewfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 57 | Claude Code, Codex |
| agent-projectfmind/dotfiles | Skill | 4 | 3mo ago | MIT | A | 43 | Claude Code, Codex |