You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.287,
ImprovementsSection of the release
Unclear It is not clear whether PostToolBatch hooks match tools any differently in practice.
What
Hooks are your own commands that Claude Code runs at set moments. The way Claude Code reads a hook's matcher, the pattern that says which tools a hook applies to, has been moved into a shared helper. That helper serves PostToolUse and now also PostToolBatch.
Separately, the remote log of tool calls (requests Claude makes to use a tool) now writes a refused request only once per day instead of every time. When later entries are skipped, the log marks that more were not written.
Why
The log change limits how much the remote tool-call log records.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on React to events with a mod touched a line naming PostToolUse after this was published.Settings hooks are the command, HTTP, prompt, and agent hooks you configure in settings files. Each [settings hook event](https://code.claude.com/docs/en/hooks.md#hook-events), such as `Stop`, `SessionEnd`, or `PostToolUse`, is also an eve…plugins/mods/eventssee the edit
Confirmed sinceAnthropic's documentation has since written up PostToolBatch, on Hooks reference. to filter when this hook runs, such as `"Bash(git *)"` or `"Edit(*.ts)"`. The hook command only runs if the tool call matches the pattern. See the [Bash ma…hookssee the edit
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 doubtIt is not clear whether `PostToolBatch` hooks match tools any differently in practice.
Anthropic's documentation agreesAnthropic's documentation has since written up PostToolUse, on Hooks reference.