Skip to content
Security
Hook

Hooks

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

Install
$ npx -y skills add Clear-Sights/Makoto --agent claude-code

Ships with makoto. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • Runs _dispatch_shim.sh.

PostToolUse

  • Runs _dispatch_shim.sh.

Stop

  • Runs _dispatch_shim.sh.

SubagentStop

  • Runs _dispatch_shim.sh.

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.

  • Runs _dispatch_shim.sh.
Read hooks/hooks.json
Ships withmakoto

**An integrity hook for Claude Code that watches the agent's own tool calls and blocks the ones that fake a check.** When Claude says it did something — ran the tests, cited a paper, committed the fix, verified the certificate — makoto holds that word against

Get the whole plugin, auto-invoked
Stats
44
Stars
0
Views
3
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
8d ago
Last commit
1mo ago
Created

Repo: Clear-Sights/Makoto