[DOCS] Bundled update-config skill contradicts the documentation and its own schema (Claude Code 2.1.332)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json, typescript
- Domain
- documentation
Research direction
Find the bundled update-config skill text and compare it with schema/hooks.json, schema/permissions.json, the Hooks reference, and the Hooks guide. Update the listed hook events, types, matchers, menu behavior, examples, permission modes, and plugin sources to match those references, and note that the examples require jq. Done when the skill no longer contradicts the schemas or documentation on these points.
Written by the indexing model from the issue text.
Description
Documentation Type
Incorrect/outdated documentation
Documentation Location
Bundled skill update-config (the text loaded when the skill is invoked)
Section/Topic
Bundled skill update-config, Claude Code 2.1.332
What's Wrong or Missing?
Claude Code 2.1.332, Windows 11. The skill text was compared with the schema files it ships and with the Hooks reference and Hooks guide pages, read on 2026-11-27.
- The text presents 10 hook events and 3 hook types;
schema/hooks.jsonlists 34 and 5 (command,prompt,agent,http,mcp_tool). - It restricts
promptandagenthooks toPreToolUse,PostToolUseandPermissionRequest. The documentation also allows them onStop,SubagentStopandUserPromptSubmit, among others, and saysPermissionRequestdoes not accept theagenttype. - Its table gives
SessionStartno matcher (documentation:startup,resume,clear,compact,fork). It saysStopalso runs on clear, resume and compact; the documentation does not mention that. - It points to the
/hooksmenu to edit or disable a hook and to reload the configuration. The documentation describes that menu as read-only, with file changes normally picked up automatically. - One example (
prettier --write $FILE) reads a variable the documentation does not mention; a hook receives its input as JSON on stdin, which the skill itself says further down. permissions.defaultMode: the text omitsautoandbypassPermissions, both present inschema/permissions.json.enabledPlugins: the text limits the source toclaude-code-marketplace,claude-plugins-officialorbuiltin, while a marketplace added throughextraKnownMarketplacesworks too.
Side note: three of the four common hook examples assume jq. Without it, the formatting example, which ends with 2>/dev/null || true, exits with code 0 without formatting anything.
Suggested Improvement
Bring the skill text in line with the schema it ships and with the current documentation on the seven errors above, and say that its examples need jq, a program that reads JSON.
Impact
Medium - Makes feature difficult to understand
- Dominant language
- TypeScript
- Stars
- 157k
- Forks
- 25.1k
- Avg merge
- 20h 25m
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:docs area:plugins bug documentation low-priority platform:windows
Difficulty 1/5 Under an hour Newbie friendliness 84/100
anthropics/claude-code#112676 ·
-
[DOCS] Private Azure DevOps plugin marketplaces work in the Claude desktop app – please documentOpenarea:docs area:plugins documentation enhancement platform:windows
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
anthropics/claude-code#112663 ·
-
area:agents bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#112605 ·
-
area:agents area:cli area:docs documentation question
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
anthropics/claude-code#112495 ·
-
area:docs documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#112494 · 1 comment ·
All issues in anthropics/claude-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
knaw-huc/textannoviz#742 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
cloudflare/realtimekit-ui#219 ·
Maintainers usually reply within 1 day
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaksPossibly taken @argszero claimed this today. Openarea/tui platform/wsl status/repro-simulated type/bug version/v2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
anomalyco/opencode#66773 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
mermaid-js/mermaid-v13#1370 ·
Maintainers usually reply within 1 day