kube-agents: Skill for Claude Code

.agents/skills/review-docs-drift/SKILL.md

review-docs-drift is a skill for Claude Code, Codex from gke-labs/kube-agents. It costs 44 tokens per session (2,019 once invoked), scanned A, original, Apache-2.0.

A pull-request review for outdated or inaccurate documentation. A pull request is a proposed set of code changes for review before it is merged.

In plain words
What is it for?
Finding documents that need updates, checking claims against source code, and detecting stale documentation maps or project instructions.
Why use it?
It catches cases where code changes make documentation wrong, or documentation changes no longer match the code and the repository’s rules.

Skill for Claude CodeCodex

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

This is gke-labs/kube-agents's own configuration. It tells Claude Code and Codex how to work on kube-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kube-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gke-labs/kube-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gke-labs/kube-agents/main/.agents/skills/review-docs-drift/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gke-labs/kube-agents

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 review-docs-drift

README.md
[![agentmods](https://agentmods.dev/badge/skills/gke-labs/kube-agents/review-docs-drift/github.svg)](https://agentmods.dev/skills/gke-labs/kube-agents/review-docs-drift)
Your own site
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/review-docs-drift"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/review-docs-drift/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 review-docs-drift

Your own site · 80×15
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/review-docs-drift"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/review-docs-drift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,019 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 75
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Excessive Agency · line 85
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00044 $0.02019
Opus 5 $0.00022 $0.01009
Sonnet 5 $0.00009 $0.00404
Haiku 4.5 $0.00004 $0.00202

Measured today against content hash cdb114e779a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

review-docs-drift 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 today.

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/review-docs-drift/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Task

Given a pull request (a branch diff against main), determine whether the repository's documentation is still accurate after the change, and report exactly which documents need updating and why. You are checking two directions:

  1. Code → docs: the PR changed behavior, names, defaults, paths, or structure that some document states as fact.
  2. Docs → source: the PR changed documentation, and what it now says must match the source of truth, the repo's documentation rules, and the other docs.

Your two navigation instruments are:

  • AGENTS.md (repo root) — owns the documentation RULES: the canonical-home table (one home per fact), the generated-region rule, link-don't-summarise, no PR-status prose, verify-identifiers-against-source.
  • docs/README.md — the documentation MAP: what lives where, what each document covers, which files carry generated regions and from which sources, and which source files own the identifiers that docs state as fact.

This skill deliberately holds no repository facts of its own — no file lists, no agent topology, no counts. Facts live in the two instruments above and in the sources they point to; when this skill and a source disagree, the source wins and this skill needs fixing.

Read both before reviewing the diff.

Procedure

1. Collect the change surface

  • git diff --stat main...HEAD (or the PR's base) — list every changed file.
  • Classify each changed path:
    • Source of a generated region? Check the generated-regions table in the map (docs/README.md §2). If the changed file — or its frontmatter or comment banner — feeds a generated region, that region must be regenerated (make docs-generate) and committed.
    • Source of documented identifiers? Check the identifier-sources table in the map (docs/README.md §2). If the changed file owns names, defaults, versions, section numbering, or baked paths that docs state as fact, find every doc that states a fact about the changed item.
    • Doc file? → review it under step 3.
    • Anything else (code, scripts, workflows, examples) → check the map for pages that describe that component.

Read the full file on GitHub · 86 lines

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. today Changed cdb114e779a2
  2. 11d ago First seen · 86 lines · 44 tokens per session scan A d624339f465a

Subscribe to this mod's changes

review-docs-drift is a skill published in the GitHub repository gke-labs/kube-agents (53 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 2,019 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-08-30.