Loading...
Loading...
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
npx skill4agent add affaan-m/everything-claude-code strategic-compact/compactsuggest-compact.sh~/.claude/settings.json{
"hooks": {
"PreToolUse": [{
"matcher": "tool == \"Edit\" || tool == \"Write\"",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/strategic-compact/suggest-compact.sh"
}]
}]
}
}COMPACT_THRESHOLD