database-forensics — Claude Code skill: what it does, how to install
database-forensics is a Claude Code skill that inspects database files, transactional logs, and recovers deleted records. Runs during forensic investigations across server and embedded databases.
no license ★ 73 updated 2026-11-15
npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a claude-codeWhat database-forensics does
This skill guides the investigation of SQLite, PostgreSQL, MySQL, and Oracle storage artifacts. It enforces forensic preservation: taking SHA-256 hashes of all data files and log sidecars, working on filesystem snapshots, and forbidding live service restarts against original directories to prevent log replay from altering evidence.
For SQLite targets, it requires opening files with immutable=1 alongside -wal or -journal sidecars, retrieving deleted rows from freelists via .recover. With PostgreSQL and MySQL, it examines write-ahead logs and binary logs for operation sequence. Whenever transactional telemetry is disabled or uncollected, the skill mandates reporting INCONCLUSIVE (Telemetry Gap) rather than a clean status.
What it helps with
- recover deleted SQLite rows from freelist pages
- trace transaction sequences across PostgreSQL WAL and MySQL binlogs
- verify database file integrity using SHA-256 hashes
- correlate application-level timestamps with database engine logs
Example prompts for the agent
- Analyze this copied
app.dbwith its-walfile to find deleted rows - Inspect the PostgreSQL WAL stream to determine the sequence of updates on the accounts table
- Check the MySQL binlog for unauthorized table truncations
How to install database-forensics
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a claude-code2Manually: put the files in place
~/.claude/skills/database-forensics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/database-forensics/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a codex2Manually: put the files in place
.agents/skills/database-forensics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a cursor2Manually: put the files in place
.cursor/skills/database-forensics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install W4L33Dx/Cyber-Monster blue-team/digital-forensics/database-forensics2Manually: put the files in place
.github/skills/database-forensics/SKILL.md1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a gemini-cli2Platform CLI
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/digital-forensics/database-forensicsManually: put the files in place
.devin/skills/database-forensics/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about database-forensics
How to install database-forensics in Claude Code?
Run npx skills add W4L33Dx/Cyber-Monster --skill database-forensics -a claude-code or place the specification directly at ~/.claude/skills/database-forensics/SKILL.md.
What does database-forensics do?
It directs the agent through forensic analysis of database files, parsing transaction streams and reconstructing deleted entries across SQLite, Postgres, MySQL, and Oracle.
What happens when transaction logs are missing during an investigation?
The skill requires issuing an INCONCLUSIVE (Telemetry Gap) finding, strictly prohibiting a clean verdict if logging sources were omitted or turned off.