Last active
January 7, 2026 05:01
-
-
Save laiso/6b229ac7a64ec1b75d2cd309cbb7c63d to your computer and use it in GitHub Desktop.
.claude/settings.local.json: To automatically open plan files in VS Code whenever they are created or updated by the Write tool. Claude Code
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": { | |
| "PreToolUse": [ | |
| { | |
| "matcher": "ExitPlanMode", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "code \"$(ls -t ~/.claude/plans/*.md | head -1)\"", | |
| "timeout": 5 | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment