Stats
Actions
Tags
From masterplan
Runs a shell script on session start to initialize the plugin environment. Executes bash commands.
1 event · 1 hook
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
mkdir -p "$HOME/.claude/commands"; shim="$HOME/.claude/commands/masterplan.md"; if [ ! -e "$shim" ] || [ -L "$shim" ] || grep -q 'masterplan-shim: v[123]' "$shim" 2>/dev/null || grep -q 'You are the \*\*orchestrator\*\*' "$shim" 2>/dev/null; then [ -L "$shim" ] && unlink "$shim"; { printf '%s\n' '---'; printf '%s\n' 'description: "Brainstorm, plan, execute, resume, doctor, and retrospect long-running work. Use /masterplan:<verb> for dedicated per-verb commands."'; printf '%s\n' 'argument-hint: "[verb] [topic-or-path]"'; printf '%s\n' '---'; printf '%s\n' '<!-- masterplan-shim: v4 -->'; printf '%s\n' ''; printf '%s\n' '/masterplan:masterplan $ARGUMENTS'; } > "$shim"; fi2msnpx claudepluginhub rasatpetabit/masterplan --plugin masterplan