benchflow-ai/skillsbench/sqlite-map-parser
Claude Code and agent skill by benchflow-ai/skillsbench
- community
Checking that the SKILL.md file is still in the repository.
Parse SQLite databases into structured JSON data. Use when exploring unknown database schemas, understanding table relationships, and extracting map data as JSON.
Install
npx vskill@latest install benchflow-ai/skillsbench/sqlite-map-parserSKILL.md
The same SKILL.md was published earlier as benchflow-ai/skillsbench/sqlite-map-parser.
SQLite to Structured JSON
Parse SQLite databases by exploring schemas first, then extracting data into structured JSON.
Step 1: Explore the Schema
Always start by understanding what tables exist and their structure.
List All Tables
Inspect Table Schema
Find Primary/Unique Keys
Step 2: Understand Relationships
Identify Foreign Keys
Common Patterns
ID-based joins: Tables often share an ID column
Coordinate-based keys: Spatial data often uses computed coordinates
Step 3: Extract and Transform
Basic Pattern
Handle Missing Tables Gracefully
Step 4: Output as Structured JSON
Map/Dictionary Output
Use when items have natural unique keys:
Array Output
Use when order matters or keys are simple integers:
Common Schema Patterns
Grid/Map Data
- Main table: positions with base properties
- Feature tables: join on position ID for overlays
- Compute (x, y) from linear ID:
x = id % width, y = id // width
Hierarchical Data
- Parent table with primary key
- Child tables with foreign key reference
- Use LEFT JOIN to preserve all parents
Enum/Lookup Tables
- Type tables map codes to descriptions
- Join to get human-readable values
Debugging Tips
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtasks/civ6-adjacency-optimizer/environment/skills/sqlite-map-parser/SKILL.md
Popularity
- Repository stars
- 1,474
- Repository forks
- 325
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/benchflow-ai/skillsbench/sqlite-map-parser)