claude-code - 💡(How to fix) Fix [Bug] Skill call used hook not triggered for command execution [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47736Fetched 2026-04-15 06:43:42
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1
RAW_BUFFERClick to expand / collapse

Bug Description Currently running a command (i.e., /my-skill-name) doesn't trigger a skill call used hook. When trying to make integrations that rely on skills being used (such as reporting skill use metrics in my case) this inconsistency makes it so we miss a fairly large swath of skill usage. The current implementation feels very inconsistent since the skill is being used when the /command is used but it's not triggering the hook.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.97
  • Feedback ID: 8e7a0b0b-e5a6-4a78-ac0e-0edac55884fa

extent analysis

TL;DR

The issue may be resolved by modifying the command execution to trigger the skill call used hook, potentially through changes in the integration or hook configuration.

Guidance

  • Review the current implementation of the skill call used hook to understand the conditions under which it is triggered, and compare this to the execution of the /my-skill-name command.
  • Investigate if there are any specific settings or configurations in the version 2.1.97 of the platform that could be influencing the hook's behavior, especially considering the darwin platform and ghostty terminal.
  • Consider testing the command execution and hook triggering in a different environment or version to isolate if the issue is specific to the current setup.
  • Examine the documentation or support resources for the platform to see if there are known issues or workarounds related to skill usage metrics and hook triggering.

Notes

The provided information does not specify the exact technical details of the hook or the command execution, which limits the ability to provide a precise fix. Further investigation into the platform's documentation and the specific configurations of the environment in question is necessary.

Recommendation

Apply workaround: Given the inconsistency in the current implementation and the lack of information on a fixed version that addresses this issue, applying a workaround such as manually triggering the skill call used hook when the /my-skill-name command is executed might be the most feasible approach.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Skill call used hook not triggered for command execution [1 comments, 2 participants]