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.
npx skills add openBitFun/skill_tree --skill skill-tree-generatorgit clone --depth 1 https://github.com/openBitFun/skill_treeWrote 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.
[](https://agentmods.dev/skills/openbitfun/skill_tree/skill-tree-generator)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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:
- Core domains - What major functional areas does the skill cover?
- Sub-domains - Within each core domain, what sub-categories exist?
- Leaf capabilities - What specific tasks/endpoints are at the lowest level?
- Routing criteria - What signals distinguish one path from another?
What ships with it
9 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.
- references/cross_cutting_template.md 3.8 KB
- references/error_handling.md 11 KB
- references/leaf_template.md 6.8 KB
- references/lessons_learned.md 19 KB
- references/overview_template.md 4.5 KB
- references/root_template.md 10 KB
- references/router_template.md 8.5 KB
- references/strict_conformance.md 1.7 KB
- references/validation_template.md 21 KB
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.
- 2mo ago First seen · 538 lines · 104 tokens per session scan A d17e3371b9a9
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.
skill-tree-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skill-tree-generatoropenBitFun/skill_tree | Skill | 67 | 26d ago | MIT | A | 104 | Claude Code |
| imagegenopenai/codex | Skill | 134k | today | Apache-2.0 | A | 113 | Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 2d ago | MIT | A | 200 | Claude Code, Codex |
| playwright-climicrosoft/playwright | Skill | 100k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 394k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 315k | 5d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |