ccb-self-diagnose
Diagnose CCB runtime, mounted daemon graph, tmux namespace and panes, provider context, queue/inbox/trace, replies/artifacts, config drift, and storage…
от SeemSeam★ 18 звёзд на GitHub
Установить ccb-self-diagnose в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CCB Self Diagnose
Use this skill for read-only triage. Prefer CCB control-plane diagnostics and read-only tmux evidence. Do not mutate runtime state from this skill.
Evidence Model
Keep these categories separate in every diagnosis:
- Authority: current mounted daemon service graph, lifecycle, lease, current configured-agent runtime records, loaded config, and separately the current server-wide Mobile host generation when Mobile/Relay is in scope.
- Evidence:
ccb ping,ccb doctor,ccb ps,ccb queue,ccb pend,ccb trace,ccb fault list,ccb doctor logs <agent>, reply/artifact records, tmux pane metadata/text capture, provider session files, pid files, and config validation or reload dry-run output. - Residue: disk-only
.ccb/agents/*directories for unknown agents, stale panes, stale sockets, old session artifacts, dead helpers, and orphaned provider state.
Configured-agent and restart target authority comes from the mounted daemon
graph, not disk config, tmux panes, or .ccb/agents/* residue.
Core Workflow
- Confirm the project anchor and current mounted daemon generation.
- Gather the control-plane snapshot:
ccb ping ccbdccb doctorccb psccb queue --detail allccb fault listccb pend --inbox --detail <agent>when one agent is suspectedccb trace <job_id|message_id|attempt_id|reply_id>for lineage issuesccb doctor logs <agent>when provider/API evidence is needed
- Gather read-only tmux evidence when pane or provider state matters:
- current CCB tmux namespace/session/socket
- pane ids, active/dead flags, titles, current commands, and captured text
- activity sampling when supported
- provider session and pid-file paths plus modification times when useful, without reading secret or private provider-state contents
- For config drift, run
ccb config validatefirst, thenccb reload --dry-run. Do not treat disk config as live graph until reload has succeeded and the daemon graph has been rechecked. - For artifact-backed replies or requests, read the full artifact file before acting. If the full file is absent or expired, report a blocker and do not infer from preview text alone.
- Classify the failure domain and hand off:
- daemon lifecycle, namespace, pane, provider context, config drift, or
storage boundary ->
ccb-self-recover - job/message/reply/artifact/chain lineage ->
ccb-self-chain - config design/edit/reload readiness -> built-in
ccb-config - Mobile host, route, pairing/device, Relay, or capability negotiation ->
ccb-mobile-relay-maintain
- daemon lifecycle, namespace, pane, provider context, config drift, or
storage boundary ->
Failure Domains
Use the smallest domain that explains the evidence:
- Daemon lifecycle: no mounted daemon, unhealthy heartbeat, bad lease, stale generation, socket issue.
- Tmux namespace/pane: missing CCB namespace, dead pane, stale pane id, pane text not changing, layout/sidebar mismatch.
- Provider context/API: auth, quota/rate limit, model mismatch, endpoint/base URL, network, provider outage, or corrupted conversation context. Do not read secrets.
- Message chain: queued ask, missing reply, incomplete reply, pending chain, artifact-backed reply not read, or retry/resubmit/ack decision.
- Config drift: disk config differs from loaded daemon graph, dry-run reload blocked, role binding missing, or changed startup inputs need post-reload runtime refresh.
- Storage boundary: provider state or runtime files live in the wrong root, or project/runtime relocation rules are violated.
- Mobile/Relay: server-wide host unhealthy, endpoint not CCB-owned, pairing expired, device unauthorized, project discovery stale, route unavailable, or Provider controls absent because host capability is too old.
Reporting
Return a concise diagnosis:
Status: ok|warn|error
Suspected domain: ...
Authority: ...
Evidence: ...
Residue: ...
Confidence: high|medium|low
Next action: ...
Blocked by: ...
Red Lines
- Do not run
ccb reload,ccb clear,ccb repair,ccb restart,ccb kill, or raw tmux mutation from this skill. - Do not read provider auth, credentials, API keys, or unrelated private provider state.
- Do not use screenshots unless pane text/metadata is insufficient and the target is CCB-owned.
- Do not present tmux evidence as configured-agent authority.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ccb-self-diagnose?
Diagnose CCB runtime, mounted daemon graph, tmux namespace and panes, provider context, queue/inbox/trace, replies/artifacts, config drift, and storage boundaries. Use when the user asks what is broken, which agent is stuck, whether CCB is mounted, why a reply did not arrive, or what to check first.
Как установить скилл ccb-self-diagnose?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ccb-self-diagnose запускает скрипты?
Нет, скилл состоит только из инструкций (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…