Skip to content

Instantly share code, notes, and snippets.

@YukiMatsumura
Last active March 14, 2026 13:45
Show Gist options
  • Select an option

  • Save YukiMatsumura/23ac72e8779e2469aa8d16918a803ab5 to your computer and use it in GitHub Desktop.

Select an option

Save YukiMatsumura/23ac72e8779e2469aa8d16918a803ab5 to your computer and use it in GitHub Desktop.
Claude: Plan.md preview in cmux
"hooks": {
"PreToolUse": [
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "cmux markdown open \"$(ls -t ~/.claude/plans/*.md | head -1)\"",
"timeout": 5,
"statusMessage": "Preview plan.md in cmux"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment