Skip to content

Instantly share code, notes, and snippets.

@aguestuser
Created March 5, 2026 20:20
Show Gist options
  • Select an option

  • Save aguestuser/17a7ba6f6472bd0b23b0dc9b3fa8787d to your computer and use it in GitHub Desktop.

Select an option

Save aguestuser/17a7ba6f6472bd0b23b0dc9b3fa8787d to your computer and use it in GitHub Desktop.
Claude Code status line command for tracking active work plans
#!/bin/bash
# Usage: write-workplan.sh <claude-pid> <plan-names...>
# Call as: ~/.claude/write-workplan.sh $PPID plan-name.md
# $PPID is expanded by the calling shell (where it equals the Claude Code PID).
pid="$1"; shift
echo "$*" > "/tmp/claude-workplan-$pid"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment