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 Arasz/ai-raccoon --skill sqlite-bank-space-diagnosisgit clone --depth 1 https://github.com/Arasz/ai-raccoonWrote 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/arasz/ai-raccoon/sqlite-bank-space-diagnosis)<a href="https://agentmods.dev/skills/arasz/ai-raccoon/sqlite-bank-space-diagnosis"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/sqlite-bank-space-diagnosis/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/arasz/ai-raccoon/sqlite-bank-space-diagnosis"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/sqlite-bank-space-diagnosis.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.00083 | $0.01440 |
| Opus 5.5 | $0.00033 | $0.00576 |
| Sonnet 5.5 | $0.00017 | $0.00288 |
| Haiku 4.5 | $0.00008 | $0.00144 |
Grade A, and why
sqlite-bank-space-diagnosis 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SQLite bank space & WAL diagnosis (physical layer)
Measured methods from a 2026-08 memory-bank audit. Complements the SQLite schema review skill (schema semantics); this covers the physical layer — file size, WAL mechanics and VACUUM semantics.
Diagnosis workflow (read-only first)
- Snapshot before touching anything:
sqlite3 <bank> ".backup /tmp/snap.db"— the backup preserves page layout (freelist + page counts matched the live file exactly; cross-check with read-onlyPRAGMA page_count/freelist_count/page_size). - sqlite3_analyzer (official
sqlite-tools-osx-arm64-*.zip, orbrew install sqlite-analyzer): space utilization per table — freelist %, payload efficiency, non-sequential pages, overflow. It is a SPACE tool ONLY: zero coverage of query performance, the WAL file, or FTS behavior (the doc page contains no "wal"/"performance" mentions — grep before claiming otherwise). - WAL check:
PRAGMA wal_checkpoint(TRUNCATE)on the SNAPSHOT (never the live bank mid-analysis). The result rowbusy|log|checkpointedis the signal:0|0|0= the whole WAL was already-checkpointed garbage and truncation is instant;log > 0= real checkpoint debt (unreplayed frames). - Quantify reclaim:
VACUUM INTO '/tmp/vac.db'on the snapshot → logical content size; the freelist share of the main file is the reclaimable delta. - Footprint math: stat the WHOLE data dir — db +
-wal+-shm. A 431 MB WAL next to a 29 MB db withlog=0is 100 % reclaimable garbage, and the analyzer cannot see it.
WAL growth mechanics (why a WAL is huge)
- Frames accumulate until a checkpoint TRUNCATEs. Passive auto-checkpoints (default 1000 pages) keep content synced (
log=0) but CANNOT truncate while any other connection holds a read lock; with connection pooling + several long-lived processes (stdio bridges, serve) the "last connection closed" close-time truncation never fires → the WAL grows unbounded with already-checkpointed frames. - Measured: 431 MB WAL born the second the first bridge processes started, grown in
~4 h of traffic;
0|0|0on the snapshot; TRUNCATE → 0 bytes in under a second. - If the app has a checkpoint only inside a feature that never ran (e.g. a cloud-sync path), that is the root cause of unbounded growth — grep the codebase for
wal_checkpointbefore designing a fix.
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 First seen · 73 lines · 83 tokens per session scan A 31ab6f10c7a9
sqlite-bank-space-diagnosis is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 1,440 once invoked, about $0.0003 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-12-05.
sqlite-bank-space-diagnosis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sqlite-bank-space-diagnosisArasz/ai-raccoon | Skill | 7 | today | MIT | A | 83 | Claude Code, Codex |
| graph-db-writessamugit83/redamon | Skill | 3.6k | 2d ago | MIT | A | 174 | Claude Code, Codex |
| tradecraft-librarysamugit83/redamon | Skill | 3.6k | 2d ago | MIT | A | 176 | Claude Code, Codex |
| stripe-projectsstripe/ai | Skill | 2.1k | yesterday | MIT | A | 217 | Claude Code |
| release-db-config-syncPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 91 | Claude Code |
| browser-7008e942FuRongJun-1999/dsh-memory | Skill | 778 | today | MIT | A | 82 | Claude Code |
| cartographer-kb-createBeppeTemp/cartographer | Skill | 74 | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |