From claude-dcp
Manually triggers Claude Code session cleanup to deduplicate tool outputs and purge old error inputs via Python script. Useful for context optimization in long conversations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-dcp:dcp-sweepThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manually trigger context optimization for the current session by running:
Manually trigger context optimization for the current session by running:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sweep_report.py
If the --full argument is provided, include it in the command:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sweep_report.py --full
Present the output to the user in a clear format.
npx claudepluginhub exploreborders/claude-dcpAnalyzes context usage and recommends compression strategies for bloated or quota-heavy Claude Code sessions, including /clear + /catchup, archiving, and spawning subagents.
Cleans Claude Context Optimizer tracking data in ~/.claude-context-optimizer/: deletes sessions older than N days, resets all, or shows size and prompts. Uses Bash.
Manages context window and token budget with compaction strategies, MCP audits, subagent delegation, and prompt engineering tips.