Skip to content
Development
Hook

Hooks

What skill-compass runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
skill-compass
2291 skill14 commands3 hooks
Install
$ npx -y skills add Evol-ai/SkillCompass --agent claude-code

Ships with skill-compass. Installing the plugin gets these hooks.

What fires, and when

PostToolUse

  • MatchesSkillnode "${CLAUDE_PLUGIN_ROOT:-${baseDir:-.}}/hooks/scripts/skill-usage-tracker.js"
  • MatchesWrite|Editnode "${CLAUDE_PLUGIN_ROOT:-${baseDir:-.}}/hooks/scripts/post-skill-edit.js"node "${CLAUDE_PLUGIN_ROOT:-${baseDir:-.}}/hooks/scripts/eval-gate.js"

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • node "${CLAUDE_PLUGIN_ROOT:-${baseDir:-.}}/hooks/scripts/session-tracker.js" start

SessionEnd

  • node "${CLAUDE_PLUGIN_ROOT:-${baseDir:-.}}/hooks/scripts/session-tracker.js" end
Read hooks/hooks.json
Ships withskill-compass

Evaluate agent skill quality. Find the weakest link. Fix it. Prove it worked.

Get the whole plugin
Stats
229
Stars
9
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
3mo ago
Last commit
4mo ago
Created

Repo: Evol-ai/SkillCompass