| name | pan-doctor |
| description | pan doctor [options] — check Overdeck system health, dependencies, and configuration |
| triggers | ["pan doctor","system health","health check","overdeck status","check overdeck"] |
| allowed-tools | ["Bash","Read"] |
System Health Check
Overview
This skill guides you through checking the health of your Overdeck installation, including configuration, dependencies, and running services.
When to Use
- After initial installation
- Troubleshooting agent issues
- Before starting a new work session
- Verifying configuration changes
- Periodic maintenance
Quick Command
pan doctor
Health Check Workflow
1. Run Diagnostics
pan doctor
2. Check Configuration
cat ~/.overdeck.env
3. Check Running Services
curl -s http://localhost:3011/api/health || echo "Dashboard not running"
tmux list-sessions | grep agent
docker ps --format "table {{.Names}}\t{{.Status}}" | grep -E "(traefik|overdeck)"
4. Check Skills
pan skills
ls -la ~/.claude/skills/ | head -20
5. Check Dependencies
node --version
npm --version
tmux -V
docker --version
git --version
Health Checklist
| Component | Check Command | Expected |
|---|
| Config | cat ~/.overdeck.env | File exists with keys |
| Node.js | node --version | v18+ |
| tmux | tmux -V | Any version |
| Docker | docker info | Running |
| Skills | ls ~/.overdeck/skills/ | Skills present |
| Symlinks | ls -la ~/.claude/skills/ | Symlinks to overdeck |
| Linear | pan doctor | API key valid |
Component Status
Dashboard
cd ~/.overdeck/dashboard && npm run dev
curl http://localhost:3011/api/health
open http://localhost:3010
Traefik (if using)
docker ps | grep traefik
curl -k https://traefik.overdeck.localhost:8080/api/overview
Agents
tmux list-sessions -F "#{session_name}" | grep "^agent-"
for session in $(tmux list-sessions -F "#{session_name}" | grep "^agent-"); do
echo "=== $session ==="
tmux capture-pane -t $session -p | tail -5
done
Common Issues
Configuration Missing
pan init
cat > ~/.overdeck.env << 'EOF'
LINEAR_API_KEY=your_key_here
GITHUB_TOKEN=your_token_here
WORKSPACE_ROOT=/home/user/workspaces
EOF
Skills Not Synced
pan sync
pan sync --force
Dashboard Won't Start
lsof -i :3010
lsof -i :3011
kill $(lsof -t -i:3010)
kill $(lsof -t -i:3011)
cd ~/.overdeck/dashboard && npm run dev
tmux Issues
tmux kill-server
tmux new-session -d -s test
tmux kill-session -t test
Maintenance Tasks
Update Overdeck
npm update -g overdeck
pan init
pan sync
Clean Up Old Workspaces
ls -la $WORKSPACE_ROOT/
rm -rf $WORKSPACE_ROOT/old-issue/
Reset Configuration
cp ~/.overdeck.env ~/.overdeck.env.backup
pan init
Related Skills
/pan:diagnose - Deep troubleshooting
/pan:install - Initial setup
/pan:sync - Skill synchronization