AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Sqlecmd

skill-wodzen-agent-forensics-skills-sqlecmd · by wodzen

Parse and extract data from SQLite databases using Eric Zimmerman's SQLECmd. Covers CLI flags, map-driven extraction, output formats (CSV/JSON), blob export, and map structure reference.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-wodzen-agent-forensics-skills-sqlecmd

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wodzen-agent-forensics-skills-sqlecmd)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Sqlecmd? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

SQLECmd Skill

SQLECmd is Eric Zimmerman's command-line tool for parsing SQLite database files using map definitions. It identifies SQLite databases by file header, matches them to maps that define SQL queries and column mappings, and outputs structured CSV or JSON. Any SQLite database can be parsed as long as a map (.smap) exists for its schema. Forensic interpretation of SQLite data (browser history analysis, application activity reconstruction, etc.) belongs in a separate analysis skill.

Command Syntax

SQLECmd.exe -f  --csv  [other options]
SQLECmd.exe -d  --csv  [other options]

Single-letter options use a single dash (-). Multi-character options use double dashes (--).

Input (one required)

| Flag | Description | |------|-------------| | -f | Single SQLite file to process | | -d | Directory to process containing SQLite files |

Output Formats

| Flag | Description | |------|-------------| | --csv | Directory to write CSV output | | --json | Directory to write JSON output |

It's recommended to specify at least one output format to write results to a file. Forensic output can be very large and may consume the context window. CSV is the most common choice for analysis with Timeline Explorer or Excel.

Options

| Flag | Description | Default | |------|-------------|---------| | --hunt | Examine all files regardless of name; identify SQLite files by header | FALSE | | --maps | Path to map (.smap) files | Maps folder next to the executable | | --sync | Download latest maps from GitHub before processing. Requires network access. | FALSE | | --dedupe | Deduplicate files via SHA-1 | TRUE | | --blobdir | Directory to save extracted blob data to | | | --noblob | Disable blob extraction from query results | FALSE | | --debug | Show debug information | FALSE | | --trace | Show trace information | FALSE |

Output Structure

SQLECmd produces one CSV file per map query that matches the input. Output filenames follow the pattern _.csv as defined in each map.

Every output file includes a SourceFile column appended to the query results, identifying which SQLite database the row came from.

CSV column names are defined by each map's SQL query aliases, not by the tool itself. Different databases produce different columns depending on their map definitions.

Maps

Maps (.smap files) are YAML definitions that tell SQLECmd how to identify and extract data from specific SQLite databases. Each map defines:

| Field | Description | |-------|-------------| | Description | Human-readable description of the database | | CSVPrefix | Prefix for output CSV filenames | | FileName | Expected database filename (used for matching) | | IdentifyQuery | SQL query to confirm database identity | | IdentifyValue | Expected result of the identify query | | Queries | Array of SQL queries with column aliases defining CSV output |

Maps are stored in the Maps directory (default: next to the executable). The --hunt flag bypasses filename matching and identifies SQLite files by their file header, allowing maps to match databases with renamed or unexpected filenames.

Common map categories include browsers (Chrome, Firefox, Edge), messaging apps, Windows artifacts (Notifications, Activities/Timeline), and mobile databases.

Workflow Examples

Parse a single SQLite database to CSV

SQLECmd.exe -f "C:\Cases\Evidence\History" --csv "C:\Cases\Output"

Parse a directory of SQLite databases

SQLECmd.exe -d "C:\Cases\Evidence\AppData" --csv "C:\Cases\Output"

Hunt for all SQLite files in a directory

SQLECmd.exe -d "C:\Cases\Evidence" --csv "C:\Cases\Output" --hunt

Parse with blob extraction to a directory

SQLECmd.exe -d "C:\Cases\Evidence\AppData" --csv "C:\Cases\Output" --blobdir "C:\Cases\Output\Blobs"

Parse without blob extraction

SQLECmd.exe -d "C:\Cases\Evidence\AppData" --csv "C:\Cases\Output" --noblob

Parse from a mounted forensic image

SQLECmd.exe -d "E:\Users" --csv "C:\Cases\Output" --hunt

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.