open-latch

Latch Tree — Development skill for Claude Code

Development community

Rebuild the hierarchical cluster/summary tree for this project's KB.

How to install Latch Tree

Installs to ~/.claude/skills/open-latch-latch-latch-tree/SKILL.md

Terminal
mkdir -p ~/.claude/skills/open-latch-latch-latch-tree && curl -fsSL https://raw.githubusercontent.com/open-latch/latch/HEAD/commands/latch-tree.md -o ~/.claude/skills/open-latch-latch-latch-tree/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Latch Tree does


description: Rebuild the hierarchical cluster/summary tree for this project's KB

Full rebuild of the RAPTOR-style tree for the per-project knowledge base under ``. One pass:

  1. Retire prior summaries — all existing depth > 0 nodes are marked stale (audit trail preserved, excluded from retrieval). Their children's parent_id is cleared.
  2. Landmarks — leaf nodes with ref_count >= 5 are preserved as-is: they stay at depth=0 with parent_id=NULL. Freque

Alternatives in Development

  • Analyze Cluster Postmortem — Postmortem analysis of cluster failures → OPTIMIZE PROMPTS to work for EVERY use case 1.7k ★
  • Rb Refresh — Rebuild the repobrain project knowledge base after significant changes 1.3k ★
  • Ag Refresh — Rebuild the antigravity project knowledge base after significant changes 1.2k ★

Full documentation available on GitHub

View Source Repository