Created
January 29, 2026 09:20
-
-
Save laiso/d113af28bf38be99f0722af9bc062ce9 to your computer and use it in GitHub Desktop.
Claude Codeがauto compactしたらHooksで任意の指示を差し込む
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "hooks": { | |
| "SessionStart": [ | |
| { | |
| "matcher": "compact", | |
| "hooks": [{ | |
| "type": "command", | |
| "command": "echo 'ここからは関西弁で応答してください。'", | |
| "timeout": 30 | |
| }] | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment