alansyahmi

Schemap — Data skill for Claude Code

Data community

Make your database understandable to AI coding agents.

How to install Schemap

This entry records only its repository, not the path inside it, so there is no exact command to give. Open alansyahmi/Schemap and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Schemap does

Make your database understandable to AI coding agents. Schemap analyzes schemas, detects issues, maps relationships, and generates compact AI-ready context files for Claude Code, Codex, Cursor, and other AI tools.

Alternatives in Data

  • OpenViking — Self-evolving Context Database for AI Agents 33.3k ★
  • AI Data Extraction — extract all your personal data history from cursor, codex, claude-code, windsurf, and trae 1.3k ★
  • Agentsview — Local-first session intelligence and analytics for coding agents, supporting Claude Code, Codex, and 14 other 824 ★

README

Schemap Logo — AI Database Context Compiler

Stop AI Agents From Guessing Your Database.

The Deterministic AI Database Context Compiler for Claude Code, Cursor, Windsurf, Codex, and Copilot.

PyPI Version Python Versions License: MIT Claude Code Cursor Local First


⚡ The Problem: Why AI Coding Agents Fail at SQL

Modern AI coding agents (Claude Code, Cursor, GitHub Copilot, Codex) struggle with production databases:

  • Raw pg_dump SQL dumps waste 10,000+ tokens of precious context window.
  • Cluttered DDL dumps introduce noisy system metadata and lock definitions.
  • LLMs hallucinate non-existent foreign keys (e.g. guessing orders.customer_id when the column is orders.user_id), creating broken multi-table JOINs.

**Schemap solves this.** Schemap is a high-speed CLI compiler that introspects your database, computes an **AI Readiness Score**, and outputs clean, token-optimized context maps (`schemap_database_context.md`, `CLAUDE.md`, `AGENTS.md`).


📊 Benchmarks: Next-Gen AI Models & Multi-Turn Agent Economics

*Measured using OpenAI `tiktoken` (`cl100k_base` / `o200k_base` across Claude Opus 5, GPT-5.6 Terr