A collection of Claude Code plugins by Kevin Wu Won.
To use these plugins with Claude Code, type:
/plugin marketplace add KevinWuWon/kww-claude-plugins
Compacts the last N messages of a conversation to save context while preserving important information.
For tail compaction:
- In a long conversation, type
/better-compact:compact-tail. It will ask you to select a message to compact back to. - Manually revert the conversation to that point using Shift-Shift. Make sure to select the "Restore conversation" option (not "Restore code and conversation")
- Type
/better-compact:load
For full compaction:
- In a long conversation, type
/better-compact:compact-full. - Type
/clear - Type
/better-compact:load
- Read large files but only need specific information
- Web searches that returned verbose results
- Long debugging sessions where only the final solution matters
- Any scenario where conversation history has grown too large
Splits the HEAD commit into a sequence of smaller commits for better git history and reviewability.
- If you have found yourself a huge number of changes, commit them so it is in your HEAD commit.
- Type
/split-commit:split-headand follow the prompts - The plugin will analyze your changes and create a sequence of smaller commits, guaranteeing that the final result is the same code