skill-tree

Split large documentation into an _index.md with linked sub-files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/escotilha/claude-public --skill skill-tree
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-tree
Source: https://github.com/escotilha/claude-public/tree/main/skills/_archive/skill-tree
Command: npx skills add https://github.com/escotilha/claude-public --skill skill-tree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large documentation quickly becomes unusable for agents because it overwhelms context limits and forces everyone to read the same bulky material.

Core Features & Use Cases

  • Hierarchical knowledge splitting: Turns a big source (file, URL, or topic) into an index plus topic-focused sub-files.
  • Navigable index first: Produces an _index.md that agents read to decide exactly which sections to open.
  • Context-bloat reduction: Keeps sub-files sized for agent consumption (aiming for 50–200 lines each) so workflows stay efficient.
  • Cross-references and back-links: Links related sections to reduce backtracking and improve task continuity.

Quick Start

Ask the AI to split the Stripe webhooks documentation into a structured index and linked sections so you can read only the parts you need.

Frequently Asked Questions about skill-tree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split large markdown documentation into smaller files for agent context?▼

You can split large markdown documentation by identifying section boundaries within the source file and generating a navigable _index.md alongside 4–12 self-contained sub-files. This reduces context bloat by keeping each sub-file sized between 50–200 lines for efficient agent consumption.

What is the best way to reduce context bloat when indexing oversized API docs?▼

The best way to reduce context bloat in oversized API docs is to create a hierarchical knowledge tree. This produces an actionable _index.md with routing guidance that agents read first, allowing them to open only the specific, topic-focused sub-files they need rather than the entire monolithic document.

How does an index file help manage multi-domain SKILL.md files for different agent workflows?▼

An index file manages multi-domain SKILL.md files by providing cross-references and back-links to related sections. Agents read the _index.md to decide exactly which sections to open, which reduces backtracking and improves task continuity across different agent workflows without overwhelming context limits.

Can I use this approach to split monolithic research outputs into navigable sections?▼

Yes, you can split monolithic research outputs into navigable sections by applying hierarchical knowledge splitting. The process turns a large source into topic-focused sub-files with an actionable index, ensuring the research data is broken down into 4–12 self-contained files sized appropriately for agent context.

Do I need to manually define section boundaries when splitting huge docs into a knowledge tree?▼

No, you do not need to manually define section boundaries when splitting huge docs. The system requires reading the source and automatically identifying section boundaries to generate the navigable index and write the self-contained sub-files, aiming for 50–200 lines per file to optimize agent workflows.