# Unstable Cursor Hooks

**URL:** <https://forum.cursor.com/t/unstable-cursor-hooks/162988>\
**Category:** Bug Reports\
**Tags:** hooks\
**Created:** [June 11, 2026, 5:16am UTC](https://forum.cursor.com/t/unstable-cursor-hooks/162988 "2026-06-11T05:16:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 11, 2026, 6:08am UTC](https://forum.cursor.com/t/unstable-cursor-hooks/162988/5 "2026-06-11T06:08:36Z")

</div>

Hey, thanks for the report. To figure out if this is a bug or expected behavior, I’ll need a bit more detail.

Important note about `subagentStart`: this hook only fires when the agent actually spawns a subagent via the Task tool. Whether a subagent gets spawned at all depends on the model and the session. Built-in auto-subagents decide on their own if they want to delegate. So if “subagentStart didn’t fire”, it can simply mean no subagent was spawned in that session. That’s expected, not a broken hook.

To dig in, could you share:

- Your `.cursor/hooks.json` (or global `~/.cursor/hooks.json`)
- The `~/.cursor/logs/.../cursor.hooks.log` from a session where the hook didn’t run
- What exactly you’re seeing: is the hook not called at all, or is it called with an empty or wrong payload? Also, was a subagent spawned in that session, did you see the Task tool in action?

`preToolUse` can be similar. There are known cases where it isn’t emitted for specific tools, for example built-in web search [Bug: preToolUse / Agent hooks do not emit for built-in Web search in Cursor Agent (works in Claude Code)](https://forum.cursor.com/t/160761), AskQuestion [Cursor CLI AskQuestion tool skips preToolUse and postToolUse hooks](https://forum.cursor.com/t/161836). If your case matches that pattern, tell me which tool it didn’t work for.

With that info, I can either reproduce and report it, or explain what’s going on.

---

_[View the full topic](https://forum.cursor.com/t/unstable-cursor-hooks/162988)._
