data-archaeology

data-archaeology is a skill for Claude Code from rpraharaj/forward-deployed-engineer. It costs 111 tokens per session (2,072 once invoked), scanned A, original, MIT.

A process for discovering what a database's data really means from migrations, table definitions, application models, queries, and stored records. It compares the intended schema with how the application actually uses it.

In plain words
What is it for?
Use it before a database or reporting change, when the schema is undocumented, or when column names and stored values do not agree.
Why use it?
Older databases often contain misleading names, unused values, unexpected empty fields, or rules that are not documented. Finding those differences prevents failed migrations and incorrect reports.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fde-data plugin — 3 skills shipped together

Good fit Use it before a database or reporting change, when the schema is undocumented, or when column names and stored values do not agree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rpraharaj/forward-deployed-engineer/data-archaeology
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 rpraharaj/forward-deployed-engineer --skill data-archaeology
Clone the repo
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer

Made for: Claude Code.

Or install fde-data, the plugin that ships this one along with the rest of its 3 skills.

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 data-archaeology

README.md
[![agentmods](https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/data-archaeology/github.svg)](https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/data-archaeology)
Your own site
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/data-archaeology"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/data-archaeology/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 data-archaeology

Your own site · 80×15
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/data-archaeology"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/data-archaeology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,072 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.00111 $0.02072
Opus 5.5 $0.00044 $0.00829
Sonnet 5.5 $0.00022 $0.00414
Haiku 4.5 $0.00011 $0.00207

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

Security

Grade A, and why

data-archaeology 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 1mo 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.

fde-data/skills/data-archaeology/SKILL.md · 167 lines

How it starts

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

Data archaeology

Working out what the data actually means.

Why this exists

In a system of any age the schema is an unreliable narrator. Columns are nullable that are never null, and non-nullable columns hold empty strings meaning "unknown." Enums contain values the code stopped writing four years ago. A column named status holds three different vocabularies depending on when the row was created. Foreign keys are declared in some places and merely implied in others.

None of this is in the documentation, because there isn't any. It is discoverable from two sources: the queries the code actually issues, which reveal intended meaning, and the data itself, which reveals what happened.

The gap between them is where migrations fail and reports go quietly wrong.

When this applies

  • Undocumented schema or unclear domain model
  • Before a migration, a reporting change, or a schema change
  • Column names that don't match their contents
  • You need to know what the data looks like, not what the schema permits
  • Before data-pipeline-work or db-change-management

When it doesn't

  • Well-documented schema with a maintained model
  • You need control flow rather than data — that's trace-the-flow
  • You need current row-level values for testing — that's test-data-strategy

Prerequisites

Resolve <workspace> before reading or writing artifacts: use FDE_WORKSPACE if set (report an unavailable explicit path rather than falling back), otherwise the charter's recorded Location (look in .fde/ and ../*-fde/), then an existing .fde/ or ../<repo>-fde/. If none exists, run core fde-orient; do not create a second workspace. All artifact paths below use that location. Follow core workspace conventions for headers; preserve existing sections when appending.

  • <workspace>/02-system-map.md — where data lives
  • Read access to a database, ideally. Where you have none, this skill still works from migrations and code, at reduced confidence — say so.
  • Understand the organization's data policy before running aggregates. Shape queries live in core test-data-strategy step 2 — run those, do not paste a second dialect-specific copy.

Read the full file on GitHub · 167 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. 1mo ago Changed · +1 lines a657389c8499
  2. 3mo ago First seen · 166 lines · 111 tokens per session scan A 02e1186fd0ba

Subscribe to this mod's changes

data-archaeology is a skill published in the GitHub repository rpraharaj/forward-deployed-engineer (21 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 2,072 once invoked, about $0.0004 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-31.

Related

data-archaeology compared with skills from other repositories

data-archaeology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-archaeologyrpraharaj/forward-deployed-engineerSkill211mo agoMITA111Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill32ktodayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.9k2d agoApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex
bex-keyvaluebex-co/bexSkill1.6ktodayApache-2.0A117Claude Code, Codex
pentesting-mysqlxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A65Claude Code, Codex