Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Private built-in CCB configuration skill for agentroles.ccb_self. Design, edit, validate, and prepare reloads for .ccb/ccb.config, role bindings, providers, windows, workspaces, tool windows, sidebar, and provider startup inputs. Use only inside ccb_self; non-self agents should delegate CCB config changes to ccb_self.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 89% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 135% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 324% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 135% | 0% |
This is the private agentroles.ccb_self built-in CCB configuration skill. It owns .ccb/ccb.config design, editing, validation, reload readiness, and affected-agent reporting. It is not a global inherited skill for non-self agents.
Read references/config-contracts.md before complex edits or reload-impact analysis.
The canonical skill name remains ccb-config; role projection must keep this private role skill from being merged with or exposed as a global inherited same-name skill.
Allowed:
.ccb/ccb.config.windows, sidebar layout, workspaces, provider profiles, model/base URL/env-var references, provider command templates, startup args, permission, restore, queue policy, and watch paths.
version = 2 [windows] topology for new configs and structuraledits unless the user explicitly asks for compact syntax.
provider/model/base URL/profile/env-var references after provider/API failure.
ccb config validate after every edit.ccb reload --dry-run before reload materialization.ccb reload when validation passed, dry-run was reviewed, the planis supported, and the user explicitly wants the change materialized.
Forbidden:
.ccb/ccb_memory.md, .ccb/agents/<agent>/memory.md, providerhomes, installed role stores, generated memory, lifecycle, lease, runtime, mailbox, provider session, or tmux state.
ccb restart, ccb kill, ccb clear, or ccb repair fromthis skill.
.ccb/ccb.config is thenormal target; user config ~/.ccb/ccb.config is out of scope unless the user explicitly asks.
version = 2 [windows] topology.
settings, labels, comments, and advanced overrides unless the user asks to change them.
next to it, for example cp .ccb/ccb.config .ccb/ccb.config.bak.$(date +%s). Restore only from the backup created for this edit.
bashccb config validate
and do not claim recovery is complete. Restore the previous config when a reliable pre-edit copy exists; otherwise stop and ask for the user's preferred correction or rollback.
bashccb reload --dry-run
ccb reload only when gates pass and materialization intent isexplicit.
ccb-self-recover.
Mark an agent as affected when the change may alter:
Do not restart affected agents from this skill. Return a handoff:
textAffected agents: ... Reload status: ... Needs recover check: yes|no Reason: ... Suggested next skill: ccb-self-recover
Use canonical Role Pack ids such as agentroles.archi and agentroles.ccb_self. The project-local agent name remains the ask target.
Recommended binding:
toml[windows] ops = "agentroles.ccb_self:codex"
When a local agent name is required, keep provider authority in [windows] and write only the role overlay:
toml[windows] ops = "selfops:codex" [agents.selfops] role = "agentroles.ccb_self"
Do not repeat [windows]-owned provider, workspace_mode = "inplace", or workspace_mode = "git-worktree" in [agents.<name>] overlays. Treat ccb config validate style warnings as cleanup work before reload.
If validation reports a missing installed role, tell the user to install it:
bashccb roles install agentroles.ccb_self
Do not copy role memory or skills into .ccb manually.
Summarize:
ccb-self-recoverOther measured skills in the registry, with their headline benchmark lift.