Skip to content
DevMeme
6931 of 7435
Claude Code Ships Agent Hooks Feature in Under 20 Minutes From Request
DeveloperExperience DX Post #7595, on Dec 27, 2025 in TG

Claude Code Ships Agent Hooks Feature in Under 20 Minutes From Request

Description

A screenshot of a Twitter/X thread between Daniel (@shafty023), Boris Cherny (@bcherny, verified), and Anas (@projectanas). Daniel requests: 'What would be super clutch is if you could somehow define a stop hook for a single Task tool call like when launching a sub-agent.' Boris Cherny responds: 'Landed! In the next version of Claude Code, you can add hooks frontmatter for your custom agents' and includes a YAML code example showing 'Example Agent Frontmatter with Hooks' with PreToolUse and Stop hooks configuration writing to /tmp/agent-hooks.log. Anas asks '< 20 min turnaround time or was it already in the works?' and Boris confirms 'I built it just now, it's a great feature request.' The code snippet uses red and cyan syntax highlighting on a white background

Comments

4
Anonymous ★ Top Pick Feature request to production in under 20 minutes. Meanwhile, your JIRA ticket from Q2 is still 'In Refinement.'
  1. Anonymous ★ Top Pick

    Feature request to production in under 20 minutes. Meanwhile, your JIRA ticket from Q2 is still 'In Refinement.'

  2. @D13410N3 6mo

    Boris the blade?

  3. @peajack 6mo

    Ane why do they call him Boris-Hren-Popadesh?

  4. @lopqbdol 5mo

    Boris the animal

Use J and K for navigation