Repository navigation
Open
Labels
enhancementNew feature or request
Description
Summary
Claude Code ships a built-in plugin, cc-plugin-you-should-know@builtin. It's a side agent that watches longer tasks and surfaces things worth knowing above the prompt box. It's off by default, and the CLI advertises it with a tip: /plugin enable cc-plugin-you-should-know@builtin.
Each downstream project keeps ~/.claude in its own volume, so this has to be turned on by hand in every container. init-plugins.sh already exists to set up plugins once per volume, so enabling the plugin there would cover every project built from the template.
Why init-plugins.sh, and why enable
- Built-in plugins come with the CLI, so
claude plugin installdoesn't apply to them.claude plugin enableis the right verb. It writesenabledPluginsin$CLAUDE_CONFIG_DIR/settings.json, which is the same file the VS Code extension reads. That means extension users get the plugin without going through the/pluginUI. enablecan be run repeatedly: on Claude Code 2.1.309, a second run on an already-enabled plugin exits 0 (✔ Successfully enabled plugin: cc-plugin-you-should-know), which suits a script that is re-run to update plugins.- The plugin's own code lists
terminal,desktop,mobileandvscodeas display surfaces, so it's designed to work in the extension and not just the TUI. - Availability is decided by the CLI (account type, no HIPAA/ZDR/LDR restrictions, a server-side flag). On an account where it isn't available, the
if/elsebelow logs a warning and the script continues.
Suggested change
In claude-code/.devcontainer/init-plugins.sh, after the PLUGINS install loop:
# ── Built-in plugins ────────────────────────────────────────────────────────
# Shipped inside the CLI, so there is nothing to install, only enable (off by default).
BUILTIN_PLUGINS=(
"cc-plugin-you-should-know@builtin"
)
for plugin in "${BUILTIN_PLUGINS[@]}"; do
if claude plugin enable "$plugin" 2>&1; then
echo "✔ Enabled: $plugin"
else
echo "⚠ Failed to enable: $plugin" >&2
fi
doneLeave it out of the claude plugin update loop, because built-ins are versioned with the CLI.
Affected files in this repo
claude-code/.devcontainer/init-plugins.sh(the template, which covers the default and sandbox variants).devcontainer/init-plugins.sh(this repo's own devcontainer, if it should match)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity