cluster-state-validation

cluster-state-validation is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 32 tokens per session (339 once invoked), scanned A, original, MIT.

A Kubernetes checking tool that compares the resources running in a cluster with the configuration kept in a GitOps repository. GitOps is a way to manage deployments by treating Git files as the desired state.

In plain words
What is it for?
Use it to export cluster resources, normalize their configuration, compare them with Git, and produce a difference report.
Why use it?
It finds configuration drift: changes in the cluster that do not match the approved files in Git. This helps reveal missing, extra, or modified resources.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to export cluster resources, normalize their configuration, compare them with Git, and produce a difference report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/cluster-state
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add paruff/uFawkesAI --skill cluster-state
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cluster-state-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/paruff/ufawkesai/cluster-state/github.svg)](https://agentmods.dev/skills/paruff/ufawkesai/cluster-state)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/cluster-state"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/cluster-state/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cluster-state-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/paruff/ufawkesai/cluster-state"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/cluster-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00339
Opus 5 $0.00016 $0.00169
Sonnet 5 $0.00006 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 5d ago against content hash d086b3553a2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cluster-state-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/integration-testing/full-stack/cluster-state/SKILL.md · 69 lines

What it actually says

Skill: Cluster State Validation

Load trigger: "load cluster-state-validation skill" > DORA: Cap 4 (CI/CD Automation) Token cost: Low

Purpose

Validate that the cluster matches the desired GitOps state.

Responsibilities

  • Export cluster state
  • Normalize manifests
  • Compare with GitOps repo

Inputs

  • Cluster
  • GitOps repo

Outputs

  • cluster-state.json
  • cluster-diff.txt

Export Command

kubectl get all,configmap,secret,ingress -n fawkes -o yaml > cluster-state.yaml

Validation Rules

  • Cluster state exported
  • Manifests normalized
  • No drift detected
  • All resources match Git

Output Format

{
  "skill": "cluster-state-validation",
  "status": "pass | fail",
  "resources_compared": 50,
  "in_sync": 50,
  "drift": {
    "missing": 0,
    "extra": 0,
    "modified": 0
  }
}

Success Criteria

  • No drift
  • Cluster matches GitOps state
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 69 lines · 32 tokens per session scan A d086b3553a2d

Subscribe to this mod's changes

cluster-state-validation is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 16d ago), licensed MIT. It adds 32 tokens to every session and 339 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

infrastructure-publishing

Skill for the publishing infrastructure module providing academic publishing workflows including BibTeX CLI citation generation, APA/MLA citation helper functions, DOI management, Zenodo publication, arXiv submission preparation, GitHub releases, PyPI and TestPyPI package distribution, static-site deployment to GitHub…

docxology/template · 127 tokens

template-publish

Publishing scripts for DOI-bearing project releases, optional mirror uploads, PyPI release validation, post-publish verification, and publication export. Use with docs/guides/publication-runbook.md for standalone GitHub + Zenodo release workflows.

docxology/template · 52 tokens

template-audit

Audit and quality-gate scripts for the template research framework. Covers documentation linting, filepath audits, mock-usage checking, template drift, and confidentiality / git-guard checks.

docxology/template · 40 tokens

go-live

Use when a user wants an AI-built local project pushed to GitHub and deployed live on Vercel with the least friction, while keeping git, secrets, provider setup, and live proof explicit.

ohad6k/VibeRaven · 43 tokens

worktree

Set up parallel agent sessions on independent tasks via git worktrees. Use when asked to '/worktree', 'git worktree', 'parallel branches', 'isolated branch workspace', 'work on two things at once'.

craigcossairt/trellis · 47 tokens

prevu-flows

Use when the user wants to mirror their local dev to a Prevu environment so they can preview changes from their phone while AFK, or when they want to share an in-progress branch as a public preview URL for a teammate, designer, or PM. Mentions: AFK, mobile preview, phone preview, mirror dev, share preview, preview…

prevu-cloud/prevu · 100 tokens