Command Palette

Search for a command to run...

Назад к скиллам
скилл № 43979

pan-diagnose

Troubleshoot common Overdeck issues

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить pan-diagnose в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Troubleshooting Guide

Overview

This skill helps diagnose and fix common issues with Overdeck installation, configuration, and operation.

Run it

pan diagnose (PAN-4643) collects a redacted diagnostic bundle (config, logs, pan doctor --json, environment and service reachability) and, with your consent, starts Claude Code or Codex in that bundle's directory with this skill as a copy named TROUBLESHOOTING.md. It works even when the dashboard, the supervisor, or Herdr is down — that is when you need it most.

pan diagnose                                              # pick a harness interactively, then launch it
pan diagnose --bundle-only                                # just collect and print the bundle path
pan diagnose --harness codex --describe "dashboard will not start"
pan diagnose --no-issue                                   # never draft or create an upstream issue

Flags: --harness <claude-code|codex>, --describe <text>, --bundle-only, --no-issue, --yes (skip the launch confirmation). See pan diagnose --help for the authoritative list.

When pan diagnose started this session

  • Read MANIFEST.md in the bundle directory first — it lists every file, what was redacted, and what collection failed.
  • Open doctor.json and check checks entries with status: "error" before "warn".
  • If services.json reports dashboard.reachable: false or supervisor.reachable: false, treat the dashboard as down: see the Dashboard Issues section below, or suggest pan up / pan restart.
  • Confirm with the operator before editing any config file in the bundle's config/ directory.
  • Never paste an unredacted secret into an issue or a message — the bundle is already redacted; quote from it, don't re-fetch the original file.

Issue Categories

  1. Installation Issues
  2. Configuration Issues
  3. Agent Issues
  4. Dashboard Issues
  5. Skill Issues
  6. Network Issues

Installation Issues

"pan: command not found"

# Check if installed
npm list -g overdeck

# Install globally
npm install -g overdeck

# Or use npx
npx overdeck doctor

# Check PATH
echo $PATH | tr ':' '\n' | grep npm

"Cannot find module" errors

# Reinstall dependencies
npm install -g overdeck --force

# Clear npm cache if needed
npm cache clean --force
npm install -g overdeck

Node.js version issues

# Check version
node --version

# Need Node 18+
# Use nvm to switch
nvm install 18
nvm use 18

Configuration Issues

"LINEAR_API_KEY not found"

# Check config file exists
cat ~/.overdeck.env

# Create/update config
echo "LINEAR_API_KEY=lin_api_xxx" >> ~/.overdeck.env

# Verify
grep LINEAR_API_KEY ~/.overdeck.env

"Invalid Linear API key"

# Test the key
curl -H "Authorization: lin_api_xxx" \
  https://api.linear.app/graphql \
  -d '{"query": "{ viewer { id } }"}'

# Get a new key from: Linear > Settings > API > Personal API Keys

"GitHub token invalid"

# Test the token
curl -H "Authorization: token ghp_xxx" \
  https://api.github.com/user

# Create new token: GitHub > Settings > Developer settings > Personal access tokens
# Required scopes: repo, read:org

Config file permissions

# Fix permissions (should be readable only by owner)
chmod 600 ~/.overdeck.env

Agent Issues

Agent won't start

# Check tmux is available
which tmux
tmux -V

# Try starting manually
tmux new-session -d -s test-agent "echo 'test'; sleep 5"
tmux capture-pane -t test-agent -p
tmux kill-session -t test-agent

# Check for existing session
tmux list-sessions | grep agent-ISSUE

Agent is stuck

# Check what it's doing
tmux capture-pane -t agent-ISSUE-123 -p | tail -50

# Look for:
# - API rate limits
# - Waiting for user input
# - Long-running commands
# - Error messages

# Try sending a message (ALWAYS use pan tell, NOT raw tmux)
pan tell ISSUE-123 "What is your current status?"

WARNING: DO NOT use raw tmux send-keys - agents often forget the Enter key. Always use pan tell which handles this correctly.

OpenCode conversation stuck after a permission ask

An OpenCode Task subagent can block its parent turn if its permission request does not reach ACP. First check whether the host watchdog already recovered it:

CONVERSATION=conv-YYYYMMDD-NNNN
grep '"source":"watchdog"' \
  "$HOME/.overdeck/agents/$CONVERSATION/acp-session.jsonl" | tail -5

If the turn is still stuck, list the pending asks on the host's recorded port, then reply to the relevant permission id:

OPENCODE_PORT=$(cat "$HOME/.overdeck/agents/$CONVERSATION/opencode-port")
curl -sS "http://127.0.0.1:$OPENCODE_PORT/permission"
curl -sS -X POST \
  "http://127.0.0.1:$OPENCODE_PORT/permission/<permission-id>/reply" \
  -H 'content-type: application/json' \
  -d '{"repl
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read
  3. 03Grep
  4. 04Glob

FAQ

Что делает скилл pan-diagnose?

Troubleshoot common Overdeck issues

Как установить скилл pan-diagnose?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pan-diagnose запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pan-diagnose с