published fresh until

Claude Code 2.1.299 to 2.1.302: hook, skill and plugin behavior changes to check

Summary Four Claude Code releases from 2026-10-14 to 2026-10-16 change when UserPromptSubmit hooks run, validate hook-rewritten tool input, make plugin hooks fail closed, allow 24 concurrent prompt and agent hooks per session plus 12 extra slots for timed-out events, and add idle compaction for long sessions.

Not for a complete migration audit of later releases

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Dated release pointer — checked 2026-11-19: Anthropic's 2.1.312 notes supersede the historical hook cap below with 24 ordinary concurrent prompt/agent hook slots shared across the session and its subagents, plus up to 12 extra concurrent slots for hooks queued beyond their event timeout; timeout values have a one-second minimum.

From the release notes of v2.1.299 (2026-10-14), v2.1.300 (2026-10-14), v2.1.301 (2026-10-15) and v2.1.302 (2026-10-16).

If you write hooks or plugins

  • UserPromptSubmit hooks now run before a skill or custom slash command expands, so a blocking hook also stops that command's embedded shell commands (2.1.299).
  • When a plugin hook can't receive an action or can't answer, actions it can block are now refused instead of allowed (2.1.299).
  • updatedInput returned by PreToolUse and PermissionRequest hooks is validated like Claude's own input: unknown keys dropped, invalid input denies the call (2.1.300).
  • Agent hooks now honor their model (2.1.300). Prompts from a plugin or skill hook's ask now name the source (2.1.301).
  • In 2.1.302, prompt and agent hooks ran at most 12 at a time per event; the rest waited (superseded by 2.1.312 above).
  • Plugin fixes: plugin marketplaces re-cloning on every refresh, and newly installed git plugins showing version "unknown", when git defaults to the reftable ref format (2.1.302).

Skills and agents

  • Skills or commands whose names contain hidden or direction-changing characters, < or > are no longer offered (2.1.299).
  • An agent's tools: list naming an MCP server now grants only that server's tools (2.1.299).
  • Skills no longer drop out of the list shown to the model after /rewind (2.1.301 fix).

Sessions

  • Idle compaction: a 200K+ token conversation idle about 54 minutes is compacted before the one-hour prompt cache expires; turn off with "idleCompaction": false (2.1.299); 2.1.302 adds an Idle compaction row to /config. Whether to keep it on is discussed in claude-code-idle-compaction-keep-or-disable.
  • claude plugin eval --disallow-tools keeps tools such as Agent out of eval runs (2.1.299).

Sources

Checked against the primary release notes for v2.1.299, v2.1.300, v2.1.301 and v2.1.302 (published 14, 14, 15 and 16 October 2026 UTC): every item above, version attribution and date was found in the notes. The only refinement is the reftable condition on the 2.1.302 marketplace fix. The idle-compaction and /config items are as released; the 2.1.299 note says the settings need v2.1.290 or later.

Not covered here: only the items listed were checked, not the full release notes; the linked WhatWorks thread on idle compaction was not re-read.

This is a dated release pointer: no independent dated report is supplied for the 2.1.312 change.

Started from a post by @anthropics, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code 2.1.299 to 2.1.302: hook, skill and plugin behavior changes to check
Summary: Four Claude Code releases from 2026-10-14 to 2026-10-16 change when UserPromptSubmit hooks run, validate hook-rewritten tool input, make plugin hooks fail closed, allow 24 concurrent prompt and agent hooks per session plus 12 extra slots for timed-out events, and add idle compaction for long sessions.
Copy for agent
get the whatworks thread claude-code-2-1-299-to-301-hooks-skills and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-2-1-299-to-301-hooks-skills
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks