Skip to content

feat(claude-code): drop the superpowers plugin - #293

Open
gatezh wants to merge 7 commits into
claude-code/no-claudeai-connectorsfrom
claude-code/drop-superpowers
Open

gatezh wants to merge 7 commits into
claude-code/no-claudeai-connectorsfrom
claude-code/drop-superpowers

Conversation

@gatezh

@gatezh gatezh commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

What

Drops the superpowers plugin from the plugin set, and blocks it image-wide through managed settings. Closes #292.

Why

The plugin's session-start hook injects its using-superpowers skill into every session as EXTREMELY_IMPORTANT: "if there's a 1% chance a skill applies, you MUST invoke it". Anthropic's context-engineering guidance for Claude 5 generation models says to remove rigid rules like that. The block also costs about 2k tokens per session: ~850 for the 15 skill entries, plus ~1.1k for the injected SKILL.md, and it comes back after clear or compact. The bundled code-review, code-simplifier and dev plugins already cover its process skills.

Removing the plugin from PLUGINS alone doesn't reach existing containers. ~/.claude is a persistent volume, and init-plugins.sh is a template that each project copies. Existing copies would keep installing the plugin.

Changes

  • claude-code/.devcontainer/managed-settings.json: "superpowers@claude-plugins-official": false under enabledPlugins. A managed false blocks a plugin from installation at every scope (docs). Every claude-code container, default and sandbox, stops loading the plugin once it runs the new image, whatever the project's copy of the script says.
  • claude-code/verify-image.sh: asserts the new key.
  • claude-code/.devcontainer/init-plugins.sh: removed from PLUGINS.
  • claude-code/README.md: removed the bundled-plugins table row. Added a "Why not superpowers" note that covers the reason, the stale-copy warning, and how to opt back in for one project.
  • .devcontainer/init-plugins.sh (this repo's own devcontainer, which has no managed settings): removed from PLUGINS. Added a transitional block that uninstalls the copy earlier runs left on the volume. Delete the block after 2027-02-28.

Notes

Its session-start block ("if there's a 1% chance a skill applies, you MUST
invoke it") overconstrains current models and costs context in every
session. Removed from both PLUGINS arrays and the bundled-plugins table, and
listed under retired plugins so existing ~/.claude volumes disable it too.

Closes #292
The template's DISABLED_PLUGINS entry only reached projects that re-copy
init-plugins.sh; an existing copy kept installing superpowers. A managed
`enabledPlugins: false` reaches every claude-code container on its next
image pull, whatever the project's script says.

- managed-settings.json: superpowers@claude-plugins-official = false
- verify-image.sh: assert it
- init-plugins.sh: restore master's "Conflicting plugins" block
- README: why, the stale-copy symptom, and the per-project opt-in drop-in

Probed on Claude Code 2.1.332: with the policy, a user-scope install no
longer registers its hook; `update` reports it blocked by policy; a
managed-settings.d drop-in set to true loads it again.
This repo's devcontainer has no managed settings, so dropping the PLUGINS
line left the plugin installed, enabled and frozen on the persistent
~/.claude volume. Transitional block, like the rtk one beside it.
Moves the verify assertion above the dev@gatezh line and the README note
above the typescript-lsp one, where no other open PR inserts. Also names
the install-time warning a stale template copy prints on a fresh volume.
@gatezh
gatezh changed the base branch from master to claude-code/no-claudeai-connectors November 27, 2026 20:22
@gatezh
gatezh added this pull request to stack #321 November 27, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

claude-code template: drop the superpowers plugin (session-start block overconstrains Claude 5 models)

1 participant