Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Recover CCB agents, panes, mounts, provider contexts, API/provider failures, config reload aftermath, clear operations, and guarded single-agent restarts. Use when the user asks to fix, recover, restart if safe, clear context, reload, remount, or keep work going after provider/API failure.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-15 | ✗→✓ | ▲ Improved | 190% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 58% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 53% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 139% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 593% | 0% |
Use this skill for runtime recovery after diagnosis. Mutations must go through CCB control-plane commands. Raw tmux mutation and direct runtime-file writes are forbidden.
Before any mutation:
"restart if safe", "apply this config", or "make CCB healthy".
daemon-graph agent for clear or restart-like actions.
ccb psccb queue --detail <agent|all>ccb pend --inbox --detail <agent>ccb trace <id> when the issue involves active or pending lineageccb fault list. If active fault-injection rules affect the target,treat them as diagnostic evidence. Clear them with ccb fault clear <rule_id|all> only when the user intended maintenance and the rules are known test residue. If a rule is recent, or its task/reason fields could represent an active drill, ask before clearing unless the user explicitly asked to clear fault-injection rules.
unchanged.
If the target is unknown, busy, has queued work, has pending reply delivery, or has a pending callback continuation, stop and report blockers.
For provider/API failures or changes that affect provider process, model, base URL, environment, provider profile, command template, role assets, or startup context, use this exact flow:
ccb-config to edit .ccb/ccb.config only when the fallbackprovider/model/base URL/profile/env-var reference is already configured or explicitly supplied by the user as a safe reference.
ccb config validate.ccb reload --dry-run.ccb reload.
environment, model, base URL, role asset, or context state.
agent at a time with ccb restart <agent>, and only when busy checks pass.
ccb restart <agent> returns blocked or failed, report the blockers.Do not emulate restart with tmux commands. The remaining user-level options are to continue with unaffected agents or explicitly stop and restart the project with ccb kill then ccb; do not run project shutdown autonomously as a substitute for single-agent restart.
ccb reload is not the recovery finish line. It materializes config into the daemon graph; running provider processes may still hold old startup inputs.
ccb clear <agent>: provider-native conversation/context clear. Run thepre-mutation checks in the Recovery Gates section first; use only when context clearing is the right fix and pending-work checks pass.
ccb reload --dry-run: no-mutation config reload plan. Always safe inmaintenance workflows.
ccb reload: config materialization after ccb config validate,ccb reload --dry-run, supported plan, and explicit user materialization intent.
ccb restart <agent>: one configured pane-backed current-graph agent afterbusy checks pass. The command itself must report restart_status, blockers, restartable agents, busy gate evidence, and old/new runtime evidence.
ccb roles update agentroles.ccb_self or ccb roles sync <path>: role assetrepair when the user is repairing ccb_self itself, there is no active maintenance operation that depends on the current role assets, and the target role/source version is clear.
ccb-self-chain first when trace evidence shows message/reply lineage isthe primary problem. Restart is not the first repair for a broken job chain.
ccb-config for disk config edits and affected-agent reporting.After reload, this skill owns guarded runtime refresh decisions.
user explicitly retargets it.
tmux kill-pane, kill-window, kill-server, respawn-pane,send-keys, manual pane creation, or other raw tmux mutation.
authority files directly.
credentials.
.ccb/agents/*, disk config, pid files, or tmux panes as liverestart target authority.
Other measured skills in the registry, with their headline benchmark lift.