CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

db-identify

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.

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is db-identify in KennethJefferson/cc_sdk_knowledge_extractor

SKILL.md
Quality
Evals
Security

Database Identifier

Identify database file formats via signature detection.

Quick Start

# 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-formats

Output

Human-readable:

File: course.db
Size: 12.0 KB

Format: sqlite
Version: 3.x
Confidence: high (signature detection)
DBeaver supported: Yes

JSON (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"
  }
}

Detection Methods

MethodConfidenceHow
SignatureHighMagic bytes at file start
ExtensionLowFile extension hint
NoneNoneUnrecognized format

Supported Formats

FormatDBeaver CLINotes
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

CLI Reference

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

Typical Workflow

# 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)
Repository

KennethJefferson/mono-repo_db

Path

db-identify/SKILL.md

Last updated
First committed

Canonical home

KennethJefferson/cc_sdk_knowledge_extractor
In sync

since Nov 5, 2026

Is this your skill?

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.