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.
git clone --depth 1 https://github.com/nitinjain999/platform-skillsWrote 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.
[](https://agentmods.dev/commands/nitinjain999/platform-skills/kyverno)<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/kyverno"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/kyverno/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.
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/kyverno"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/kyverno.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00133 | $0.02687 |
| Opus 5 | $0.00067 | $0.01344 |
| Sonnet 5 | $0.00027 | $0.00537 |
| Haiku 4.5 | $0.00013 | $0.00269 |
Grade A, and why
kyverno 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write, test, audit, debug, and migrate Kyverno policies using the new CEL-based policy types.
All new policies use apiVersion: policies.kyverno.io/v1. Legacy ClusterPolicy (kyverno.io/v1) still works but is deprecated in v1.17 and planned for removal in v1.20.
Interactive Wizard (fires when no arguments are provided)
When invoked with no arguments, ask before proceeding:
Q1 — Mode?
What do you need?
1. generate — write a new production-ready Kyverno policy
2. test — write kyverno-test.yaml fixtures and run kyverno-cli
3. audit — analyse PolicyReport data from a running cluster
4. debug — diagnose why a policy is not behaving as expected
5. migrate — convert a legacy ClusterPolicy or PodSecurityPolicy
Enter 1–5 or mode name:
Q2 — Context (after mode selected, one at a time):
- generate:
Describe the policy — what should it validate, mutate, or enforce? (e.g. "require app.kubernetes.io/team label on all Deployments"): - test:
Paste or describe the policy to test: - audit:
Paste the PolicyReport JSON or run: kubectl get policyreport -A -o json | jq '[.items[].results[] | select(.result == "fail")]' - debug:
Describe the symptom — is the policy not blocking, not mutating, or not appearing in PolicyReport? - migrate:
Paste the existing ClusterPolicy or PodSecurityPolicy YAML to migrate:
Then proceed into the relevant mode below.
Mode: generate
Write a production-ready Kyverno policy from a description.
Steps:
- Ask for: policy type (ValidatingPolicy / MutatingPolicy / GeneratingPolicy / ImageValidatingPolicy), target resource kinds, whether cluster-wide or namespace-scoped, and whether to start in Audit or Deny mode
- Start in
validationActions: [Audit]unless the user explicitly requests Deny — blocking admission with an untested policy is high blast radius - Generate the policy with:
apiVersion: policies.kyverno.io/v1annotationsblock:policies.kyverno.io/title,category,severity,descriptionmatchConstraints.resourceRulestargeting only the required kinds and operationsmatchConditionsto exclude system namespaces (kube-system,kube-public, and platform tooling namespaces) — this replaces the oldexcludeblock- For
ValidatingPolicy:validationswith CEL boolean expressions; usemessageExpressionfor dynamic messages that include the resource name - For
MutatingPolicy:mutationswithpatchType: ApplyConfiguration(prefer for adds/merges) orpatchType: JSONPatch(for precise path operations); usejsonpatch.escapeKey()for special characters in paths - For
GeneratingPolicy:variableswithdyn()for inline resource definitions;generatewithgenerator.Apply(namespace, [resources]); setevaluation.synchronize.enabled: true - For
ImageValidatingPolicy:matchImageReferenceswith glob or CEL;attestorswith cosign keyless or key-based;validationsusingverifyImageSignatures()CEL function
- Show the kyverno-cli command to dry-run:
kyverno apply <policy.yaml> --resource <manifest.yaml> --detailed-results
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.
- 11d ago First seen · 200 lines · 133 tokens per session scan A f06b7521cfb0
kyverno is a command published in the GitHub repository nitinjain999/platform-skills (41 stars, last pushed today), licensed Apache-2.0. It adds 133 tokens to every session and 2,687 once invoked, about $0.0007 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-08-30.
Other commands, from other repositories
announce
Draft X/Twitter announcement post (or thread) for the latest plugin release.
ia-test-browser
Run browser tests on pages affected by current PR or branch.
ia-verify
Run pre-PR verification chain -- build, types, lint, tests, security scan, diff review.
ia-agent-native-audit
Score each of the 5 agent-native principles (parity, granularity, composability, emergent capability, improvement-over-time) against a codebase and report gaps.
release
Generate changelog, bump version, and create git tag.
ia-report-bug
Report a bug in the whetstone plugin.