open-latch

Latch Compact — Development skill for Claude Code

Development community

Manually trigger a latch compaction for the current session.

How to install Latch Compact

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

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

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

What Latch Compact does


description: Manually trigger a latch compaction for the current session

Run a compaction pass for the current Claude Code session against the per-project knowledge base under ``.

The compaction runs in a separate `claude -p` subprocess that takes its own context — it does NOT consume tokens from this session. We launch it in the background so the main session stays interactive while compaction runs.

This combines/overwrites the prior session_summary node with the latest stat

Alternatives in Development

  • /discover — Run a full discovery loop without manually stitching together skills 2.3k ★
  • Icpg Intent — Manually create or update an iCPG intent (ReasonNode) for a file before implementing 705 ★
  • Run Stack Tests — Skill: Run stack-tests (stacktest-) manually 295 ★

Full documentation available on GitHub

View Source Repository