[BUG] `matcher: "Skill"` no longer works for hooks

Resolved 💬 5 comments Opened Apr 13, 2026 by olib963 Closed May 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude used to support matching on skill load as part of PreToolUse hooks (was working as of 2.1.59). However this seems to have been removed from documentation as well as no longer firing. There appears to be no replacement

What Should Happen?

Skill loading should fire tool use hooks. Or at least there should be a replacement to this breaking change

Error Messages/Logs

Steps to Reproduce

Create a hook

"PostToolUse": [
      {
        "matcher": "Skill",
        "hooks": [
          {
            "type": "command",
            "command": "touch /tmp/loaded",
          }
        ]
      }
    ]

Load any skill in claude and notice that nothing happens.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.59

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗