[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CBNZ2JCB0050H8NYYGQMDN":3,"skill-same:01M6CBNZ2JCB0050H8NYYGQMDN":102},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":61,"linkOnly":62,"markdownContent":63,"markdownBody":64,"frontMatter":65,"refName":68,"commitSha":69,"skillDirectory":70,"forksCount":71,"repositoryHtmlUrl":72,"repositoryHomepageUrl":73,"ownerHtmlUrl":74,"ownerBlogUrl":75,"ownerDescription":76,"updatedAt":77,"install":78,"resources":91},"01M6CBNZ2JCB0050H8NYYGQMDN","scout-diagnose","Kubernetes 诊断与修复建议","Use when the user wants cub-scout to INTERPRET what it sees and suggest a next step — the Diagnose verb group. Natural phrasing: \"explain this Deployment\", \"why is this broken?\", \"what should I do about this?\", \"is this drift or just slow sync?\", \"what does this error mean?\", \"is there a known pattern for this?\", \"is my GitOps pipeline healthy?\", \"what events are firing on this Pod?\", \"give me a suggested remedy for this finding\". Load whenever intent is explain \u002F why \u002F what-does-it-mean \u002F what-should-I-do \u002F interpret \u002F diagnose \u002F recommend \u002F suggest-fix over a Kubernetes cluster or a scan finding. Do NOT load for: pure cluster inventory (use scout-observe), comparing intended vs running state at the field level (use scout-compare), field-level provenance (use scout-attribute), or actually applying a fix (cub-scout never mutates — route to cub or kubectl with the user driving).","当用户希望 cub-scout 解读（INTERPRET）其观察到的内容并建议下一步操作时使用该技能 —— Diagnose（诊断）动词组。自然表述：\"解释一下这个 Deployment\"、\"为什么这个出问题了？\"、\"我该怎么办？\"、\"这是漂移还是同步慢？\"、\"这个错误是什么意思？\"、\"这有没有已知的模式？\"、\"我的 GitOps 流水线健康吗？\"、\"这个 Pod 上触发了哪些事件？\"、\"针对这个发现给我一个建议的修复方案\"。当意图是针对 Kubernetes 集群或扫描发现进行解释 \u002F 原因 \u002F 含义 \u002F 该怎么办 \u002F 解读 \u002F 诊断 \u002F 推荐 \u002F 建议修复时加载。不要用于：纯集群清单（使用 scout-observe）、逐字段比较预期状态与运行态（使用 scout-compare）、逐字段溯源（使用 scout-attribute），或实际应用修复（cub-scout 从不修改状态 —— 应转由用户驱动 cub 或 kubectl 执行）。","confighub\u002Fcub-scout","confighub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206140369?v=4","01M6CBJBWD33AFNG4VXMJHSRXD","ConfigHub Inc","01M6CBJC0K0F8CJVFWGRSR0KYC",14,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-diagnose\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60],"diagnose","scout","scout diagnose","use","when","what-should-i-do","error","app","get","next","me","drift","route","cub scout","observe","never","kubernetes","fix","broken","just","argocd","explain","Bash","inventory","provenance","pipeline","logs","state","deployment","debug","2026-11-10 10:12:30",false,"---\nname: scout-diagnose\ndescription: 'Use when the user wants cub-scout to INTERPRET what it sees and suggest a next step — the Diagnose verb group. Natural phrasing: \"explain this Deployment\", \"why is this broken?\", \"what should I do about this?\", \"is this drift or just slow sync?\", \"what does this error mean?\", \"is there a known pattern for this?\", \"is my GitOps pipeline healthy?\", \"what events are firing on this Pod?\", \"give me a suggested remedy for this finding\". Load whenever intent is explain \u002F why \u002F what-does-it-mean \u002F what-should-I-do \u002F interpret \u002F diagnose \u002F recommend \u002F suggest-fix over a Kubernetes cluster or a scan finding. Do NOT load for: pure cluster inventory (use scout-observe), comparing intended vs running state at the field level (use scout-compare), field-level provenance (use scout-attribute), or actually applying a fix (cub-scout never mutates — route to cub or kubectl with the user driving).'\nphase: verify\nallowed-tools: Bash(.\u002Fcub-scout explain *) Bash(cub-scout explain *) Bash(cub scout explain *) Bash(.\u002Fcub-scout debug *) Bash(cub-scout debug *) Bash(cub scout debug *) Bash(.\u002Fcub-scout suggest-remedy *) Bash(cub-scout suggest-remedy *) Bash(cub scout suggest-remedy *) Bash(.\u002Fcub-scout patterns *) Bash(cub-scout patterns *) Bash(cub scout patterns *) Bash(.\u002Fcub-scout gitops status *) Bash(cub-scout gitops status *) Bash(cub scout gitops status *) Bash(kubectl get *) Bash(kubectl describe *) Bash(kubectl logs *) Bash(kubectl get events *) Bash(argocd app get *) Bash(flux get *)\n---\n\n# scout-diagnose\n\nThe Diagnose verb group of cub-scout. Five commands that interpret what's in the cluster and produce next-step guidance — without applying any fix.\n\n## When to use\n\nExplicit phrasings:\n\n- \"Explain this Deployment\" \u002F \"what does this resource mean?\"\n- \"Why is my Pod CrashLooping?\" \u002F \"what's wrong with this StatefulSet?\"\n- \"What should I do about this?\" \u002F \"give me a remediation\"\n- \"Is this drift, or just controller still syncing?\"\n- \"Is there a known pattern that matches this?\"\n- \"Is my GitOps pipeline healthy?\" \u002F \"what's the state of Flux \u002F Argo?\"\n- \"Show me the recent events on this resource\"\n- \"Suggest a remedy for this scan finding\"\n\nImplicit intents:\n\n- The user has *already seen* something (via [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)) and wants to know *why* it looks that way\n- The user wants a concrete next command to run, not just facts\n- The user wants pattern-matching against known failure modes, not just raw cluster output\n\n## Do not load for\n\n- Pure inventory (\"show me what's running\") — load [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)\n- Comparing intended vs running state at the field level — load [`scout-compare`](..\u002Fscout-compare\u002FSKILL.md)\n- Per-field provenance (which controller \u002F which git file set this value) — load [`scout-attribute`](..\u002Fscout-attribute\u002FSKILL.md)\n- \"Apply this fix\" \u002F \"edit \u002F patch \u002F sync\" — cub-scout never mutates. `suggest-remedy` describes a fix; it does not execute it. Route to `cub`, `kubectl` (user driven), or another tool\n\n## Standalone vs connected\n\n- **Standalone (cluster only):** `explain`, `debug`, `suggest-remedy`, `patterns`, `gitops status` all work against your current kubectl context.\n- **Connected (cluster + `cub auth login`):** `explain --with-confighub`, `trace --with-confighub`, and single-resource `receipt verify --with-confighub` add optional object-correlated delivery evidence; `doctor --with-confighub` adds a scope-level delivery rollup; `map activity --with-confighub` adds bounded release, unit-event, live-status, and event-consumer timeline rows; three-way disagreement gets a dedicated section.\n- **Offline (file \u002F bundle only):** `patterns detect --file \u003Cyaml>` runs the pattern engine against a manifest; `suggest-remedy` works against scan findings without a live cluster.\n\n## Tool boundary\n\n- **Allowed (read-only):** all five Diagnose verbs, plus `kubectl get\u002Fdescribe\u002Flogs\u002Fget events`, `argocd app get`, `flux get`. These are the read-only diagnostic surfaces the skill may invoke for context.\n- **Not allowed:** `kubectl apply\u002Fedit\u002Fpatch\u002Fdelete\u002Fexec`, `argocd app sync\u002Frefresh` (as mutation), `flux reconcile` (mutating), `cub * create\u002Fupdate\u002Fdelete`, any `--dry-run=false` carve-out.\n- **`suggest-remedy` is read-only:** the original command was renamed from `remedy` in #428; the mutating executor was deleted. The command **describes** a fix that would resolve the finding — it does not run it. cub-scout no longer has a non-dry-run path.\n\n## The verb menu\n\n| Question | Verb | Notes |\n|---|---|---|\n| \"Explain this one resource\" | `cub-scout explain \u003Ckind>\u002F\u003Cname> -n \u003Cns>` | Plain-English ownership + lineage + health + drift + next steps. Supports `--presentation human\\|ai\\|paired` and `--hint-mode default\\|beginner\\|operator`. |\n| \"Walk me through a GitOps debug\" | `cub-scout debug` | Guided wizard for the common failure modes |\n| \"Suggest a fix for this scan finding\" | `cub-scout suggest-remedy \u003Cfinding-id>` | **Read-only** — describes the patch, does not apply. Legacy `remedy` accepted as an alias. |\n| \"Match the cluster against known patterns\" | `cub-scout patterns detect` \u002F `patterns explain` \u002F `patterns list` | The pattern engine. Works on cluster, file, or bundle. |\n| \"Is GitOps healthy?\" | `cub-scout gitops status` | Pipeline health for Flux + Argo: stuck reconciles, source errors, applyset drift |\n| \"Did delivery feedback report back, and what happened recently?\" | `cub-scout map activity --with-confighub --confighub-space \u003Cspace>` | Timeline view across controller activity, Kubernetes events, ConfigHub releases, unit events, live-status freshness, event-consumer health, and omissions |\n| \"Can I preserve this delivery\u002Fstatus evidence?\" | `cub-scout receipt verify \u003Ckind>\u002F\u003Cname> -n \u003Cns> --with-confighub --confighub-space \u003Cspace>` | Single-resource receipt with fingerprint-covered `predicate.evidence.deliveryEvidence` |\n\nAll five verbs emit `--format json` for agents.\n\n## The loop\n\n1. **Identify intent.** The user is starting from a *symptom* (broken resource, scan finding, slow sync) and wants an interpretation + a recommended next step.\n2. **Gather context.** If the user names a specific resource, lead with `cub-scout explain \u003Ckind>\u002F\u003Cname> -n \u003Cns>`. If they have a scan finding ID, lead with `cub-scout suggest-remedy \u003Cid>`. If they're at \"something feels off across the cluster\", lead with `cub-scout doctor` (from [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)) and then drill in.\n3. **Read the structured hints.** `explain` and `doctor` both emit `nextSteps[]` — each hint has an `actionType` (read-only \u002F waiting \u002F human-decision; mutating is rejected on emit) and a `nextCommand`. Use those hints to drive the next invocation.\n4. **Pattern-match if needed.** If the symptom is well-known (CrashLoop, image pull error, kustomization unhealthy), `cub-scout patterns detect` produces a structured match against the 46 built-in patterns.\n5. **Hand off.** When the diagnosis points at a *change* the user wants to make, refuse to act and route them: ConfigHub-authored fixes go to `cub` skills in [`confighub\u002Fconfighub-skills`](https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fconfighub-skills); direct manifest fixes go to `kubectl edit` with the user driving; if the divergence might be drift vs reconciliation, route to [`scout-compare`](..\u002Fscout-compare\u002FSKILL.md) for the connected three-way view.\n\n## Worked example\n\nUser: *\"deploy\u002Fapi in prod is CrashLooping. What's going on?\"*\n\n### Standalone mode (cluster only)\n\n```bash\n$ cub-scout explain deploy\u002Fapi -n prod --hint-mode operator\nDeployment\u002Fapi in prod:\n  Owner:        Argo CD (Application: payments-api, source: https:\u002F\u002Fgithub.com\u002Forg\u002Frepo @ apps\u002Fprod\u002Fapi)\n  Source:       Git\n  Deployed via: argocd-controller\n  Health:       Degraded (1\u002F3 replicas Ready)\n  Risks:        CrashLoopBackOff on container \"api\" (3 restarts in last 5m)\n  Drift:        Not checked (standalone mode)\n  Notes:\n    - Recent events: Warning BackOff (3x, 5m) kubectl: Back-off restarting failed container\n\nTry next (read-only):\n  → cub-scout patterns detect --resource Deployment\u002Fapi -n prod\n  → kubectl logs -n prod deploy\u002Fapi --previous --tail=100\n```\n\nThe user can follow the structured hints — both read-only — without ever needing to apply, edit, or sync.\n\n### Connected mode adds three-way disagreement detail\n\nWhen `cub auth login` is set up, the same `explain` command also includes a `THREE-WAY STATUS` block:\n\n```text\nTHREE-WAY STATUS (connected)\n  ConfigHub revision 42 → controller revision 42 → cluster revision 42 (agreed)\n  Conclusion: not a drift problem. Investigate the workload itself.\n```\n\nThis disambiguates \"is this CrashLoop a workload bug, or is the controller still rolling out an old revision?\" — connected mode tells you the revisions agree, so the failure is in the workload, not the GitOps loop.\n\nFor agents:\n\n```bash\n$ cub-scout explain deploy\u002Fapi -n prod --format json | jq '.nextSteps[]'\n{\n  \"actionType\": \"read-only\",\n  \"reason\": \"CrashLoop suggests application-level failure, not drift; inspect logs\",\n  \"nextCommand\": \"kubectl logs -n prod deploy\u002Fapi --previous --tail=100\",\n  \"nextSurface\": \"kubectl\"\n}\n```\n\n## Output evidence\n\n- **Primary artifact:** structured explanation JSON or human-readable ASCII\n- **`nextSteps[]`** with `actionType` ∈ {`read-only`, `waiting`, `human-decision`}. Mutating actionType is rejected at every cub-scout emit point.\n- **Three-way disagreement section** (connected mode only) when ConfigHub \u002F controller \u002F cluster disagree\n\n## References\n\n- Capability map: [`README.md`](..\u002F..\u002FREADME.md#capability-map) § Diagnose\n- Command details: [`docs\u002Freference\u002Fcommands.md`](..\u002F..\u002Fdocs\u002Freference\u002Fcommands.md)\n- Phase-aware hint design: #367 (Argo phase hints), #370 (structured `nextSteps`)\n- Triad lock (read-only `suggest-remedy`): #410 \u002F #428\n\n## Constraints\n\n- `suggest-remedy` describes; it does not apply. If a user asks to *run* the suggested fix, refuse and route them to the appropriate skill (`cub` for ConfigHub-authored changes; `kubectl` with the user driving for direct edits). The original `remedy` executor was deleted in #428.\n- Hint `actionType: mutating` is structurally impossible — the emitter rejects it. Any \"next step\" from this skill is safe to read and follow without risk of accidental mutation.\n- If the diagnosis is *evidence-missing* (no managedFields, no controller spec, no ConfigHub link), `explain` returns the evidence gap honestly rather than guessing. Don't synthesize a recommendation from absence.\n","# scout-diagnose\n\nThe Diagnose verb group of cub-scout. Five commands that interpret what's in the cluster and produce next-step guidance — without applying any fix.\n\n## When to use\n\nExplicit phrasings:\n\n- \"Explain this Deployment\" \u002F \"what does this resource mean?\"\n- \"Why is my Pod CrashLooping?\" \u002F \"what's wrong with this StatefulSet?\"\n- \"What should I do about this?\" \u002F \"give me a remediation\"\n- \"Is this drift, or just controller still syncing?\"\n- \"Is there a known pattern that matches this?\"\n- \"Is my GitOps pipeline healthy?\" \u002F \"what's the state of Flux \u002F Argo?\"\n- \"Show me the recent events on this resource\"\n- \"Suggest a remedy for this scan finding\"\n\nImplicit intents:\n\n- The user has *already seen* something (via [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)) and wants to know *why* it looks that way\n- The user wants a concrete next command to run, not just facts\n- The user wants pattern-matching against known failure modes, not just raw cluster output\n\n## Do not load for\n\n- Pure inventory (\"show me what's running\") — load [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)\n- Comparing intended vs running state at the field level — load [`scout-compare`](..\u002Fscout-compare\u002FSKILL.md)\n- Per-field provenance (which controller \u002F which git file set this value) — load [`scout-attribute`](..\u002Fscout-attribute\u002FSKILL.md)\n- \"Apply this fix\" \u002F \"edit \u002F patch \u002F sync\" — cub-scout never mutates. `suggest-remedy` describes a fix; it does not execute it. Route to `cub`, `kubectl` (user driven), or another tool\n\n## Standalone vs connected\n\n- **Standalone (cluster only):** `explain`, `debug`, `suggest-remedy`, `patterns`, `gitops status` all work against your current kubectl context.\n- **Connected (cluster + `cub auth login`):** `explain --with-confighub`, `trace --with-confighub`, and single-resource `receipt verify --with-confighub` add optional object-correlated delivery evidence; `doctor --with-confighub` adds a scope-level delivery rollup; `map activity --with-confighub` adds bounded release, unit-event, live-status, and event-consumer timeline rows; three-way disagreement gets a dedicated section.\n- **Offline (file \u002F bundle only):** `patterns detect --file \u003Cyaml>` runs the pattern engine against a manifest; `suggest-remedy` works against scan findings without a live cluster.\n\n## Tool boundary\n\n- **Allowed (read-only):** all five Diagnose verbs, plus `kubectl get\u002Fdescribe\u002Flogs\u002Fget events`, `argocd app get`, `flux get`. These are the read-only diagnostic surfaces the skill may invoke for context.\n- **Not allowed:** `kubectl apply\u002Fedit\u002Fpatch\u002Fdelete\u002Fexec`, `argocd app sync\u002Frefresh` (as mutation), `flux reconcile` (mutating), `cub * create\u002Fupdate\u002Fdelete`, any `--dry-run=false` carve-out.\n- **`suggest-remedy` is read-only:** the original command was renamed from `remedy` in #428; the mutating executor was deleted. The command **describes** a fix that would resolve the finding — it does not run it. cub-scout no longer has a non-dry-run path.\n\n## The verb menu\n\n| Question | Verb | Notes |\n|---|---|---|\n| \"Explain this one resource\" | `cub-scout explain \u003Ckind>\u002F\u003Cname> -n \u003Cns>` | Plain-English ownership + lineage + health + drift + next steps. Supports `--presentation human\\|ai\\|paired` and `--hint-mode default\\|beginner\\|operator`. |\n| \"Walk me through a GitOps debug\" | `cub-scout debug` | Guided wizard for the common failure modes |\n| \"Suggest a fix for this scan finding\" | `cub-scout suggest-remedy \u003Cfinding-id>` | **Read-only** — describes the patch, does not apply. Legacy `remedy` accepted as an alias. |\n| \"Match the cluster against known patterns\" | `cub-scout patterns detect` \u002F `patterns explain` \u002F `patterns list` | The pattern engine. Works on cluster, file, or bundle. |\n| \"Is GitOps healthy?\" | `cub-scout gitops status` | Pipeline health for Flux + Argo: stuck reconciles, source errors, applyset drift |\n| \"Did delivery feedback report back, and what happened recently?\" | `cub-scout map activity --with-confighub --confighub-space \u003Cspace>` | Timeline view across controller activity, Kubernetes events, ConfigHub releases, unit events, live-status freshness, event-consumer health, and omissions |\n| \"Can I preserve this delivery\u002Fstatus evidence?\" | `cub-scout receipt verify \u003Ckind>\u002F\u003Cname> -n \u003Cns> --with-confighub --confighub-space \u003Cspace>` | Single-resource receipt with fingerprint-covered `predicate.evidence.deliveryEvidence` |\n\nAll five verbs emit `--format json` for agents.\n\n## The loop\n\n1. **Identify intent.** The user is starting from a *symptom* (broken resource, scan finding, slow sync) and wants an interpretation + a recommended next step.\n2. **Gather context.** If the user names a specific resource, lead with `cub-scout explain \u003Ckind>\u002F\u003Cname> -n \u003Cns>`. If they have a scan finding ID, lead with `cub-scout suggest-remedy \u003Cid>`. If they're at \"something feels off across the cluster\", lead with `cub-scout doctor` (from [`scout-observe`](..\u002Fscout-observe\u002FSKILL.md)) and then drill in.\n3. **Read the structured hints.** `explain` and `doctor` both emit `nextSteps[]` — each hint has an `actionType` (read-only \u002F waiting \u002F human-decision; mutating is rejected on emit) and a `nextCommand`. Use those hints to drive the next invocation.\n4. **Pattern-match if needed.** If the symptom is well-known (CrashLoop, image pull error, kustomization unhealthy), `cub-scout patterns detect` produces a structured match against the 46 built-in patterns.\n5. **Hand off.** When the diagnosis points at a *change* the user wants to make, refuse to act and route them: ConfigHub-authored fixes go to `cub` skills in [`confighub\u002Fconfighub-skills`](https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fconfighub-skills); direct manifest fixes go to `kubectl edit` with the user driving; if the divergence might be drift vs reconciliation, route to [`scout-compare`](..\u002Fscout-compare\u002FSKILL.md) for the connected three-way view.\n\n## Worked example\n\nUser: *\"deploy\u002Fapi in prod is CrashLooping. What's going on?\"*\n\n### Standalone mode (cluster only)\n\n```bash\n$ cub-scout explain deploy\u002Fapi -n prod --hint-mode operator\nDeployment\u002Fapi in prod:\n  Owner:        Argo CD (Application: payments-api, source: https:\u002F\u002Fgithub.com\u002Forg\u002Frepo @ apps\u002Fprod\u002Fapi)\n  Source:       Git\n  Deployed via: argocd-controller\n  Health:       Degraded (1\u002F3 replicas Ready)\n  Risks:        CrashLoopBackOff on container \"api\" (3 restarts in last 5m)\n  Drift:        Not checked (standalone mode)\n  Notes:\n    - Recent events: Warning BackOff (3x, 5m) kubectl: Back-off restarting failed container\n\nTry next (read-only):\n  → cub-scout patterns detect --resource Deployment\u002Fapi -n prod\n  → kubectl logs -n prod deploy\u002Fapi --previous --tail=100\n```\n\nThe user can follow the structured hints — both read-only — without ever needing to apply, edit, or sync.\n\n### Connected mode adds three-way disagreement detail\n\nWhen `cub auth login` is set up, the same `explain` command also includes a `THREE-WAY STATUS` block:\n\n```text\nTHREE-WAY STATUS (connected)\n  ConfigHub revision 42 → controller revision 42 → cluster revision 42 (agreed)\n  Conclusion: not a drift problem. Investigate the workload itself.\n```\n\nThis disambiguates \"is this CrashLoop a workload bug, or is the controller still rolling out an old revision?\" — connected mode tells you the revisions agree, so the failure is in the workload, not the GitOps loop.\n\nFor agents:\n\n```bash\n$ cub-scout explain deploy\u002Fapi -n prod --format json | jq '.nextSteps[]'\n{\n  \"actionType\": \"read-only\",\n  \"reason\": \"CrashLoop suggests application-level failure, not drift; inspect logs\",\n  \"nextCommand\": \"kubectl logs -n prod deploy\u002Fapi --previous --tail=100\",\n  \"nextSurface\": \"kubectl\"\n}\n```\n\n## Output evidence\n\n- **Primary artifact:** structured explanation JSON or human-readable ASCII\n- **`nextSteps[]`** with `actionType` ∈ {`read-only`, `waiting`, `human-decision`}. Mutating actionType is rejected at every cub-scout emit point.\n- **Three-way disagreement section** (connected mode only) when ConfigHub \u002F controller \u002F cluster disagree\n\n## References\n\n- Capability map: [`README.md`](..\u002F..\u002FREADME.md#capability-map) § Diagnose\n- Command details: [`docs\u002Freference\u002Fcommands.md`](..\u002F..\u002Fdocs\u002Freference\u002Fcommands.md)\n- Phase-aware hint design: #367 (Argo phase hints), #370 (structured `nextSteps`)\n- Triad lock (read-only `suggest-remedy`): #410 \u002F #428\n\n## Constraints\n\n- `suggest-remedy` describes; it does not apply. If a user asks to *run* the suggested fix, refuse and route them to the appropriate skill (`cub` for ConfigHub-authored changes; `kubectl` with the user driving for direct edits). The original `remedy` executor was deleted in #428.\n- Hint `actionType: mutating` is structurally impossible — the emitter rejects it. Any \"next step\" from this skill is safe to read and follow without risk of accidental mutation.\n- If the diagnosis is *evidence-missing* (no managedFields, no controller spec, no ConfigHub link), `explain` returns the evidence gap honestly rather than guessing. Don't synthesize a recommendation from absence.\n",{"name":5,"phase":66,"description":7,"allowed-tools":67},"verify","Bash(.\u002Fcub-scout explain *) Bash(cub-scout explain *) Bash(cub scout explain *) Bash(.\u002Fcub-scout debug *) Bash(cub-scout debug *) Bash(cub scout debug *) Bash(.\u002Fcub-scout suggest-remedy *) Bash(cub-scout suggest-remedy *) Bash(cub scout suggest-remedy *) Bash(.\u002Fcub-scout patterns *) Bash(cub-scout patterns *) Bash(cub scout patterns *) Bash(.\u002Fcub-scout gitops status *) Bash(cub-scout gitops status *) Bash(cub scout gitops status *) Bash(kubectl get *) Bash(kubectl describe *) Bash(kubectl logs *) Bash(kubectl get events *) Bash(argocd app get *) Bash(flux get *)","main","261862e7ec5e5c93ce377ccfd6b583f5ac03c95c","skills\u002Fscout-diagnose",1,"https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout","https:\u002F\u002Fconfighub.com","https:\u002F\u002Fgithub.com\u002Fconfighub","http:\u002F\u002Fwww.confighub.com","Public repo for ConfigHub","2026-11-14 07:07:17",{"source":9,"skillName":5,"commands":79,"prompt":89,"zipAvailable":90},[80,83,86],{"tool":81,"command":82},"npx","npx skills add confighub\u002Fcub-scout --skill scout-diagnose",{"tool":84,"command":85},"bunx","bunx skills add confighub\u002Fcub-scout --skill scout-diagnose",{"tool":87,"command":88},"pnpm","pnpm dlx skills add confighub\u002Fcub-scout --skill scout-diagnose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-diagnose\u002FSKILL.md",true,[92,98],{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"SOURCE.md","REFERENCE","参考文档",176,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Faave-lending-v3\u002FSOURCE.md",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Faave-lending-v3\u002FTRUST.auto.yaml",[103,130,155,172,195,216],{"skillNo":104,"name":105,"nameZh":106,"description":107,"descriptionZh":108,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":115,"publishedAt":61},"01M6CBPQHTK7YGVZD3MMH1328H","triage-unhealthy-workload","异常工作负载故障分诊","Use when the user is responding to a broken Kubernetes workload UNDER TIME PRESSURE — pager-going-off, CI-red, \"prod is down\" framing. Natural phrasing: \"deploy\u002Fapi is CrashLoopBackOff, what now?\", \"the rollout is stuck, help\", \"this pod won't start\", \"pager fired on payments\", \"everything is red in argocd\", \"what should I check first?\", \"give me a triage plan for this workload\". Composes doctor → explain → trace into a tight ~30-second loop the operator can run in a pager-acknowledged context. Do NOT load for: a planned investigation without urgency (use scout-diagnose directly), a drift question (use investigate-drift), or anything mutating (cub-scout never mutates — route to kubectl with the user driving).","当用户需要在时间压力下应对出现故障的 Kubernetes 工作负载时使用——例如寻呼告警响起、CI 飘红、“生产环境挂了”的场景。自然表述包括：“deploy\u002Fapi 出现 CrashLoopBackOff，该怎么办？”“发布卡住了，帮帮我”“这个 pod 起不来”“支付服务触发了寻呼告警”“argocd 里全红了”“我应该先检查什么？”“给我一份针对这个工作负载的分诊方案”。它将 doctor → explain → trace 组合成一个紧凑的约 30 秒循环，运维人员可在已确认寻呼告警的上下文中执行。不要用于：没有紧迫性的计划性排查（直接使用 scout-diagnose）、漂移相关问题（使用 investigate-drift），或任何变更操作（cub-scout 从不做变更——应由用户主导，转由 kubectl 处理）。","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Ftriage-unhealthy-workload\u002FSKILL.md",[111,112],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFG3G6Y69CV4EDQ6TP8ZRC","生产事故响应与应急处置",[116,117,118,47,31,119,57,120,121,122,53,123,52,124,49,125,34,126,46,44,43,42,127,128,39,129,35],"triage","workload","triage unhealthy workload","doctor","ci","payments","api","loop","check","question","rollout","map","time","now",{"skillNo":131,"name":132,"nameZh":133,"description":134,"descriptionZh":135,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":142,"publishedAt":61},"01M6CBPKYVREY83CQYNFW6BVD0","scout-verify","资源证据收据生成与校验","Use when the user wants a TYPED, FINGERPRINTED, IMMUTABLE evidence artifact about a Kubernetes resource — the Verify verb group of cub-scout (the receipt capability shipped in #446). Natural phrasing: \"produce a receipt that this is in compliance\", \"give me an attestation that the cluster matches Git\", \"I need a verifiable record for the audit trail\", \"build a receipt verifying no manual edits since deploy\", \"verify deploy\u002Fapi against source-truth and save the artifact\", \"validate this receipt has not been tampered with\", \"show me what receipts we have\", \"is this receipt tampered with?\", \"attach evidence to my CI gate\". Load whenever intent is receipt \u002F attestation \u002F evidence-artifact \u002F tamper-evident-record \u002F verified-record \u002F audit-trail \u002F postmortem-evidence \u002F acceptance-judge-input. Do NOT load for: a live comparison without a persisted artifact (use scout-compare), interpreting a single field's provenance (use scout-attribute), or actually applying a fix (cub-scout never mutates — route to cub \u002F argocd \u002F kubectl with the user driving).","当用户需要针对某个 Kubernetes 资源生成带类型、带指纹、不可篡改（TYPED、FINGERPRINTED、IMMUTABLE）的证据工件时使用——即 cub-scout 的 Verify 动词组（在 #446 中发布的收据能力）。自然表述包括：“出具一份证明此资源合规的收据”“给我一份证明集群与 Git 一致的证明”“我需要一份可用于审计跟踪的可验证记录”“生成一份收据，证明自部署以来没有人工改动”“对照事实源（source-truth）校验 deploy\u002Fapi 并保存工件”“验证此收据未被篡改”“展示我们有哪些收据”“此收据是否被篡改过？”“把证据附加到我的 CI 关卡”。当意图涉及 receipt \u002F attestation \u002F evidence-artifact \u002F tamper-evident-record \u002F verified-record \u002F audit-trail \u002F postmortem-evidence \u002F acceptance-judge-input 时均应加载。不要用于：不落盘工件的实时比对（使用 scout-compare）、解读单个字段的来源出处（使用 scout-attribute），或真正实施修复（cub-scout 从不做变更——应由用户主导，转由 cub \u002F argocd \u002F kubectl 处理）。","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-verify\u002FSKILL.md",[138,139],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":140,"categoryName":141,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BZ2WH4NBXTF9JSG6FX83RP","审计准备与证据管理",[66,143,32,47,144,145,120,146,55,122,147,53,148,149,51,150,48,34,46,151,44,152,43,41,39,38,153,154,35],"scout verify","acceptance","produce","attestation","show me","postmortem","changeset","view","evidence","show","unit","managed",{"skillNo":156,"name":157,"nameZh":17,"description":158,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":61},"01M6CBPF8WZBM7F9X096WT8PJD","scout-observe","Use when the user wants to SEE what is running in a Kubernetes cluster, who owns it, and how it is structured — the read-only Observe verb group of cub-scout. Natural phrasing: \"what is running in my cluster?\", \"give me a map of resources\", \"who owns this Deployment?\", \"trace this back to its source\", \"show me the ownership tree\", \"scan this cluster for risk\", \"dump the cluster as JSON\", \"stream cluster events\", \"run cub-scout as a bot\", \"what is the connection status?\", \"is this cluster healthy?\". Load when intent is observe \u002F inventory \u002F map \u002F show \u002F list \u002F trace \u002F scan \u002F dump \u002F stream \u002F bot \u002F health-check over a Kubernetes cluster. Do NOT load for: explaining WHY something is broken (use scout-diagnose), comparing cluster state to intended state (use scout-compare), provenance of individual field values (use scout-attribute), or any action that mutates the cluster (cub-scout never mutates — route to cub or kubectl with the user driving).","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-observe\u002FSKILL.md",[],[45,162,32,163,47,31,59,119,57,164,55,54,147,53,49,34,165,46,166,167,44,152,168,169,127,39,170,171,35],"scout observe","bot","risk","version","only","hooks","back","health-check","resources","meaning",{"skillNo":173,"name":174,"nameZh":17,"description":175,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":61},"01M6CBPBM5J9PX4H8CE628AY5X","scout-mcp","Use when the user wants to expose cub-scout to an AI agent over MCP, wants a deterministic AI-ready snapshot of cluster context, or wants cub-scout running as a read-only event bot — the Integrate verb group. Natural phrasing: \"start the MCP server\", \"expose cub-scout to Claude \u002F Codex \u002F my agent\", \"give me an AI-ready context pack of this cluster\", \"set up the MCP gateway\", \"what MCP tools does cub-scout expose?\", \"run cub-scout as a bot\", \"produce JSON context for an LLM to reason about this cluster\". Load whenever intent is mcp \u002F mcp-gateway \u002F mcp-serve \u002F context-pack \u002F bot \u002F agent-context \u002F ai-snapshot \u002F llm-context \u002F model-context-protocol. Do NOT load for: actually running a non-integrate verb (those are scout-observe \u002F scout-diagnose \u002F scout-compare \u002F scout-attribute \u002F scout-ingest \u002F scout-govern \u002F scout-verify), or `cub` MCP integration (that's a separate tool surface).","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-mcp\u002FSKILL.md",[],[179,180,32,163,181,182,183,184,185,186,187,188,53,189,149,190,191,166,192,193,45,39,153,194,35],"MCP","scout mcp","mcp server","ai agent","auth","config","run","release","server","SET","model","read","snapshot","ready","up","agent-context",{"skillNo":196,"name":197,"nameZh":17,"description":198,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":61},"01M6CBP7D72G704FWGRXNB6F9T","scout-ingest","Use when the user wants to ADOPT existing Kubernetes \u002F GitOps workload structure into ConfigHub after observing the live cluster — the adoption\u002Fimport verb group of cub-scout. Natural phrasing: \"discover workloads in this cluster and propose ConfigHub units\", \"show me the import proposal before I apply\", \"import this Argo Application set\", \"bring my Flux Kustomizations into ConfigHub\", \"preview what would land in ConfigHub if I imported this repo\", \"parse my git repo as a ConfigHub import bundle\", \"import a cluster aggregator\", \"what would --git-path produce for this repo?\". Load whenever intent is adopt \u002F import \u002F ingest \u002F preview \u002F propose \u002F parse-repo \u002F discovery \u002F aggregator \u002F bring-into-confighub \u002F what-would-confighub-see. Do NOT load for: questions about who changed a resource, whether it was edited by hand or drifted (use scout-attribute or investigate-drift); reading an exported `kubectl get -o yaml` dump to answer a question about the cluster (that is not an import); basic live-cluster inventory (use scout-observe), troubleshooting (use scout-diagnose), comparing live state to ConfigHub (use scout-compare), or the actual write to ConfigHub via `cub variant upload` (that is `cub`, not cub-scout — route to cub skills). Important: `cub-scout import apply` IS the mutating write into ConfigHub — this skill teaches the read-only preview path and explicitly refuses to invoke `import apply` itself.","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-ingest\u002FSKILL.md",[],[202,203,32,47,31,186,58,145,204,188,54,205,147,53,149,206,125,190,207,150,34,166,45,44,152,208,209,210,211,38,153,212,213,214,215],"ingest","scout ingest","adoption","discovery","repo","write","structure","aggregator","adopt","argo","reading","exported","invoke","parse",{"skillNo":217,"name":218,"nameZh":219,"description":220,"descriptionZh":221,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":222,"categories":223,"keywords":228,"publishedAt":61},"01M6CBP32CYJT8DJSGNCRWXQTM","scout-govern","ConfigHub 治理信号查询","Use when the user wants to consume CONNECTED ConfigHub governance signals from cub-scout — the Govern verb group. Natural phrasing: \"show me the ChangeSet history for this unit\", \"what is the blast radius if I change this unit?\", \"which clusters in my fleet are outliers?\", \"show me yesterday's connected summary\", \"render this view across the fleet\", \"audit who changed this\", \"where did the last apply come from?\", \"list ConfigHub bundles I have\", \"show me the catalog of past snapshots\". Load whenever intent is history \u002F impact \u002F blast-radius \u002F fleet-outliers \u002F summary \u002F view \u002F audit \u002F bundle \u002F catalog \u002F connected-context. Do NOT load for: live cluster comparison (use scout-compare), receipts (use scout-verify), inventory of running pods (use scout-observe), or any mutation via cub. Most of this skill requires `cub auth login` — say so upfront.","当用户希望从 cub-scout 获取已连接的（CONNECTED）ConfigHub 治理信号时使用该技能 —— Govern（治理）动词组。自然表述：\"给我看这个单元的 ChangeSet 历史\"、\"如果我修改这个单元，影响范围（blast radius）有多大？\"、\"我的机群中哪些集群是异常值？\"、\"给我看昨天的连接摘要\"、\"在整个机群中呈现这个视图\"、\"审计谁修改了这个\"、\"上一次应用来自哪里？\"、\"列出我拥有的 ConfigHub bundle\"、\"给我看过往快照的目录\"。当意图为历史 \u002F 影响 \u002F 影响范围 \u002F 机群异常 \u002F 摘要 \u002F 视图 \u002F 审计 \u002F bundle \u002F 目录 \u002F 连接上下文时加载。不要用于：实时集群比较（使用 scout-compare）、回执（使用 scout-verify）、正在运行的 Pod 清单（使用 scout-observe），或通过 cub 进行的任何修改。该技能的大部分功能需要 `cub auth login` —— 请提前说明。","https:\u002F\u002Fgithub.com\u002Fconfighub\u002Fcub-scout\u002Fblob\u002Fmain\u002Fskills\u002Fscout-govern\u002FSKILL.md",[224,225],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":226,"categoryName":227,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BZH5MB524G1VPY18RBFWDJ","工程变更管理",[229,32,230,183,231,232,233,54,66,147,53,234,149,150,235,34,236,237,238,45,44,152,239,39,240,241,153,242,243,244,245,35],"scout govern","change","governance","blast radius","audit","history","catalog","diff","say","snapshots","project","mutation","impact","render","blast-radius","which","inspect"]