hierarchical-taxonomies

hierarchical-taxonomies is a skill for Claude Code from danielrosehill/Claude-Taxonomy-Creation-Plugin. It costs 32 tokens per session (645 once invoked), scanned A, original, MIT.

A tool for creating parent-and-child taxonomies, such as product categories with subcategories or an organisation chart. It can structure, check, and export the resulting tree.

In plain words
What is it for?
Defining category trees, nested classifications, and organisational hierarchies with specified depth, fields, roots, and storage formats.
Why use it?
It helps turn a flat list into an organised hierarchy and choose a suitable way to store the relationships between items.

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 Defining category trees, nested classifications, and organisational hierarchies with specified depth, fields, roots, and storage formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-taxonomy-creation-plugin/hierarchical-taxonomies
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 hierarchical-taxonomies
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 hierarchical-taxonomies

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-taxonomy-creation-plugin/hierarchical-taxonomies"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-taxonomy-creation-plugin/hierarchical-taxonomies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 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.00032 $0.00645
Opus 5.5 $0.00013 $0.00258
Sonnet 5.5 $0.00006 $0.00129
Haiku 4.5 $0.00003 $0.00064

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

Security

Grade A, and why

hierarchical-taxonomies 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/hierarchical-taxonomies/SKILL.md · 55 lines

How it starts

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

Hierarchical Taxonomies

Generate and structure a parent/child taxonomy tree. Choose storage schema, validate the hierarchy, export in multiple formats.

When to use

  • "Create a product category tree"
  • "I need a nested content classification with subcategories"
  • "Build a Dewey-style organizational hierarchy"
  • "Generate a category / subcategory taxonomy for…"

Inputs to gather

  • Domain: What is this hierarchy for?
  • Depth: How deep? (2–3 levels typical; >5 is rare)
  • Branching factor: Rough average children per node?
  • Root: Is there a single root node or multiple top-level categories?
  • Schema preference: How to store parent/child relationships?

Procedure

  1. Recommend schema: Default to adjacency list (id, parent_id, code, label, description) for most cases (≤10k nodes, simple queries). For deep lookups or range queries, suggest:
    • Materialized path (/electronics/computers/laptops): good for traversal; update-heavy if paths change.
    • Nested set (lft, rgt): efficient range queries; complex to maintain; only if user explicitly asks.
  2. Elicit spec using the pattern from generate-from-spec: domain, scope, depth, fields.
  3. Generate the hierarchy:
    • Build a tree structure with each node having: code (PK, unique), label, description, parent_code (nullable for roots).
    • For small/standard hierarchies: write directly.
    • For large/specialized: suggest web research or external source (e.g., existing open taxonomies).
  4. Validate the tree:
    • Ensure every parent_code resolves to an existing code (no dangling FKs).
    • Detect cycles via depth-first search; fail loudly if found.
    • Check all nodes are reachable from root(s); warn if islands exist.
  5. Output:
    • data/<name>/<name>.csv: Flat adjacency-list format (code, parent_code, label, description).
    • data/<name>/tree.json: Nested JSON tree for human review (each node has children array).
    • data/<name>/<name>-materialized-paths.csv (optional): Add path column for materialized-path schema if user requests.
  6. Show tree.json to user for review before load.

Read the full file on GitHub · 55 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. 2mo ago First seen · 55 lines · 32 tokens per session scan A 35823161db4d

Subscribe to this mod's changes

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

hierarchical-taxonomies compared with skills from other repositories

hierarchical-taxonomies next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hierarchical-taxonomiesdanielrosehill/Claude-Taxonomy-Creation-PluginSkill36mo agoMITA32Claude 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