CommunityCoding & Developmentgithub.com

SkillTree

A hierarchical routing tree generator for AI coding agents (Claude Code, Codex CLI, etc.). Splits/aggregates monolithic skills into a ROOT → ROUTER → SKILL structure, enabling on-demand loading based on user intent to avoid context saturation.

What is SkillTree?

SkillTree is a zero-dependency, pure Markdown + Bash skill management tool designed for AI coding agents like Claude Code and Codex CLI. It addresses the problem of monolithic skill bloat by transforming skills into a structured routing tree: ROOT → ROUTER → SKILL. This allows agents to load only the relevant sub-skills based on the user's current task, preventing context overflow. The tool supports three modes: splitting a single monolithic skill into a tree, aggregating multiple skills (with built-in ambiguity resolution), and incremental expansion. It works seamlessly with both `.claude/skills` and `.agent/skills` directory conventions, ensuring compatibility across different agent platforms. By organizing skills hierarchically, SkillTree improves agent efficiency, reduces token waste, and makes skill sets easier to maintain and extend.

Works with✓Claude Code✓Codex CLI~Cursor
npx skills add maipianworni/SkillTree

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does SkillTree do?

A hierarchical routing tree generator for AI coding agents (Claude Code, Codex CLI, etc.). Splits/aggregates monolithic skills into a ROOT → ROUTER → SKILL tree structure, allowing agents to load sub-capabilities on-demand based on user intent, preventing context saturation. Supports three modes: single skill tree splitting, multi-skill aggregation (with ambiguity resolution), and incremental expansion. Compatible with both .claude/skills and .agent/skills directory conventions. Pure Markdown + Bash, zero dependencies.

Related Skills