skill-tree-generator

skill-tree-generator is a skill for Claude Code from openBitFun/skill_tree. It costs 104 tokens per session (8,708 once invoked), scanned A, original, MIT.

A tool for splitting large skills into smaller, hierarchically organized skill trees, or combining related skills under shared routing instructions. Routing means directing a request to the most relevant smaller skill.

In plain words
What is it for?
It is for decomposing one skill, combining multiple skills, removing overlapping capabilities, and adding new leaves to an existing skill tree.
Why use it?
It makes complex collections of instructions easier to navigate, maintain, and extend when they contain several different workflows.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Good fit It is for decomposing one skill, combining multiple skills, removing overlapping capabilities, and adding new leaves to an existing skill tree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openbitfun/skill_tree/skill-tree-generator
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 openBitFun/skill_tree --skill skill-tree-generator
Clone the repo
git clone --depth 1 https://github.com/openBitFun/skill_tree

Made for: Claude Code.

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 skill-tree-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/openbitfun/skill_tree/skill-tree-generator/github.svg)](https://agentmods.dev/skills/openbitfun/skill_tree/skill-tree-generator)
Your own site
<a href="https://agentmods.dev/skills/openbitfun/skill_tree/skill-tree-generator"><img src="https://agentmods.dev/badge/skills/openbitfun/skill_tree/skill-tree-generator/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 skill-tree-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/openbitfun/skill_tree/skill-tree-generator"><img src="https://agentmods.dev/badge/skills/openbitfun/skill_tree/skill-tree-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,708 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 386
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 460
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00104 $0.08708
Opus 5.5 $0.00042 $0.03483
Sonnet 5.5 $0.00021 $0.01742
Haiku 4.5 $0.00010 $0.00871

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

Security

Grade A, and why

skill-tree-generator 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.

skill-tree-generator/SKILL.md · 538 lines

How it starts

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

Skill Tree Generator

Usage

/skill-tree-generator <skill-name-or-skill-path-or-description>
/skill-tree-generator --aggregate skill1,skill2,... [--domain domain-name] [--no-decompose]
/skill-tree-generator --update <tree-path> --add <skill>
输入特征 Mode 描述
单个 skill 路径/描述,无特殊 flag Mode 1 将单体 skill 转为路由树
--aggregate skill1,skill2,... Mode 2 聚合多个 skill 为统一跨域树
--update <tree-path> --add <skill> Mode 3 增量更新已有 tree

可选 flag:

Flag 适用 Mode 作用
--domain <name> Mode 2 声明同域聚合,ROOT.md 按域内能力差异路由
--no-decompose Mode 2 跳过 Step A1 能力拆解,所有源 skill 一律按单叶处理。仅当源 skill 已预先拆到原子粒度时使用

Overview

Transform monolithic skills into modular, hierarchical skill-trees (ROOT.md → ROUTER.md → SKILL.md) with dynamic routing. Use when:

  • A skill has grown too complex and needs modularization
  • Multiple distinct workflows exist within a single skill
  • Multiple related skills need to be unified under one routing tree
  • Cross-domain workflows span multiple skills
  • Overlapping capabilities across skills need deduplication
  • An existing skill-tree needs new skills or capabilities added

Strict Conformance

Before creating or modifying tree output, read and follow references/strict_conformance.md. Do not use substitute workflows, fast versions, heuristic-only splitting, or partial validation. If full conformance is impractical, stop and report the blocker before continuing.


Mode 1: Single Skill Tree Generation

Generate a routing tree for a single skill.

Input: Skill path or description Output: Complete tree structure in {skill-name}-tree/

Example:

/skill-tree-generator web-development

Mode 1 Step 1: Analyze Input Skill

First, analyze the input skill to identify:

  1. Core domains - What major functional areas does the skill cover?
  2. Sub-domains - Within each core domain, what sub-categories exist?
  3. Leaf capabilities - What specific tasks/endpoints are at the lowest level?
  4. Routing criteria - What signals distinguish one path from another?

Read the full file on GitHub · 538 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 · 538 lines · 104 tokens per session scan A d17e3371b9a9

Subscribe to this mod's changes

skill-tree-generator is a skill published in the GitHub repository openBitFun/skill_tree (67 stars, last pushed 26d ago), licensed MIT. It adds 104 tokens to every session and 8,708 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-30.

Related

skill-tree-generator compared with skills from other repositories

skill-tree-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-tree-generatoropenBitFun/skill_treeSkill6726d agoMITA104Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k2d agoMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill315k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code