k8s-audit
Audit a Kubernetes platform against a world-class bar, grounding every finding in the live cluster as well as the repository, and producing a ranked…
Skill by MagmaMoose
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/magmamoose-k8s-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/k8s-audit
What's inside
- Skill name
k8s-audit- Description
- Audit a Kubernetes platform against a world-class bar, grounding every finding in the live cluster as well as the repository, and producing a ranked deliverable with evidence, merge-ordering hazards, and a sequenced roadmap.
- License
- Apache-2.0
- Instructions
- 115 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Use the shared MagmaMoose Kubernetes audit workflow.
Read and follow:
- `shared/k8s-audit.md`
- The target repository's `CLAUDE.md`
- The target repository's `AGENTS.md`
- The target repository's `CONTRIBUTING.md`
- Any `COMMON_MISTAKES` or footgun log the repository keeps
- Prior audits, post-mortems, and the running cleanup or backlog document, if they exist
Treat target-repository hard rules as blockers. A propose-only policy, a documented access path, or
a commit-trailer ban in the target repository wins over this workflow.
Expected input:
- A scope hint (a cluster, an environment, a dimension such as "security" or "DR", a PR number), or
nothing at all, which means the whole platform: every cluster, repository and live.
## CRITICAL: audit the running cluster, not only the repository (READ BEFORE ANY OTHER SECTION)
**A repository audit and a live-cluster audit find different things. Do both.**
The repository describes intent; the cluster describes reality, and the gap between them is where
the severe findings live. A repository can be clean, reviewed and fully GitOps-managed while the
running cluster has had no alert delivery for a week, because a manifest that merged correctly
references a secret nobody ever created. No amount of reading YAML finds that.
If live access is genuinely unavailable, say so at the top of the deliverable and mark every
finding repo-only. Never let a clean repository imply a healthy cluster.
Start with one read-only harvest per cluster, to files:
```bash
scripts/k8s-harvest.sh <kube-context> ./harvest/<env>
```
Resolve it from `${CLAUDE_PLUGIN_ROOT}/scripts/`, `.claude/scripts/`, or `scripts/`. Run the
commands by hand and say so if it isn't there. Harvesting once means every agent reads the same
instant of cluster state instead of hammering the API and disagreeing with each other.
## Read-only by default
Every state-changing operation is propose-only until the user explicitly authorises it, and then
only within the scope they set: `apply`, `edit`, `patch`, `delete`, `scale`, `annotate`, `cordon`,
`drain`, `flux reconcile` or `suspend`, `helm upgrade`, Argo sync, secret writes, image bumps,
`terraform`/`tofu apply`, and any git history rewrite.
`get`, `describe`, `logs`, `top`, `api-resources` and raw GETs are fine. Never harvest secret
values: names, types and ages only.
## Evidence discipline
- Every finding cites **live evidence** (a harvest file or an exact read-only command with its
output) and **repository evidence** (`path:line`), where each applies.
- Absence of a control is a valid finding, and often the most important one, but only when you say
where you looked to be sure it is absent.
- Anything about versions, EOL dates, deprecations, CVEs, or "current best practice" is
**web-verified during the run** and cites what was checked. Training data is stale by
construction, and a version claim with no source is worse than no version claim.
- Never invent a path, resource name, version or config value. One fabricated `path:line` discredits
the whole document.
- Where remediation PRs already exist, read the diffs and judge whether each **actually closes the
gap against live reality**, or is partial, cosmetic, or wrong. The title is not evidence.
- Classify every finding: `new`, `confirms`, `regression`, `falsely-claimed-fixed`, `false-alarm`.
A hand-maintained checkbox is a claim to verify, never evidence.
## Verify the load-bearing items yourself
Subagents produce confident, well-formatted, wrong findings. Before anything reaches the report,
confirm it first-hand. Section 2 of the rubric has the exact commands and the bad-answer criteria;
the checks that repeatedly find the worst problems are:
- Every not-Running pod and its real container-level reason, plus **how long** it has been that way.
Weeks-long breakage is a monitoring finding, not a workload finding.
- Secrets that never synced, and what mounts them. When the victims include the alerting stack, the
platform is blind and cannot report its own blindness.
- GitOps objects reporting `Ready=True` while the workloads they own are down.
- Nodes whose allocatable equals capacity, so the scheduler is told the control plane costs nothing.
- Memory limits set from a measurement rather than above a peak, and `BestEffort` databases.
- Placement that never rendered: verify with `helm template` / `kustomize build` and the live pod
spec, never by reading the values file that was supposed to set it.
- Controls that exist and are inert: audit-mode policies, PDBs selecting zero pods (or permitting
zero disruptions and blocking every drain), ServiceMonitors matching nothing, backup schedules
selecting nothing.
- Backups that have never been restored, and the written RTO/RPO that does not exist.
- Cross-environment drift, especially a lower environment behind production.
- Merge-ordering hazards among open remediation PRs.
## Expected behavior
1. **Orient** — prior audits, agent docs, open issues and PRs, the issue-to-PR map, access, and a
one-paragraph description of what this platform actually is.
2. **Harvest** — one read-only dump per cluster and environment, to files, with a timestamp.
3. **Verify by hand** — the load-bearing checks above, in the main thread.
4. **Fan out** — roughly a dozen dimensions, each found then adversarially verified, then a
completeness critic and a tool-alternatives pass with `REPLACE` / `FIX-IN-PLACE` / `VINDICATE`
verdicts. Give every agent the shared ground prompt from the rubric.
5. **Synthesise** — the main thread writes the deliverable, because it has been living in the data.
6. **Act, only within authorisation** — log uncovered gaps as issues in the owner's voice, open safe
one-file PRs, and leave everything state-changing as a proposal.
## Boundaries
- Never perform a state-changing operation without explicit authorisation, and record anything
authorised in an actions-taken section with its verification.
- Never commit, push, or open a PR unless asked.
- Never let severity inflate. Everything critical means nothing is.
- Name what is genuinely world-class, specifically, and early. An audit that is all criticism reads
as uncalibrated and gets dismissed as such.
- Never truncate silently. If a list was capped, say what was cut and why, and make every count in
the report reconcile.
- Never recommend a migration without checking its prerequisites against the actual nodes, including
whether there is a way back in if it fails.
- No secret values in the harvest, the report, or any issue.From MagmaMoose/agent-skills, Apache-2.0.
More from MagmaMoose/agent-skills
- 0.565score
docs-anonymise
MagmaMoose
The human half of publishing private documentation through docs-distributor.
SkillAFreshness: AClaude Code +9 - 0.561score
swiftui-build
MagmaMoose
Implement a change in a tvOS SwiftUI app, proving it compiles against the tvOS SDK and is reachable with a D-pad, avoiding the availability, focus-engine…
SkillAFreshness: AClaude Code +9 - 0.561score
catchup-write
MagmaMoose
Write a welcome-back report for a colleague returning from leave - what shipped on GitHub, what was discussed in meetings and Teams, what is waiting for them…
SkillAFreshness: AClaude Code +9 - 0.561score
chargate-security-review
MagmaMoose
After the Chargate security gate finishes on a PR, review the change for the security defects a pattern scanner structurally cannot find, and reply to…
SkillAFreshness: AClaude Code +9 - 0.561score
context-optimise
MagmaMoose
Install a layered context stack in a repository - a structural map, a lean auto-loaded session context, noise and access control, persistent memory, and a…
SkillAFreshness: AClaude Code +9 - 0.561score
diagram-draw
MagmaMoose
Draw an architecture diagram grounded in the live system rather than the repository, iterate it against its own screenshots until it is actually readable, and…
SkillAFreshness: AClaude Code +9 - 0.561score
docs-update
MagmaMoose
Sync a repository's ./docs (MkDocs) with the current code, sweeping every documentable surface, closing gaps, verifying with a strict build, and reporting…
SkillAFreshness: AClaude Code +9 - 0.561score
macos-swiftui
MagmaMoose
Implement a change in a macOS SwiftUI app, proving it compiles against the macOS SDK and does not block the main thread, avoiding the TCC…
SkillAFreshness: AClaude Code +9 - 0.561score
mikrotik-routeros
MagmaMoose
Write, review or debug code that touches MikroTik RouterOS devices — scripting, /tool fetch telemetry, hardening checks, upgrades and fleet operations —…
SkillAFreshness: AClaude Code +9 - 0.561score
pr-review
MagmaMoose
Review a GitHub PR end to end for correctness, security, repository conventions, tests, and produce one consolidated review.
SkillAFreshness: AClaude Code +9 - 0.561score
pr-sweep
MagmaMoose
Clear every open pull request in a GitHub org.
SkillAFreshness: AClaude Code +9 - 0.561score
pr-triage
MagmaMoose
Triage a GitHub PR by reading all review comments, security findings, code-quality comments, and human feedback, then fixing or responding to each thread.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
- Last release
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/MagmaMoose/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MagmaMoose
- 0.565score
docs-anonymise
MagmaMoose
The human half of publishing private documentation through docs-distributor.
SkillAFreshness: AClaude Code +9 - 0.561score
catchup-write
MagmaMoose
Write a welcome-back report for a colleague returning from leave - what shipped on GitHub, what was discussed in meetings and Teams, what is waiting for them…
SkillAFreshness: AClaude Code +9 - 0.561score
chargate-security-review
MagmaMoose
After the Chargate security gate finishes on a PR, review the change for the security defects a pattern scanner structurally cannot find, and reply to…
SkillAFreshness: AClaude Code +9 - 0.561score
context-optimise
MagmaMoose
Install a layered context stack in a repository - a structural map, a lean auto-loaded session context, noise and access control, persistent memory, and a…
SkillAFreshness: AClaude Code +9 - 0.561score
diagram-draw
MagmaMoose
Draw an architecture diagram grounded in the live system rather than the repository, iterate it against its own screenshots until it is actually readable, and…
SkillAFreshness: AClaude Code +9 - 0.561score
swiftui-build
MagmaMoose
Implement a change in a tvOS SwiftUI app, proving it compiles against the tvOS SDK and is reachable with a D-pad, avoiding the availability, focus-engine…
SkillAFreshness: AClaude Code +9
Cite this page
k8s-audit skill. Agent Mart. https://agentmart.dev/skills/magmamoose-k8s-audit (last updated 2026-10-24)