Identify database file formats by scanning magic bytes and file signatures. Use FIRST when encountering any unknown database file. Returns format type, version, confidence level, and DBeaver CLI compatibility. Pure identification only - for routing decisions, pass results to db-router.
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
The canonical home for this skill is db-identify in KennethJefferson/cc_sdk_knowledge_extractor
Identify database file formats via signature detection.
# Identify a database file
python scripts/db_identify.py unknown.db
# JSON output for piping to db-router
python scripts/db_identify.py unknown.db --json
# List all detectable formats
python scripts/db_identify.py --list-formatsHuman-readable:
File: course.db
Size: 12.0 KB
Format: sqlite
Version: 3.x
Confidence: high (signature detection)
DBeaver supported: YesJSON (for routing):
{
"format": "sqlite",
"version": "3.x",
"detection_method": "signature",
"confidence": "high",
"dbeaver_supported": true,
"file_info": {
"name": "course.db",
"size_bytes": 12288,
"size_human": "12.0 KB"
}
}| Method | Confidence | How |
|---|---|---|
| Signature | High | Magic bytes at file start |
| Extension | Low | File extension hint |
| None | None | Unrecognized format |
| Format | DBeaver CLI | Notes |
|---|---|---|
| sqlite | ✓ | Most common for course materials |
| access | ✓ | .mdb, .accdb |
| dbf | ✓ | dBase, FoxPro |
| h2 | ✓ | Java H2 database |
| firebird | ✓ | .fdb, .gdb |
| berkeleydb | ✗ | Needs custom extractor |
| redis-rdb | ✗ | Needs custom extractor |
python scripts/db_identify.py DATABASE [OPTIONS]
Arguments:
DATABASE Database file to identify
Options:
-j, --json Output as JSON
-l, --list-formats List all detectable formats# 1. Identify format
python db_identify.py mystery.db --json > /tmp/db_info.json
# 2. Pass to router for extraction decision
# (handled by db-router skill)edc9701
Canonical home
since Nov 5, 2026
Also appears in
since Nov 5, 2026
since Nov 5, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.