Records the decision for #266: one switch in providers/claude-code/settings.json, not distributed to consumer repos, with install.sh merging into existing settings. Refs #266 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2.8 KiB
Bundled Claude Code skills are turned off with one user-level switch
Status: accepted (2026-12-03).
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.
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"
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.
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.
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. - Sources: code.claude.com/docs/en/settings-reference,
/skillsand/ship-command-troubleshooting.
Related: ADR-0018, ADR-0019; #266.