crawl-data

crawl-data is a skill for Claude Code, Codex from ea-toolkit/architecture-catalog. It costs 52 tokens per session (1,620 once invoked), scanned A, original, MIT.

A codebase scanner that finds data model definitions such as SQL tables, ORM models, TypeScript interfaces, and Pydantic models, then proposes catalog entries.

In plain words
What is it for?
Use it to scan a directory, assign findings to a domain, review proposed entries, and optionally write approved entries to the architecture registry.
Why use it?
It helps turn existing code into documented data concepts, aggregates, and entities without requiring you to search every schema or model file by hand.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ea-toolkit/architecture-catalog/crawl-data
Any agent
npx skills add ea-toolkit/architecture-catalog --skill crawl-data
Clone the repo
git clone --depth 1 https://github.com/ea-toolkit/architecture-catalog

Made for: Claude Code, Codex.

Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00052 $0.01620
Opus 5 $0.00026 $0.00810
Sonnet 5 $0.00010 $0.00324
Haiku 4.5 $0.00005 $0.00162

Measured 3d ago against content hash 7f8c542f9f54, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

crawl-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/crawl-data/SKILL.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Crawl Data — Discover and Register Data Models

Scan a codebase directory for data model definitions and propose registry entries.

Arguments

  • $1 — Path to scan (required). Absolute or relative path to the codebase to crawl.
  • --domain <name> — Domain to assign discovered models to (optional, will ask if omitted).
  • --write — Write proposed entries to registry immediately (default: preview only).

If no path is provided, ask the user which directory to scan.

Workflow

1. Discover Type-to-Folder Mapping

Read models/registry-mapping.yaml to find:

  • The folder path for data_concept entries
  • The folder path for data_aggregate entries
  • The folder path for data_entity entries
  • The _template.md in each folder for frontmatter structure

Never hardcode paths. Always derive from the YAML.

2. Scan for Data Model Definitions

Search the target directory for data model files. Use these detection patterns:

SQL Schema files:

  • Glob: **/*.sql, **/migrations/**/*.sql, **/schema/**/*.sql
  • Content match: CREATE TABLE, ALTER TABLE
  • Extract: table name, column names/types, constraints, foreign keys

Prisma models:

  • Glob: **/schema.prisma, **/*.prisma
  • Content match: model <Name> {
  • Extract: model name, fields with types, relations (@relation)

TypeORM / Sequelize / Drizzle (TypeScript ORMs):

  • Grep for: @Entity(), @Table, Model.init, pgTable(, mysqlTable(
  • Look in: **/models/**, **/entities/**, **/schema/**
  • Extract: class/table name, decorated columns, relations

Pydantic / dataclass models (Python):

  • Grep for: class.*BaseModel, @dataclass, class.*Model.*models.Model (Django)
  • Look in: **/models/**, **/schemas/**, **/domain/**
  • Extract: class name, field names/types, validators

TypeScript interfaces / types:

  • Grep for: export interface, export type.*=.*{
  • Look in: **/types/**, **/interfaces/**, **/models/**
  • Extract: interface/type name, property names/types

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 177 lines · 52 tokens per session scan A 7f8c542f9f54

Subscribe to this mod's changes

crawl-data is a skill published in the GitHub repository ea-toolkit/architecture-catalog (38 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 1,620 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chrome-ext-storage

This skill should be used when working with data storage in Chrome extensions or when the user asks about extension storage patterns. Trigger when: "chrome.storage", "extension storage", "storage.local", "storage.sync", "storage.session", "IndexedDB in extension", "extension data persistence", "write-through cache"…

RadOrigin-LLC/RAD-Claude-Skills · 106 tokens

angora-schema

Design or evolve SQLite schema (src/data/schema/tables/.ts) using Drizzle ORM — new tables, relational modeling, junction tables for many-to-many, foreign keys, CHECK constraints, SEO fields (slug, metatitle, metadescription), draft/published status columns, and media references. Trigger whenever the user wants to…

Aysnc-Labs/angora · 161 tokens

angora-data

Quick operations on src/data/data.sqlite — inspect the current schema, add a single column to an existing table via Drizzle migration, seed 2-5 test rows, or run a read-only SELECT/COUNT query. Trigger whenever the user wants a small, single-step database operation. Phrases like 'add a company column to testimonials'…

Aysnc-Labs/angora · 145 tokens

angora-import

Bulk-import structured data (CSV or JSON) from inbox/ into existing database tables — maps fields to columns, validates against the Drizzle schema, inserts within a transaction. Trigger whenever the user wants to load, import, pull, or ingest a data file from inbox into an existing table. Phrases like 'import…

Aysnc-Labs/angora · 142 tokens

supabase-setup

Conventions for the supabase/ directory — migrations, Edge Functions, env vars, and the rule against pushing without explicit user ask.

planailabs/ui.plan.ai · 34 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens