# Claude hook matchers for Skill, AskUserQuestion, CronCreate, and Monitor never fire

**URL:** <https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416>\
**Category:** Bug Reports\
**Tags:** hooks, cli\
**Created:** [October 12, 2026, 8:16am UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416 "2026-10-12T08:16:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deruelle](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@deruelle](https://forum.cursor.com/u/deruelle)\
**Post date:** [October 12, 2026, 8:16am UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416/1 "2026-10-12T08:16:06Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

On Cursor CLI `2026.10.10-6b851c2` (lab channel; the prod build `2026.10.01-e373342` has the same hook-rewrite bytes), PreToolUse and PostToolUse matchers are split on `|` and tested with `new RegExp(matcher)` against the hook `tool_name`. The rewrite map matches the published table at [https://cursor.com/docs/reference/third-party-hooks:](https://cursor.com/docs/reference/third-party-hooks:) `Bash` becomes `Shell`, `Edit` and `Write` become `Write`, `Task` stays `Task`, and `Glob` is dropped.

`AskUserQuestion`, `CronCreate`, and `ask_user_question` do not occur in that CLI bundle. `Skill` and `Monitor` are not hook `toolName` values. A Claude `.claude/settings.json` matcher for those tools therefore cannot fire. `Task` is documented as supported, and we have not observed a hook `tool_name` of `Task` on this CLI.

Could you document the `tool_name` values for Skill, AskUserQuestion, CronCreate, and Monitor, or emit those names so an existing Claude matcher can match?

### Steps to Reproduce

1. On Cursor CLI `2026.10.10-6b851c2` (lab channel) and prod build `2026.10.01-e373342`, the hook-rewrite bytes are the same.
2. PreToolUse and PostToolUse matchers are split on `|` and tested with `new RegExp(matcher)` against the hook `tool_name`.
3. The rewrite map matches the published table at [https://cursor.com/docs/reference/third-party-hooks:](https://cursor.com/docs/reference/third-party-hooks:) `Bash` becomes `Shell`, `Edit` and `Write` become `Write`, `Task` stays `Task`, and `Glob` is dropped.
4. `AskUserQuestion`, `CronCreate`, and `ask_user_question` do not occur in that CLI bundle. `Skill` and `Monitor` are not hook `toolName` values.
5. A Claude `.claude/settings.json` matcher for those tools therefore cannot fire.

### Expected Behavior

Could you document the `tool_name` values for Skill, AskUserQuestion, CronCreate, and Monitor, or emit those names so an existing Claude matcher can match?

### Operating System

Linux

### Version Information

CLI:  
CLI Version: 2026.10.10-6b851c2 (lab channel)  
Prod build also measured: 2026.10.01-e373342  
The hook-rewrite bytes are the same on both.

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [October 13, 2026, 9:18am UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416/7 "2026-10-13T09:18:46Z")

</div>

Hey @deruelle, you’re right that only the mapped names get translated, so here’s what to match on the CLI today:

- Task: use `Task|Subagent|mcp_task`. The subagent tool reports a different name depending on the model (for example, `Subagent` on GPT-5.6 Sol). Use `PreToolUse` for it. `PostToolUse` on the subagent call itself doesn’t fire in every setup right now, which is an issue we’re tracking.
- Skill: match `Read` and check that `tool_input.file_path` ends in `SKILL.md`, since skills load by reading that file.
- AskUserQuestion: no hook fires for it right now. This is something we’ve seen before, and you can follow [this thread](https://forum.cursor.com/t/cursor-cli-askquestion-tool-skips-pretooluse-and-posttooluse-hooks/161836) for updates.
- CronCreate / Monitor: the CLI has no equivalent tool, so there’s nothing to match.

---

<div class="post-metadata">

**Author:** ![Adele\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Adele\_Chen](https://forum.cursor.com/u/Adele_Chen)\
**Post date:** [October 13, 2026, 5:31pm UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416/9 "2026-10-13T17:31:12Z")

</div>

Hi! Wanted to note I’ve also been running into these issues. Specifically with matching `PostToolUse` on subagent calls and with running tool hooks on skill usage.

For the `PostToolUse` issue, I’ve been running into problems where a task successfully launches and completes but the hook seems to never catch the event. Would you be able to share what setups this hook currently fires in and if there’s a timeline for when this issue will get fixed?

For skills, ideally I don’t want to launch a hook on every `Read` and would rather either have matcher for tool hooks like Claude’s `Skill` matcher. Another alternative would be to have a matcher on `beforeFileRead` where it matches on file path. I was wondering if there’s any plans to add more matcher types for these hooks?

Thanks!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [October 20, 2026, 9:35am UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416/11 "2026-10-20T09:35:35Z")

</div>

Hey @deruelle,

Quick update on the subagent hooks: `PostToolUse` on the subagent call itself now fires on the CLI (and `postToolUseFailure` fires when a subagent errors), and any `additional_context` your hook returns is passed back to the parent agent. This has been addressed on our side and will be rolled out soon if it hasn’t been already, so there’s nothing to update.

The subagent tool name still depends on the model, so keep using `Task|Subagent|mcp_task` as the matcher for both `PreToolUse` and `PostToolUse`. For skills, the `Read` matcher with a `SKILL.md` path check is still the way to catch them for now.

Could you give it another try and let me know if `PostToolUse` still misses a finished subagent?

cc @Adele_Chen

---

<div class="post-metadata">

**Author:** ![Adele\_Chen](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Adele\_Chen](https://forum.cursor.com/u/Adele_Chen)\
**Post date:** [October 20, 2026, 2:09pm UTC](https://forum.cursor.com/t/claude-hook-matchers-for-skill-askuserquestion-croncreate-and-monitor-never-fire/174416/12 "2026-10-20T14:09:30Z")

</div>

Hi @Colin , just tried `postToolUse` and can confirm it works on my end, thanks!
