From compact-plus
Save and harden Claude Code recovery state before /compact, or export an explicit emergency handoff when same-session recovery is no longer reliable. MANDATORY TRIGGERS: /compact-plus, compact-plus, compact plus, compaction checkpoint, emergency compact handoff, pre-compact state save. DO NOT TRIGGER: ordinary progress updates, plan creation, or casual context-usage discussion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/compact-plus:compact-plus [recovery notes | handoff][recovery notes | handoff]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Prefer Claude Code's automatic `PreCompact` checkpoint and `SessionStart` restore path. Use this skill to enrich state manually before `/compact`, or to export a handoff only when repeated compaction has made the current session unreliable.
Prefer Claude Code's automatic PreCompact checkpoint and SessionStart restore path. Use this skill to enrich state manually before /compact, or to export a handoff only when repeated compaction has made the current session unreliable.
A checkpoint is recovery evidence. Project documents, rules, plans, Git, issues, pull requests, CI, and artifacts remain authoritative and must be revalidated after recovery.
${CLAUDE_PLUGIN_ROOT}/scripts/get-session-id.sh. Never guess it.${TMPDIR:-/tmp}/claude-compact-state/${SESSION_ID}.md./loop or monitor state, workers, and edited files. Mark unavailable or stale-prone facts Not verified.# Compact Prep State
## Goal and Definition of Done
## Authoritative Documents
## Active Plan
## Current Phase and Tasks
## TaskList Summary
## Session Decisions
## Rejected Hypotheses
## Constraints and Blockers
## Git State
## Pull Request State
## Loop State and Approval Scope
## Worker Topology
## Skills Invoked
## Editing Files
## Failed Attempts
## Next Deterministic Action
## Unverified Items
## Recovery Metadata
printf '%s' "{\"session_id\":\"${SESSION_ID}\",\"trigger\":\"manual\",\"cwd\":\"${PWD}\"}" |
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/checkpoint.py" precompact
/compact can run./loop prompt, cadence, monitor/wakeup facts, and current approval boundary. Do not claim session-scoped monitors or background commands survive resume.Next Deterministic Action one evidence-backed first action.Use handoff only after same-session checkpoint recovery is inadequate because of repeated compaction, contradictory state, or clear context drift. It does not start a new session or re-register /loop.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/checkpoint.py" prepare-handoff --session-id "${SESSION_ID}"
/loop or monitors as needed.Use python3 "${CLAUDE_PLUGIN_ROOT}/scripts/checkpoint.py" latest-handoff only to locate the newest previously exported handoff; never treat newest-by-time as sufficient proof that it belongs to the current task.
npx claudepluginhub kotomiya07/skills --plugin compact-plusGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.