documentation-consistency-skill

documentation-consistency-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 33 tokens per session (908 once invoked), scanned B, original, Apache-2.0.

A documentation audit and repair workflow for checking whether repository documents match the files and project state. It compares items such as skill counts, plans, README tables, AGENTS.md, and deployment scripts.

In plain words
What is it for?
Use it after adding, removing, or renaming skills or agents, and before a pull request or periodic documentation health check.
Why use it?
It finds documentation drift, such as stale checkboxes, missing sections, orphaned names, and counts that no longer match reality. It can also repair the inconsistencies it detects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions OpenCode.

Good fit Use it after adding, removing, or renaming skills or agents, and before a pull request or periodic documentation health check.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/documentation-consistency-skill
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 darellchua2/opencode-config-template --skill documentation-consistency-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

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 documentation-consistency-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/documentation-consistency-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/documentation-consistency-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/documentation-consistency-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/documentation-consistency-skill/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 documentation-consistency-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/documentation-consistency-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/documentation-consistency-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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: 1 finding, 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 Excessive Agency · line 245
    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.00033 $0.00908
Opus 5.5 $0.00013 $0.00363
Sonnet 5.5 $0.00007 $0.00182
Haiku 4.5 $0.00003 $0.00091

Measured 2mo ago against content hash 429b83f80788, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

documentation-consistency-skill scanned grade B with 1 finding 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 2mo 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/documentation-consistency-skill/SKILL.md · 77 lines

How it starts

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

What I do

Audit and auto-fix doc consistency in this configurator repo: counts across files, PLAN-vs-reality drift, orphan references. Source of truth is always actual files on disk.

When to use me

After adding/removing skills or agents; before PR; after bulk changes; during plan execution (targeted mode).

Validation levels

Level Checks Use case
quick count sync only pre-commit
standard counts + PLAN drift + orphans after a session
thorough all categories pre-PR, bulk changes
targeted one PLAN file, all categories during execution

Related: documentation-sync-workflow-skill (count-sync procedure when adding skills/agents) · plan-execution-skill (--update; checkbox commits).

Category 1 — Cross-file count sync

Actual: ls -d skills/*/ | grep -v _archived | grep -v scripts | wc -l (agents: ls agents/*.md | wc -l). Must match every reference:

File Pattern
deploy/setup.sh / deploy/setup.ps1 SKILLS ( total + per-category counts
README.md <N> skills, Skill Categories table
AGENTS.md <N> skill refs, directory-tree comments

Auto-fix: count on disk → grep each file's patterns → edit mismatches to actual → per-category counts must sum to total.

Category 2 — PLAN vs reality drift

Per PLAN file: stale checkboxes (done work [ ] / undone [x]) · Scope-section files vs git diff --name-only <base> on the branch · acceptance criteria vs implementation · completed phases fully [x] · PLAN branch header vs git branch --show-current. Commands: grep -n "\- \[ \]" <PLAN> vs actual state; scope vs git diff --name-only.

Category 3 — Orphan references

Skill/agent names referenced in docs/scripts that no longer exist on disk (and vice versa: shipped-but-undocumented skills). grep -rn '<name>' README.md AGENTS.md deploy/ after any rename/removal; broken §-anchor pointers in the AGENTS.md chain must resolve in their target skill. Deletions update ALL referencing files in the same commit.

Read the full file on GitHub · 77 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. 2mo ago Changed · +1 lines 429b83f80788
  2. 2mo ago Changed 696299eef981
  3. 2mo ago Changed · -381 lines scan A → B b56e5f6f3026
  4. 2mo ago Changed b6bd7ddd4505
  5. 3mo ago First seen · 457 lines · 33 tokens per session scan A f2c65b51c24d

Subscribe to this mod's changes

documentation-consistency-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 908 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

documentation-consistency-skill compared with skills from other repositories

documentation-consistency-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentation-consistency-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0B33Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code