schema-mapper

schema-mapper is a skill for Claude Code, Codex from nimrodfisher/data-analytics-skills. It costs 36 tokens per session (513 once invoked), scanned A, original, MIT.

A tool for understanding database schemas—the tables, fields, and links that organise stored data—and mapping their relationships.

In plain words
What is it for?
Use it to explore schemas, document table relationships, find join paths, and create ERD documentation. An ERD is a diagram of database entities and their relationships.
Why use it?
It helps developers learn unfamiliar databases and avoid incorrect joins or misunderstood table connections.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to explore schemas, document table relationships, find join paths, and create ERD documentation. An ERD is a diagram of database entities and their relationships.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimrodfisher/data-analytics-skills/schema-mapper
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.

Any agent
npx skills add nimrodfisher/data-analytics-skills --skill schema-mapper
Clone the repo
git clone --depth 1 https://github.com/nimrodfisher/data-analytics-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for schema-mapper

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimrodfisher/data-analytics-skills/schema-mapper/github.svg)](https://agentmods.dev/skills/nimrodfisher/data-analytics-skills/schema-mapper)
Your own site
<a href="https://agentmods.dev/skills/nimrodfisher/data-analytics-skills/schema-mapper"><img src="https://agentmods.dev/badge/skills/nimrodfisher/data-analytics-skills/schema-mapper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for schema-mapper

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimrodfisher/data-analytics-skills/schema-mapper"><img src="https://agentmods.dev/badge/skills/nimrodfisher/data-analytics-skills/schema-mapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.00513
Opus 5.5 $0.00014 $0.00205
Sonnet 5.5 $0.00007 $0.00103
Haiku 4.5 $0.00004 $0.00051

Measured 2mo ago against content hash 1ebe8787c965, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

schema-mapper 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/schema_compare.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

02-documentation-knowledge/schema-mapper/SKILL.md · 34 lines

How it starts

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

Schema Mapper

When to use

  • Integrating a new data source and need to map its fields to the existing data model
  • Designing an ETL or dbt transformation and need to document the logic
  • Auditing what happened to a field during a migration
  • Onboarding a new analyst who needs to understand where columns come from
  • Preparing a data catalog entry that requires lineage at the column level

Process

  1. Collect the source schema — list every column name, data type, nullable flag, and a brief description. Pull from INFORMATION_SCHEMA, a data dictionary, or the source API documentation.
  2. Collect the target schema — same structure for the destination table or model. If the target doesn't exist yet, draft it based on the analytical requirements.
  3. Map source columns to target columns — for each target column, identify the source column(s) that feed it. Record direct mappings (rename only) and derived mappings (calculation, type cast, lookup join). Use scripts/schema_compare.py to automate direct-name matches.
  4. Document transformation rules — for each derived mapping, write the exact transformation (e.g., CAST(amount_cents AS FLOAT) / 100.0, COALESCE(first_name, email)).
  5. Flag gaps — identify target columns with no source (need to be created or defaulted) and source columns with no target (dropped or deferred). Record a decision for each.
  6. Produce the mapping document — complete assets/schema_mapping_template.md with the full column inventory and share for review before implementation.

Inputs the skill needs

  • Source schema: table name, column names, data types, and descriptions
  • Target schema: same, or the analytical requirements that define it
  • Any existing transformation logic (SQL, dbt models, Python code)
  • Business rules that govern how values should be transformed or defaulted
  • Stakeholder who can resolve ambiguous fields

Output

  • scripts/schema_compare.py — compares two schemas and finds direct-name matches and type mismatches
  • assets/schema_mapping_template.md — completed column-by-column mapping with transformation rules, gaps, and decisions
  • Optional: transformation SQL or dbt YAML generated from the mapping

Read the full file on GitHub · 34 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · -489 lines · +2 tokens per session 1ebe8787c965
  2. 3mo ago First seen · 523 lines · 34 tokens per session scan A 736a96fb6e5e

Subscribe to this mod's changes

schema-mapper is a skill published in the GitHub repository nimrodfisher/data-analytics-skills (564 stars, last pushed 23d ago), licensed MIT. It adds 36 tokens to every session and 513 once invoked, about $0.0001 per session on Opus 5.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

schema-mapper compared with skills from other repositories

schema-mapper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
schema-mappernimrodfisher/data-analytics-skillsSkill56423d agoMITA36Claude Code, Codex
bigquery-migration-metadata-extractorgoogle/skillsSkill25ktodayApache-2.0A188Claude Code, Codex
bigquery-migration-data-exportergoogle/skillsSkill25ktodayApache-2.0A142Claude Code, Codex
alloydb-basicsgoogle/skillsSkill25ktodayApache-2.0A72Claude Code, Codex
cloud-databases-onboardinggoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
obsidian-baseskepano/obsidian-skillsSkill55k4d agoMITA63Claude Code
spanner-basicsgoogle/skillsSkill25ktodayApache-2.0A47Claude Code, Codex