Claude Code Plugin for Kubernetes
A production Claude Code plugin that triages, fixes, and verifies Kubernetes
issues using a graph of parallel subagents — and a complete, working reference
implementation of the Claude Code plugin format.

What it is. A Claude Code plugin that takes a GitHub issue URL from
kubernetes/kubernetes or any kubernetes-sigs/* repository, investigates it
with five parallel read-only subagents, reaches a triage verdict, and — only
after you approve — plans a fix, writes the failing test first, implements the
change, reviews it with six more parallel subagents, and gates the result on
evidence files rather than on the model's own opinion. It never commits,
comments, or pushes on its own.
Why it may be useful even if you do not work on Kubernetes. This repository
is a full example of the Claude Code plugin format with every major component
wired together: 9 skills, 15 subagents, 5 hooks, a plugin manifest, userConfig
options, a self-hosted plugin marketplace, and CI that validates all of it. If
you are looking for a real Claude Code plugin to read rather than a
hello-world, start with docs/architecture.md and
plugins/k8s-contributor/.
Table of contents
Install
claude plugin marketplace add rithwik-01/claude-code-plugin-kubernetes
claude plugin install k8s-contributor@claude-code-plugin-kubernetes
claude plugin enable k8s-contributor@claude-code-plugin-kubernetes
Then, inside Claude Code, from the directory that holds your cloned repos:
/k8s-setup
/k8s-setup finds your clones, checks your tooling, caches a build profile per
repository, resolves the Kubernetes contributor docs, and offers to install
recommended permission rules. It installs nothing without asking.
Requires Claude Code v2.1.154 or later. Developed and verified against
v2.1.234 on macOS with bash 3.2.
Other install methods
# Team or repo-scoped: records the choice in the project's .claude/settings.json
claude plugin install k8s-contributor@claude-code-plugin-kubernetes --scope project
# Local development on the plugin itself: no install, loads in place
claude --plugin-dir /path/to/claude-code-plugin-kubernetes/plugins/k8s-contributor
How it works
You give it an issue URL. It fans out five read-only investigators in parallel,
merges their findings into one verdict, and stops for your approval before
touching any code.
flowchart TD
A[Issue URL] --> B[Intake<br/>fetch issue, detect repo profile]
B --> C{Triage fan-out<br/>5 parallel read-only subagents}
C --> C1[issue-analyst<br/>what class of issue?]
C --> C2[duplicate-hunter<br/>already reported or fixed?]
C --> C3[code-locator<br/>where does this live?]
C --> C4[behavior-adjudicator<br/>is it actually a bug?]
C --> C5[reproducer<br/>does it reproduce here?]
C1 & C2 & C3 & C4 & C5 --> D[Synthesizer<br/>one verdict, contradictions resolved]
D --> E{Verdict}
E -->|not a bug / duplicate / needs info| F[Report and STOP]
E -->|REAL| G[STOP and wait for your approval]
style G fill:#8A63D2,stroke:#5B3FA8,color:#fff
style F fill:#4A5568,stroke:#2D3748,color:#fff
Only after you approve, in words, does the fix pipeline run:
flowchart TD
G[Your approval] --> H[Planner<br/>root cause, options, blast radius]
H --> I{Plan reviewer<br/>adversarial}
I -->|rejected| H
I -->|passed| J[Worker<br/>failing test FIRST, then minimal fix]
J --> K{Review fan-out<br/>6 parallel read-only subagents}
K --> K1[correctness]
K --> K2[conventions]
K --> K3[tests]
K --> K4[compat]
K --> K5[perf and security]
K --> K6[maintainability]
K1 & K2 & K3 & K4 & K5 & K6 --> L[Synthesizer<br/>ranked action list]
L --> M{Gate<br/>reads gate.json from disk}
M -->|fail| J
M -->|pass| N[Packaging<br/>report, PR description, drafts]
N --> O[Commands printed<br/>for YOU to run]