Skip to content
Back to skills

Source Command Latch Tree

ASecurity

Rebuild the latch hierarchical cluster and summary tree. Use when the user invokes latch-tree or /latch-tree in Cursor.

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentspythonshellbackend

Works with

  • cursor
  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add open-latch/latch --skill source-command-latch-tree --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source Command Latch Tree?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source Command Latch Tree
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/open-latch-source-command-latch-tree-latch/badge)](https://www.skillsdirectory.com/skills/open-latch-source-command-latch-tree-latch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.