Hook on Skill usage

Hello, I would like to get a hook when a skill is used. It tried to use preToolUse (without any matcher), but it is not receiving information about Skill being used.

Hey @MichalAugustyn!

No hook exists today for when a skill gets used.

Anything in particular you’re trying to automate with hooks? Like the adoption of a specific skill, or adoption of skills by users?

We do have an endpoint as part of our Analytics API for tracking Skill Adoption, by the way! It’s been available for a few weeks now but wasn’t documented until today. If that’s what you’re after, it might help—but I’m curious to hear if you have other needs as well!

Thank you for your quick answer! Yes, my primary use-case is telemetry on skill adoption. It would be nice to have this available via preToolUse (as Claude Code does).

1 Like