Add /compound:configure with persistent user preferences
#103
+32,862
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The compound-engineering plugin ships with 27 agents, 14 skills, and 23 commands. This comprehensiveness is great for covering diverse workflows, but it means ~9,000 tokens of context overhead before a user types anything.
For a Ruby developer, the Python and TypeScript reviewers are wasted context. Someone who doesn't use Figma doesn't need the design sync agents. This "context bloat" reduces the effective context window for actual work.
Solution
Add user-configurable plugin preferences that:
~/.claude/survives marketplace updatesWhat's Added
New files:
hooks/hooks.json- SessionStart hook to trigger auto-rebuildbin/auto-rebuild- Script that detects version changes and applies saved configModified:
_source/commands/configure.md- Rewritten to save config externally and modify plugin in-placecommands/configure.md- Updated copyHow It Works
/compound:configure~/.claude/compound-engineering.config.json~/.claude/compound-engineering.last-build-versionOn future plugin updates:
bin/auto-rebuildUser Impact
For a Ruby-focused developer who disables Python/TS reviewers, Figma tools, and image generation:
Config Format
{ "agents": { "enabled": ["*"], "disabled": ["kieran-python-reviewer", "figma-design-sync"] }, "skills": { "enabled": ["*"], "disabled": ["gemini-imagegen"] } }The
enabled: ["*"]withdisabled: [...]pattern means new components are enabled by default.Testing
/compound:configure-> preferences applied