Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/markmhendrickson/neotomanpx agentmods add skills/markmhendrickson/neotoma/recover_sqlite_databaseWrote 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/markmhendrickson/neotoma/recover_sqlite_database)<a href="https://agentmods.dev/skills/markmhendrickson/neotoma/recover_sqlite_database"><img src="https://agentmods.dev/badge/skills/markmhendrickson/neotoma/recover_sqlite_database/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/markmhendrickson/neotoma/recover_sqlite_database"><img src="https://agentmods.dev/badge/skills/markmhendrickson/neotoma/recover_sqlite_database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 6 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00011 | $0.00486 |
| Opus 5.5 | $0.00004 | $0.00194 |
| Sonnet 5.5 | $0.00002 | $0.00097 |
| Haiku 4.5 | $0.00001 | $0.00049 |
Grade A, and why
recover_sqlite_database 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 3mo ago.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- recover-sqlite-database — 88% identical, 13 lines differ
What it actually says
Recover Neotoma SQLite Database
When to use
Neotoma errors such as database disk image is malformed, failed PRAGMA integrity_check, or btreeInitPage / SQLITE_CORRUPT on the local SQLite file (neotoma.db or neotoma.prod.db under NEOTOMA_DATA_DIR).
Preconditions
sqlite3CLI onPATH(macOS usually has it).- Stop Neotoma (MCP stdio processes,
neotoma api, anything using the DB) before--recoveror before swapping files.
Script (primary)
From the Neotoma repo root:
# Check only (exit 0 = ok, 2 = corrupt)
node scripts/recover_sqlite_database.js
node scripts/recover_sqlite_database.js --env production
# Write recovered copy (does not replace live DB)
node scripts/recover_sqlite_database.js --env production --recover
Or: npm run recover:db and npm run recover:db:prod -- --recover (see package.json).
Output is a sibling file like neotoma.prod.recovered-<timestamp>.db. Verify it reports PRAGMA integrity_check: ok, then manually archive the live .db/-wal/-shm and cp the recovered file to the live name.
After swap
- Inspect
lost_and_foundin the recovered file if present; re-ingest important rows viaPOST /store/ MCPstoreusing normal schemas (see prior recovery notes:note,issue, etc.). - Prefer
NEOTOMA_DATA_DIRoutside iCloud-synced folders (e.g. not only under~/Documentsif Documents syncs) to reduce recurrence.
Do not
- Run
--recoverwhile Neotoma still holds the database open. - Auto-delete the corrupt file until a good recovered copy is verified and backed up.
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.
- 3mo ago First seen · 46 lines · 11 tokens per session scan A 60e5356be359
recover_sqlite_database is a skill published in the GitHub repository markmhendrickson/neotoma (37 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 486 once invoked, about $0.0000 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-30.
recover_sqlite_database compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| recover_sqlite_databasemarkmhendrickson/neotoma | Skill | 37 | yesterday | MIT | A | 11 | Claude Code |
| architecture-paradigm-cqrs-esathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 33 | Claude Code |
| backend-event-sourcingj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 68 | Claude Code, Codex |
| cqrs-event-sourcingNickCrew/Claude-Cortex | Skill | 75 | 9d ago | MIT | A | 46 | Claude Code, Codex |
| cratis-cli-terminal-workbenchCratis/AI | Skill | 4 | today | MIT | A | 45 | Claude Code, Codex |
| cratis-arc-spring-data-kotlinCratis/AI | Skill | 4 | today | MIT | A | 55 | Claude Code, Codex |
| cratis-arc-storage-typescriptCratis/AI | Skill | 4 | today | MIT | A | 47 | Claude Code, Codex |