Command Palette

Search for a command to run...

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

pan-doctor

pan doctor [options] — check Overdeck system health, dependencies, and configuration

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

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

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

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

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

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

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
pan doctor github-quota [--json]   # GitHub API quota use per caller, active pauses, skipped projects (PAN-4264)

JSON output (PAN-4643)

pan doctor --json

Prints exactly one JSON object to stdout — no banner, no colour, no summary sentence (those go to stderr instead) — with the same exit code as text mode (1 on any error check, or on any warn check with --strict):

{
  "schemaVersion": 1,
  "generatedAt": "2026-11-01T04:52:00.000Z",
  "strict": false,
  "exitCode": 0,
  "summary": { "ok": 40, "warn": 2, "error": 0 },
  "checks": [
    { "name": "Git", "status": "ok", "message": "Installed", "fix": null }
  ],
  "patrolBudgets": [
    { "patrol": "example-patrol", "actions": 3, "budget": 20, "suspended": false }
  ]
}

Use it to script health checks or feed a machine-readable report into another tool (for example pan diagnose, which runs it out-of-process to build a diagnostic bundle).

Health Check Workflow

1. Run Diagnostics

# Full health check
pan doctor

# Expected output:
# ✓ Configuration file exists
# ✓ Linear API key configured
# ✓ GitHub token configured
# ✓ Skills directory exists
# ✓ tmux available
# ✓ Docker available
# ⚠ orphan-proposed-specs: proposed xBRIEF specs without work agents, grouped by project with remediation hints

2. Check Configuration

# View current config
cat ~/.overdeck.env

# Required settings:
# LINEAR_API_KEY=lin_api_xxx
# GITHUB_TOKEN=ghp_xxx (optional but recommended)
# WORKSPACE_ROOT=/path/to/workspaces

3. Check Running Services

# Dashboard status
curl -s http://localhost:3011/api/health || echo "Dashboard not running"

# Running agents
tmux list-sessions | grep agent

# Docker containers
docker ps --format "table {{.Names}}\t{{.Status}}" | grep -E "(traefik|overdeck)"

4. Check Skills

# List installed skills
pan skills

# Verify skills are synced
ls -la ~/.claude/skills/ | head -20

5. Check Dependencies

# Node.js version (18+ required)
node --version

# npm version
npm --version

# tmux version
tmux -V

# Docker version
docker --version

# Git version
git --version

6. Herdr

Herdr is the default terminal backend and is strict: when it is selected but its binary or this home's session socket is missing, agent launches fail and pan doctor exits 1. Doctor prints these rows:

Row Fix when it fails
Terminal backend pan install (or set terminal.backend: tmux in ~/.overdeck/config.yaml)
Herdr binary pan install
Herdr server pan sync (restarting a stale server is manual: systemctl --user restart overdeck-herdr.service closes every agent pane)
Herdr config pan sync (sets resume_agents_on_restore = false)
Herdr integration: <target> pan sync (pilot set pi, omp, kimi, opencode; claude, codex, hermes are not managed)

Under an explicit tmux backend only the Terminal backend row appears.

7. Plan home .pan/ tracking

Planning artifacts are committed under .pan/ in each project's plan home. Before the Cut, Overdeck wrote .pan/ into project .gitignore files, and that rule makes every planning commit fail (The following paths are ignored by one of your .gitignore files: .pan). The Plan home .pan/ tracking row WARNs for each registered plan home where git check-ignore matches .pan/, naming the rule's file:line:

Rule source Fix
Exact .pan/ or .pan line in the repo's top-level .gitignore (Overdeck's legacy line) pan admin migrate-plan-home <key> --repair-ignore removes that line and commits .gitignore alone (no migration, no tracker lookup), or delete the line and commit it yourself
Anything else (nested .gitignore, .git/info/exclude, core.excludesFile, a broader pattern) Not Overdeck's rule: doctor never edits it. Remove or narrow it yourself

Doctor only reports; it has no --fix.

8. Sync sources checkout

pan sync distributes from the primary checkout's sync-sources/ when it can. The Sync Sources Checkout row WARNs when that checkout is behind its upstream, on a branch other than the remote's default branch, or has a detached HEAD, because every sync would then distribute an old tree (PAN-3881). Doctor does not fetch; it compares with the last-fetched upstream ref and says so in the row. Fix: fetch and fast-forward the checkout on its default branch, then pan sync. The row is skipped (OK) when sync distributes a frozen pan reload generation's own copy; the Deployed Hooks row covers that c

Полный SKILL.md на GitHub

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

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

  1. 01Bash
  2. 02Read

FAQ

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

pan doctor [options] — check Overdeck system health, dependencies, and configuration

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

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

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

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

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

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