What problem does it solve?
This Skill provides immediate orientation for developers by generating an annotated directory tree that injects summaries from per-directory context.md files, helping teams understand project layout quickly.
Core Features & Use Cases
- Annotated tree generation: walks the repository and prints a navigable structure with inline context notes from context.md files.
- Onboarding and session alignment: auto-calls at session start to keep every visit in sync with the repo layout.
- Configurability: respects ignore lists, collapse rules, and depth limits to tailor the view.
Quick Start
Use the context-tree skill to generate a project map for the current repo:
bun .opencode/skill/context-tree/tree.ts --max-depth 3
Optional flags:
--root <path>, --ignore <list>, --collapse <list>, --no-collapse-file, --no-files