mtarcure/claude-vibe-squad/compact-now
Claude Code and agent skill by mtarcure/claude-vibe-squad
- community
Checking that the SKILL.md file is still in the repository.
Operator-triggered proactive compaction — Chrono externalizes load-bearing state (active decisions, open tasks, next action) to a snapshot + a durable Vault learning note before invoking Claude Code's native /compact, then resumes from the snapshot. Use when the operator says "/compact-now" / "compact now" or when Chrono has flagged context pressure against shared/lifecycle.md rule 8.
Install
npx vskill@latest install mtarcure/claude-vibe-squad/compact-nowSKILL.md
/compact-now
Chrono-side proactive compaction. The operator triggers via slash phrase. Chrono:
- Reads the live board partition via
chrono_state.registry.registry_view()and confirms no
live work is in flight. Whether context pressure warrants compacting is Chrono's judgment against shared/lifecycle.md § 8. The context tripwire hook (bin/context-tripwire.sh) already reports the measured token count on every prompt once it passes 400k, so a WARN/HARD line in the current turn is the direct signal; below that, pressure is inferred from the § 9 proxy signals.
- If blockers exist (live dispatches), surfaces them to the operator and asks whether to proceed
anyway — likewise for any unclassified registry status, which the partition cannot vouch for.
- Externalizes load-bearing state to the Vault via the current
record("learning", {...})writer — captures active decisions (authority), open tasks, pending approvals, and the next action. - Snapshots the same state to
_state/chrono/compaction/<session>.jsonviachrono_state.compaction.snapshot(). - Invokes Claude Code's native
/compact. - After compact, reads the snapshot via
chrono_state.compaction.recover()and re-anchors on the next operator turn — never bulk-re-reading conversation history.
When to invoke
- Operator types
/compact-now(explicit) - Operator types
compact now/please compact/let's compactin prose (intent-recognition) - After Chrono has flagged context pressure against
shared/lifecycle.md§ 8 and the operator nudges affirmatively
When NOT to invoke
- Live dispatches running (
registry_view()["live"]non-empty) — surface blockers first - Mid-task (Chrono still processing) — wait for a task boundary
- Below the
shared/lifecycle.md§ 8 threshold — no benefit, just cost
Implementation
Chrono runs this skill inline (not a subagent dispatch), operator-triggered. It uses the chrono_state helpers (in scripts/python/chrono_state/) and Chrono's existing chrono-vault MCP access. A PreCompact hook is OPTIONAL and only fires if .claude/settings.json declares one — do not depend on it; externalize eagerly here.
Cross-references
- Snapshot helpers:
scripts/python/chrono_state/compaction.py(snapshot,recover). The
threshold policy is prose, not code: shared/lifecycle.md § 8.
- Decision authority (separate from Vault):
scripts/python/chrono_state/decisions.py - Live board partition:
scripts/python/chrono_state/registry.py(registry_view— live /
deferred / unclassified; LIVE_STATUSES is the only status vocabulary. The dead bounded-file helper load_active() was removed; registry_view() is the correct API for this blocker gate.)
- Resume capsule generator:
scripts/python/chrono_state/resume.py - Vault writer API:
record(note_type, fields)— seeplugins/chrono-vault/README.md - Resume canary (acceptance proof):
scripts/python/tests/test_resume_canary.py - PreCompact hook: OPTIONAL; only if
.claude/settings.jsondeclares one
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/chrono-vault/skills/compact-now/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mtarcure/claude-vibe-squad/compact-now)