[DOCS] Bundled update-config skill contradicts the documentation and its own schema (Claude Code 2.1.332)

Open Beginner friendly
#112,675 0 comments 0 reactions 0 assignees View on GitHub

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

area:docs area:hooks area:skills bug platform:windows
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.

  1. The text presents 10 hook events and 3 hook types; schema/hooks.json lists 34 and 5 (command, prompt, agent, http, mcp_tool).
  2. It restricts prompt and agent hooks to PreToolUse, PostToolUse and PermissionRequest. The documentation also allows them on Stop, SubagentStop and UserPromptSubmit, among others, and says PermissionRequest does not accept the agent type.
  3. Its table gives SessionStart no matcher (documentation: startup, resume, clear, compact, fork). It says Stop also runs on clear, resume and compact; the documentation does not mention that.
  4. It points to the /hooks menu 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.
  5. 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.
  6. permissions.defaultMode: the text omits auto and bypassPermissions, both present in schema/permissions.json.
  7. enabledPlugins: the text limits the source to claude-code-marketplace, claude-plugins-official or builtin, while a marketplace added through extraKnownMarketplaces works 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

Open in Codespaces

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.