Refs #286 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
4.3 KiB
Bundled Claude Code skills are turned off with one user-level switch
Status: accepted (2026-12-03), amended 2026-12-06 (#286).
Context
Issue #266. Claude Code ships bundled skills and syncs skills from the claude.ai account, and the
operator wants only this repo's plugin skills. Claude Code 2.1.334 has no allowlist: a skill missing
from skillOverrides is on, and Skill(x) allow rules do not restrict other skills. The operator
wanted a setting that also covers bundled skills added later. A custom /ship is also not loaded
where the built-in one is available.
On Claude Code 2.1.337 the switch does not cover built-in plugins (cc-plugin-*@builtin). Their
skills design, doctor and plugin-authoring still load, and so do their tools (#286).
Decision
Bundled skills are turned off with one switch, not a per-name list. The settings live at user
level in providers/claude-code/settings.json, which scripts/install.sh deploys to
~/.claude/settings.json:
disableBundledSkills: truesyncClaudeAiSkills: falseenv.CLAUDE_CODE_DISABLE_SHIP: "1", the documented fix for the custom/ship.skillOverrides.init: "off"skillOverridesdesign,doctorandplugin-authoring:"off", for the built-in plugin skills.enabledPlugins:cc-plugin-easel@builtinandcc-plugin-plugin-authoring@builtinset tofalse.cc-plugin-privacy,-agents-md,-telemetryand-verbsstay on: they add no skills and their behaviour has not been checked.syncClaudeAiPlugins: false, the plugin counterpart ofsyncClaudeAiSkills.
A per-name skillOverrides blocklist is accepted for built-in plugin skills only, because the
single switch does not reach them. Bundled skills stay under the switch.
Holocron does not distribute these settings to consumer repos. User-level settings already apply to
every repo on the machine, and another machine needs its own install.sh run.
install.sh must merge into an existing ~/.claude/settings.json before these settings are
deployed. Today it copies the file over, which would drop 11 of the operator's 13 top-level keys.
The merge is a separate implementation ticket, not part of this ADR's PR.
Considered options
A skillOverrides blocklist (rejected). It needs a new entry for each unwanted skill that ships.
It is now used for built-in plugin skills (#286), but is still rejected as the general mechanism.
skillOverrides in the committed .claude/settings.json, as #266 proposed (rejected). apm owns
that file and apm audit --ci fails on hand-added keys (AGENTS.md, ADR-0018, ADR-0019). apm 0.39.3
cannot write the key either.
A PreToolUse hook on the Skill tool (rejected). It can refuse a call but cannot hide a skill or resolve a name collision.
Turning off only the three unwanted synced skills in the claude.ai account (rejected). The operator chose to turn off all syncing.
Consequences
simplify,loop,update-configandclaude-apiare lost and cannot be re-enabled one by one (tested).- All synced
anthropic-skills:*are lost, includingpdf,docx,xlsxandsatisfactory-helper. Claude Code moves the synced copies to.trash. - New built-in commands, as opposed to bundled skills, are not covered.
- Each new built-in plugin skill needs its own
skillOverridesentry. - The
cc-plugin-easelchart tool and thecc-plugin-plugin-authoringscan_secretsMCP server are lost.
Evidence
- Tested in headless mode on Claude Code 2.1.334: the effect of
disableBundledSkillson bundled skills, andskillOverrides.init: "off". - Documented, not tested: that the custom
/shiploads in an interactive session withCLAUDE_CODE_DISABLE_SHIP=1. - From the docs only: the
syncClaudeAiSkillsbehaviour. - Tested in headless mode on Claude Code 2.1.337, from the
initevent ofclaude -p … --output-format stream-json --verbose:skillOverridesfordesign,doctorandplugin-authoring, andenabledPluginsfor the two plugins. - From the setting's description in the binary only: the
syncClaudeAiPluginsbehaviour. enabledPluginslives in the user-level file, so ADR-0018's ban on it in the project.claude/settings.jsondoes not apply.- Sources: code.claude.com/docs/en/settings-reference,
/skillsand/ship-command-troubleshooting.
Related: ADR-0018, ADR-0019; #266, #286.