incident-management
Skill2 starsChanged 2 months agoMITView on GitHub
ConfigHub incident orchestration: bind the exact Release/runtime failure, choose rollback vs fix-forward, account for emergency cluster edits, and close with Release/controller/runtime proof. Use for outages, prod crashing, mitigation, and cleanup. Not planned releases.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- roanbrasil/engineer-grade-agent-skillstheir own version, first seen Jun 17, 2026
- mmondora/claude-skillstheir own version, first seen Feb 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- roanbrasil/engineer-grade-agent-skills★ 8same name
- mmondora/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- app-configSkill
- confighub-coreSkill
- cub-applySkill
- cub-mutateSkill
- cub-querySkill
- importSkill
- kubernetes-resourcesSkill
- promote-releaseSkill
- release-publishSkill
- rollback-revisionSkill
- skill-examples-bootstrapSkill
- target-bindSkill
- triggers-and-applygatesSkill
- verify-applySkill
- worker-bootstrapSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 7 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Execution mode: follow references/execution-modes.md.
- Distinctive: line 18
Read the newest relevant Releases, then pin the suspect by immutable identity:
- Distinctive: line 26
Read the desired/effective ConfigHub set:
- Distinctive: line 38
If a promotion preceded the symptom, check what its merge withheld as well as what it applied.
- Very specific: line 52
Read controller state and history with argocd app get/history/diff or flux get/logs.
- Very specific: line 53
Read runtime health with kubectl get/describe/logs.
- Distinctive: line 55
Use plain outcomes precisely: report healthy agreement, bounded convergence lag, a concrete stop/failure, or a focused human decision.
- Very specific: line 70
If the suspect mutations were grouped in a ChangeSet, Before:ChangeSet:<space>/<slug> is useful restore evidence.
- Distinctive: line 80
If an operator changed Kubernetes or a controller during the hot window:
- Very specific: line 86
never claim ConfigHub LiveData proves cluster state for OCI Release delivery.
- Very specific: line 107
Every incident mutation uses a short safe summary from references/execution-modes.md.
- Very specific: line 122
Use verify-apply after stabilization.
- Distinctive: line 138
After verifying the Tag, attach it as a separate command:
- Distinctive: line 149
no immutable suspect Release or wrong cluster context.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
incident-management
Execution mode: follow references/execution-modes.md. This Skill grants no automatic tool permission. Urgency never broadens scope, but in standalone use an explicitly requested mitigation may submit one exact mutation to the host permission system; an external overlay may impose a stricter stop.
Stabilize first, but do not sacrifice attribution. Current delivery evidence is Space Release → OCI manifest → controller → runtime, not retired per-Unit apply status.
First five minutes: establish facts
- Bind incident scope: service/resource, namespace, cluster/context, Component, Variant Space, symptom, start time, and incident commander.
Read the newest relevant Releases, then pin the suspect by immutable identity:
cub release list --space <variant-space> -o json cub release get --space <variant-space> <release-id>Record ReleaseID, creation time, bundle Digest, ManifestDigest, UnitCount, and TagID.
Read the desired/effective ConfigHub set:
cub space get <variant-space> -o json cub unit list --space <variant-space> --select "TargetID,HeadRevisionNum,LastReleasedRevisionNum,ValidationErrors" -o jsonTo see the affected workload as a resource rather than as a Unit — the faster read when the symptom is phrased in Kubernetes terms — use
cub k8s get deploy <name> --space <variant-space> --show detailor--show data. It is configuration, not live state; keep it separate from thekubectlread in step 5.If a promotion preceded the symptom, check what its merge withheld as well as what it applied. A merge that could not place part of its patch does not fail — it records the withheld changes on the Unit:
cub unit conflicts --space <variant-space> <unit> cub unit list --space <variant-space> --where "Conflicts.*.Reason = 'ProtectedPath'"A protected path is the common reason, and the common surprise: an environment-specific value the variant owns held against the release, so the fix that went everywhere else did not land here.
cub unit get <unit> -o mutationsshows which paths this variant owns. Seepromote-releasefor resolving them; resolving is a mutation, not a read.- Read controller state and history with
argocd app get/history/difforflux get/logs. Bind the controller source to the suspect ManifestDigest or mark that link unknown. - Read runtime health with
kubectl get/describe/logs; inspectconfighub.com/originfor SpaceID, UnitID, and RevisionNum. Never exec, restart, scale, patch, sync, or reconcile from this companion.
Use plain outcomes precisely: report healthy agreement, bounded convergence lag, a concrete stop/failure, or a focused human decision. Do not expose internal all-caps status markers in ordinary incident UX.
Decide: rollback or fix forward
A. Roll back a recent causal Release
Choose this when symptoms began after a specific immutable Release and a known-good revision set is available. Do not “deploy an old Release” while leaving bad heads current. Route to rollback-revision to:
- identify exact prior RevisionID/DataHash per affected Unit;
- preview head-moving
cub unit update --restoreoperations; - compute the resulting destination EffectiveReleaseSet; and
- prepare a new whole-Space Release proposal through
release-publish.
If the suspect mutations were grouped in a ChangeSet, Before:ChangeSet:<space>/<slug> is useful restore evidence. The ChangeSet does not narrow publication. If only some Units are restored but the Release captures more Units, disclose that scope and ask again.
B. Fix forward
Choose this when the cause is known and a small, reversible ConfigHub data change is safer/faster than restoring a larger set. Route to cub-mutate for an exact function-first change with incident-linked --change-desc, then to release-publish for the new whole-Space publication.
For a temporary capacity mitigation, state explicitly whether the change is intended to remain desired state after the incident. A runtime-only scale is not durable under Argo/Flux and is outside this companion's authority.
C. Reconcile emergency out-of-band edits
If an operator changed Kubernetes or a controller during the hot window:
- inventory the exact live changes read-only;
- decide which are durable vs temporary;
- recreate durable intent as a governed ConfigHub mutation proposal;
- let temporary changes disappear under normal controller reconciliation; and
- never claim ConfigHub
LiveDataproves cluster state for OCI Release delivery.
This preserves the prior drift-reconciliation job without pretending the OCI server worker performs remote cluster reads.
Delivery and worker failures
The server-worker entity a controller pulls as is not an external process to restart. Diagnose separately:
- ConfigHub Release missing/rejected:
ReleaseTargetID, Unit membership, tag coverage, ValidationErrors. - controller cannot pull/sync: OCI reference/auth/source/digest, the View and ViewChildren grant to the puller's bot user on the Target, and controller logs.
- runtime unhealthy after sync: image, probes, RBAC, dependencies, quotas, scheduling.
- external custom-function worker failing: route read-only diagnosis to
worker-bootstrap.
Direct ConfigHub-provider Release delivery is historical and unsupported in the reviewed current profile.
Approval, execution, and incident provenance
cub variant approve records an Attestation of the revisions its response lists, resolving its selector at execution with no expected-revision precondition; compare the covered revisions with what was reviewed before calling it an approval of that artifact. A ChangeWorkflow requirement may exclude the incident responder who wrote the fix, and --force on a promotion is recorded on the ChangeOrder, so propose it only when the user explicitly chooses to override. Incident urgency does not merge distinct operations or erase their races. Produce the smallest exact command, blast radius, rollback plan, proof plan, and resume condition, then submit one requested mitigation to the host permission system. Stop before Bash if an external governance overlay says to block it.
Do not conflate approval with mutation preconditions. Unit update execution has transactional expected HeadRevisionNum and hash checks when the caller supplies them, but stock restore and function convenience paths do not prove that inspected values reached the final request. Re-read immediately before the call, state the race, and never let urgency justify a stronger claim than the command supports.
Every incident mutation uses a short safe summary from
references/execution-modes.md. Include only a validated ticket slug and a
model-authored summary, never verbatim user text:
Incident: INC-512 rollback checkout to prior imageRetain fuller context in the shared transcript and result receipt. For concurrent incidents, name the owning incident and check whether another open ChangeSet already holds any affected Unit. Shared Units must be sequenced or the scope split; never interleave two incident ChangeSets on one Unit.
Closeout
Use verify-apply after stabilization. Close only when it records:
- exact new ReleaseID, bundle Digest, and ManifestDigest;
- controller bound to that immutable source;
- runtime health and ConfigHub origin provenance;
- EffectiveReleaseSet/UnitCount coverage;
- any omitted evidence as an explicit gap; and
- emergency out-of-band changes either encoded as desired state or intentionally removed.
Then capture the incident timeline, suspect and recovery Releases, restored/mutated RevisionIDs, permissions/receipts, remaining warnings, and follow-up owners. The durable resolution marker used by the baseline workflow is a separate mutation; submit it once to the host permission system when the user requests incident closeout:
cub tag create --space <app>-home incident-<YYYYMMDD>-<ticket> \
--annotation 'description=Record reviewed incident resolution'After verifying the Tag, attach it as a separate command:
cub unit tag <app>-home/incident-<YYYYMMDD>-<ticket> \
--space <env-space> --filter <app>-home/<app>-appBind the exact revisions before the tag call; tagging is a mutation with its own host-permission call. GUI open commands are navigation only until org/object identity is verified.
Stop conditions
- no immutable suspect Release or wrong cluster context;
- rollback target, blast radius, or durable-vs-temporary intent is ambiguous;
- a narrow restore/fix would be published as a broader Space Release without new approval;
- user asks to bypass a ValidationError, controller policy, host permission, or external governance overlay;
- another incident ChangeSet already owns any Unit in scope and no sequencing decision exists;
- mutation provenance would omit the validated incident slug and safe summary;
- evidence requires a mutation to discover.
References
compatibility/current-profile.v1.jsonrollback-revision,cub-mutate,release-publish,verify-applyworker-bootstrapfor external custom-function worker diagnosisreferences/changesets.mdfor grouped revision restore/approval semantics
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

