Prepare manual front-only compaction for Claude Code by compacting oldest N% with hard tail replay default. Use only when user explicitly asks for /cc-front-compaction.
Resources
2Install
npx skillscat add choru-k/skills-for-ai/cc-front-compaction Install via the SkillsCat registry.
SKILL.md
Prepare front compaction context pack for the current Claude session:
!$HOME/.share-ai/views/claude/cc-front-compaction/hooks/front-compaction/prepare-front-compaction.sh --session-id ${CLAUDE_SESSION_ID} --cwd "$CLAUDE_PROJECT_DIR" $ARGUMENTS
After preparation:
- Tell the user to run
/compactimmediately. - Explain that hard tail replay is injected on
SessionStart(compact). - If the script prints
Unsupported:or validation error text, do not suggest fallback; surface the failure clearly.