validate-taxonomy

validate-taxonomy is a skill for Claude Code from danielrosehill/Claude-Taxonomy-Creation-Plugin. It costs 35 tokens per session (502 once invoked), scanned A, original, MIT.

A checker for taxonomy files, which are lists of codes and labels arranged for consistent use. It examines CSV or JSON files before they are loaded into a database.

In plain words
What is it for?
Use it to validate a taxonomy file and report problems such as duplicate codes, missing fields, invalid lengths, broken references, or cycles.
Why use it?
It catches duplicate codes, missing required values, inconsistent formats, broken parent links, and circular hierarchies before they cause database errors.

Skill for Claude Code

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

Part of the taxonomy-creation plugin — 9 skills shipped together

Good fit Use it to validate a taxonomy file and report problems such as duplicate codes, missing fields, invalid lengths, broken references, or cycles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy
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 danielrosehill/Claude-Taxonomy-Creation-Plugin --skill validate-taxonomy
Clone the repo
git clone --depth 1 https://github.com/danielrosehill/Claude-Taxonomy-Creation-Plugin

Made for: Claude Code.

Or install taxonomy-creation, the plugin that ships this one along with the rest of its 9 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 validate-taxonomy

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy/github.svg)](https://agentmods.dev/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy)
Your own site
<a href="https://agentmods.dev/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy/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 validate-taxonomy

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-taxonomy-creation-plugin/validate-taxonomy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.00035 $0.00502
Opus 5.5 $0.00014 $0.00201
Sonnet 5.5 $0.00007 $0.00100
Haiku 4.5 $0.00003 $0.00050

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

Security

Grade A, and why

validate-taxonomy 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.

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.

skills/validate-taxonomy/SKILL.md · 48 lines

What it actually says

Validate Taxonomy

Inspect a taxonomy file for common issues before database load. Run validation checks and report findings.

When to use

  • "Validate this CSV before I load it"
  • "Check the taxonomy for errors"
  • "Does this have any duplicate codes or missing values?"

Inputs to gather

  • Taxonomy file path: CSV or JSON.
  • Expected columns: Primary key column (usually code), required fields.
  • Hierarchical? If yes, which column is parent_code?

Procedure

  1. Read the taxonomy file (CSV or JSON).
  2. Run validation checks:
    • Primary key uniqueness: All codes are unique; no nulls in the PK column.
    • Required-field completeness: No nulls in required columns (name, label, description).
    • Code format consistency: Infer dominant pattern (snake_case, UPPERCASE, alphanumeric-only, etc.); warn on outliers.
    • Code length budgets: codes ≤ 32 chars, labels ≤ 255 chars.
    • Referential integrity (hierarchical only): Every parent_code resolves to a code in the table; no NULL parent_code unless it's a root.
    • Cycle detection (hierarchical only): DFS from each root; flag any backward edges.
    • Duplicate labels: Warn (sometimes legitimate — e.g., multiple codes for the same name); do not error.
  3. Write report to state/validations/<timestamp>-<filename>.txt with:
    • Summary: pass/fail, count of errors/warnings.
    • Per-check: pass/fail, details (row numbers, example values).
    • Exit code 0 if no errors; 1 if errors found.
  4. Print the report to stdout and return the exit code.

Output / side effects

  • Validation report logged to state/validations/<timestamp>-<filename>.txt.
  • Exit code indicates success/failure.

Safety / constraints

  • Non-destructive: Validation does not modify the file.
  • Warnings vs errors: Code format outliers and duplicate labels are warnings; PK uniqueness and referential integrity are errors.
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 First seen · 48 lines · 35 tokens per session scan A 668fa0e3cb06

Subscribe to this mod's changes

validate-taxonomy is a skill published in the GitHub repository danielrosehill/Claude-Taxonomy-Creation-Plugin (3 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 502 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-31.

Related

validate-taxonomy compared with skills from other repositories

validate-taxonomy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
validate-taxonomydanielrosehill/Claude-Taxonomy-Creation-PluginSkill36mo agoMITA35Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code