Route database files to appropriate extraction method based on identification from db-identify. Decides between DBeaver CLI (for supported formats) or db-extractor-* skills (for unsupported formats). Use AFTER db-identify to determine extraction workflow.
79%
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
Fix and improve this skill with Tessl
tessl review fix ./skills/db-router/SKILL.mdRoute identified databases to the correct extraction method.
db-identify output
│
▼
┌──────────────────┐
│ dbeaver_supported│
└────────┬─────────┘
│
┌────┴────┐
│ │
Yes No
│ │
▼ ▼
DBeaver db-extractor-*
CLI skill# Route from identification JSON (typical workflow)
python scripts/db_route.py --json '{"format": "sqlite", "dbeaver_supported": true}'
# Identify + route in one step
python scripts/db_route.py --file database.db
# View routing table
python scripts/db_route.py --list-routesFormat: sqlite
Decision: use_dbeaver
Method: dbeaver_cli
Instructions:
• Use DBeaver CLI to export sqlite database
• DBeaver supports this format natively
• Fallback: db-extractor-sqlite (available)| Format | DBeaver | Extractor Skill | Status |
|---|---|---|---|
| sqlite | ✓ | db-extractor-sqlite | available |
| access | ✓ | db-extractor-access | planned |
| dbf | ✓ | db-extractor-dbf | planned |
| h2 | ✓ | db-extractor-h2 | planned |
| firebird | ✓ | db-extractor-firebird | planned |
| berkeleydb | ✗ | db-extractor-berkeleydb | planned |
| redis-rdb | ✗ | db-extractor-redis | planned |
| Decision | Meaning | Action |
|---|---|---|
use_dbeaver | DBeaver CLI supported | Use DBeaver for extraction |
use_skill | Skill available, DBeaver not | Use db-extractor-* skill |
skill_needed | No DBeaver, skill not ready | Need to build extractor |
unknown_format | Unidentified format | Manual investigation |
python scripts/db_route.py [OPTIONS]
Options:
-f, --file PATH Database file (runs db-identify first)
-j, --json JSON Identification JSON from db-identify
--format FORMAT Database format directly
--dbeaver-supported true/false
--output-json Output routing decision as JSON
-l, --list-routes Show routing table# Step 1: Identify
IDENT=$(python db-identify/scripts/db_identify.py course.db --json)
# Step 2: Route
python db-router/scripts/db_route.py --json "$IDENT"
# Step 3: Execute based on decision
# → use_dbeaver: run DBeaver CLI export
# → use_skill: run db-extractor-* script
# → skill_needed: create extractor skill6d9d92a
Also appears in
since Nov 5, 2026
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.