pan-down
pan down — stop the Overdeck dashboard and services
от eltmon★ 36 звёзд на GitHub
Установить pan-down в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Stop Overdeck Services
To reboot safely, use pan shutdown instead: it lets each agent finish its current tool call, stops every agent and conversation, then stops the services (pan down leaves agents running).
Overview
This skill guides you through gracefully stopping all Overdeck services, including the dashboard, API server, Traefik, and optionally workspace containers.
When to Use
- User wants to stop Overdeck services
- User needs to free up ports 3001/3002
- User wants to restart services (stop then start)
- System is shutting down or rebooting
- User asks "how do I stop overdeck?"
What Gets Stopped
When you run pan down, the following services stop:
- Dashboard Frontend (port 3001)
- API Server (port 3002)
- Traefik (if enabled)
- Workspace Containers (optional)
Basic Usage
# Stop all Overdeck services
pan down
# Stop dashboard and Traefik
pan down
# Stop dashboard but keep Traefik running
pan down --skip-traefik
Step-by-Step Workflow
Step 1: Check What's Running
Before stopping, see what's currently running:
# Check Overdeck status
pan status
# Check running agents
pan status
# Check dashboard and API processes
ps aux | grep overdeck
lsof -i :3001
lsof -i :3002
Step 2: Save Any Pending Work
If agents are running, consider what to do with them:
# Check for agents
pan status
# Option 1: Let them finish
# Wait for agents to complete their work
# Option 2: Send message to agents
pan tell <id> "Saving work before shutdown"
# Option 3: Stop agents explicitly
pan kill <id>
Step 3: Stop Services
pan down
What happens:
- Gracefully stops API server
- Gracefully stops dashboard frontend
- Stops Traefik (if enabled)
- Removes PID files
- Cleans up log handles
Expected output:
✓ Stopping API server (PID 12345)
✓ Stopping dashboard (PID 12346)
✓ Stopping Traefik (if enabled)
✓ Services stopped successfully
Use 'pan up' to restart services
Step 4: Verify Services Stopped
# Check nothing is listening on ports
lsof -i :3001 # Should return nothing
lsof -i :3002 # Should return nothing
# Verify pan status shows no services
pan status
Configuration Options
Edit ~/.overdeck.env to customize shutdown behavior:
# Graceful shutdown timeout (seconds)
SHUTDOWN_TIMEOUT=30
# Stop workspace containers on pan down
STOP_WORKSPACES_ON_DOWN=false
# Keep Traefik running even when dashboard stops
KEEP_TRAEFIK_RUNNING=false
Advanced Usage
Stop Specific Services
# Stop only dashboard (keep API running)
# (No built-in command, use process management)
ps aux | grep "dashboard" | grep -v grep
kill <PID>
# Stop only API (keep dashboard running)
ps aux | grep "api-server" | grep -v grep
kill <PID>
# Stop only Traefik
docker-compose -f ~/.overdeck/traefik/docker-compose.yml down
Stop and Clean Up Workspaces
# Stop dashboard and Traefik
pan down
# Remove a workspace separately when needed
pan workspace list
pan workspace destroy <id>
# Nuclear option: stop all Docker containers
docker stop $(docker ps -q)
Force Stop
If services won't stop gracefully:
# Force kill all processes
pan down
# Or manually force kill
pkill -9 -f overdeck
pkill -9 -f "dashboard"
pkill -9 -f "api-server"
Troubleshooting
Services won't stop
Problem: pan down completes but processes still running
Solutions:
# Check for orphaned processes
ps aux | grep overdeck | grep -v grep
# Force kill by PID
kill -9 <PID>
# Or kill all Node.js processes (careful!)
pkill -9 node
# Check for stuck Docker containers
docker ps
docker stop $(docker ps -q)
Ports still in use after shutdown
Problem: lsof -i :3001 still shows process after pan down
Solutions:
# Find what's using the port
lsof -i :3001
# Kill the specific process
kill -9 <PID>
# Check for zombie processes
ps aux | grep "<defunct>"
# Restart Docker if containers are stuck
sudo systemctl restart docker # Linux
# Or restart Docker Desktop (macOS/Windows)
Can't stop Traefik
Problem: Traefik container won't stop
Solutions:
# Check Traefik status
docker ps | grep traefik
# Stop Traefik directly
docker stop traefik
# Or use Docker Compose
cd ~/.overdeck/traefik/
docker-compose down
# Force remove if stuck
docker rm -f traefik
Agent sessions remain after shutdown
Problem: tmux sessions still exist after pan down
Solutions:
# List tmux sessions
tmux list-sessions
# Kill specific agent session
tmux kill-session -t agent-<id>
# Kill all agent sessions
tmux list-sessions | grep agent | cut -d: -f1 | xargs -n1 tmux kill-session -t
# Or kill tmux server entirely
tmux kill-server
PID file exists but process doesn't
Problem: pan up fails saying services already running, but they're not
Solutions:
# Remove stale PID files
rm ~/.over
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read
FAQ
Что делает скилл pan-down?
pan down — stop the Overdeck dashboard and services
Как установить скилл pan-down?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-down запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…