Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

New edit_hook tool/dialog for adding, replacing and removing hooks

New internal edit_hook system lets settings be edited to add, replace, or remove hooks

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaHookswhat it touches
KindInternal Changesin v2.1.269,
Under the hood No documentation found

New internal edit_hook system lets settings be edited to add, replace, or remove hooks

What

Claude Code has gained a full internal editor for hook configuration (hooks are commands Claude Code can run automatically at certain points, such as before or after a tool call). It can add, replace, or remove a hook entry; validates the operation against the event, matcher, and source (user, project, or local settings file) it targets; checks whether managed settings policy blocks the edit; and writes the change back to the right settings file. It also assembles a summary of configured hooks, including which are disabled and which are editable, and accounts for "safe mode" and "bare mode" states.

Why

This lays the groundwork for a hooks management interface, so hooks could eventually be added, changed, or removed without hand-editing settings files directly.

Read from
Names in the bundleedit_hook
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether a user-facing UI or command already exposes this editor, or it is purely internal plumbing so far, isn't shown by the evidence.

See this entry in the whole of v2.1.269 →

Feedback