Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Source Command Latch Tree?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/open-latch-source-command-latch-tree-latch)
---
name: source-command-latch-tree
description: Rebuild the latch hierarchical cluster and summary tree. Use when the user invokes latch-tree or /latch-tree in Cursor.
---
# Latch tree for Cursor
Latch operation id: latch-tree run
Before any Shell call, read the workspace `.cursor/mcp.json` and use
`mcpServers.latch.env.LATCH_PYTHON` when present, otherwise
`mcpServers.latch.command`, as `<CURSOR_MCP_PYTHON>` and `LATCH_PYTHON`. Never fall back to a
PATH `python3`; the MCP interpreter owns latch's native dependencies.
Use `latch_home` only to construct the absolute script path. Do not export
`LATCH_HOME` or `CLAUDE_KB_HOME` in the Shell call; managed Cursor operation
receipts do not allow those environment assignments.
Latch Cursor skill boundary: resolve `latch_home` as `${CURSOR_PLUGIN_ROOT}`
when set, otherwise use the absolute checkout in the project-sync footer.
Select native `cursor` for plugin installs or the backend in that footer. Run
`<CURSOR_MCP_PYTHON> "$latch_home/src/latch/pipeline/maintenance.py" tree "$PWD"` with
`LATCH_PYTHON` set to that same absolute interpreter and
`LATCH_MAINTENANCE_BACKEND` and `LATCH_MODEL_BACKEND` set. Report linkage,
leaves, landmarks, clusters, summary counts, singletons, skipped oversize
clusters, budget blocking, LLM failures, and stale prior summaries.