oma-docs

oma-docs is a skill for Claude Code, Codex from gracefullight/docusaurus-plugins. It costs 57 tokens per session (3,595 once invoked), scanned C, original, MIT.

A documentation checker that compares written project instructions with the current codebase.

In plain words
What is it for?
Use it to verify documentation, identify broken references, and propose updates to docs affected by a code change.
Why use it?
It finds stale file paths, commands, settings, and environment-variable references after code changes or before a release.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gracefullight/docusaurus-plugins/oma-docs
Any agent
npx skills add gracefullight/docusaurus-plugins --skill oma-docs
Clone the repo
git clone --depth 1 https://github.com/gracefullight/docusaurus-plugins

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 oma-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/gracefullight/docusaurus-plugins/oma-docs.svg)](https://agentmods.dev/skills/gracefullight/docusaurus-plugins/oma-docs)
Your own site
<a href="https://agentmods.dev/skills/gracefullight/docusaurus-plugins/oma-docs"><img src="https://agentmods.dev/badge/skills/gracefullight/docusaurus-plugins/oma-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,595 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00057 $0.03595
Opus 5 $0.00028 $0.01798
Sonnet 5 $0.00011 $0.00719
Haiku 4.5 $0.00006 $0.00360

Measured yesterday against content hash e2373cfc3219, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

oma-docs scanned grade C 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

9. **Escape hatch respected**: `<!-- oma-docs:ignore-start -->` / `<!-- oma-docs:ignore-end -->` blocks and frontmatter `oma-docs: skip` are honored; no ref extraction from ignored regions.
.agents/skills/oma-docs/SKILL.md · 232 lines

How it starts

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

oma-docs - Documentation Drift Detector

Scheduling

Goal

Detect broken references in docs/**/*.md (verify mode) and propose LLM-generated patch proposals for docs affected by recent code changes (sync mode). Both modes run on-demand; sync is always interactive.

Intent signature

  • User asks to check if docs are up to date, find broken doc links, verify file paths referenced in docs, or detect documentation drift.
  • User asks to update docs after a code change, propose doc patches for a git diff, or sync affected docs.
  • A workflow hook checks docs.auto_verify: true and runs oma docs verify --json at completion.

When to use

  • After a refactor, rename, or file deletion, to find stale references in docs.
  • Before a release, to confirm that CLI commands, file paths, and config keys in docs still exist.
  • After a significant git diff, to discover which docs reference the changed files and may need updating.
  • Routine drift check on any docs-heavy repo.

When NOT to use

  • Generating docs from scratch for undocumented features → v2 create mode.
  • Multilingual translation of docs → use oma-translator.
  • Symbol-level semantic drift (function signature changes not reflected in prose) → v2 L3 mode.
  • CI-blocking enforcement → v2 block mode (v1 is warn-only).

Expected inputs

verify mode: Optional glob path (default **/*.md), optional --json flag, optional --report-file <path>.

sync mode: Optional git diff range (default --cached, fallback HEAD~1..HEAD).

Expected outputs

verify mode:

  • Markdown drift report to stdout (default), or raw JSON with --json, or full markdown written to file with --report-file.
  • Exit code 0 if clean, 1 if any broken refs found.

sync mode:

  • Per-doc patch proposals drafted by the host LLM from the CLI's candidate-doc list, confirmed per doc ([y] apply [n] skip [d] diff [s] full proposal style).
  • Docs modified only on explicit user approval; doc-refs.json regenerated after applies.

Read the full file on GitHub · 232 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. yesterday First seen · 232 lines · 57 tokens per session scan C e2373cfc3219

Subscribe to this mod's changes

oma-docs is a skill published in the GitHub repository gracefullight/docusaurus-plugins (22 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 3,595 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). 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

testing

Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.

iOfficeAI/AionUi · 55 tokens

add-adapter

Add a vendor-official or community adapter to the Chat SDK catalog and docs — adapters.json registry, chat/adapters catalog entry, the docs MDX page, meta.json, integration-test lists, and a changeset. Use when a developer wants to add, list, register, or submit a third-party (vendor-official or community) adapter to…

vercel/chat · 109 tokens

draft-release

Draft a GitHub release (as a draft, not published) for an upcoming obot minor release by analyzing git history since the previous release. Use when the user asks to draft a release, prepare release notes, or write release notes for an upcoming vX.Y.0 release. Creates a DRAFT GitHub release; never publishes it and…

obot-platform/obot · 78 tokens

rewrite-security-advisory

Rewrite an obot GitHub security advisory into Obot's short, user-facing format (Summary / Am I affected? / Details / Impact / Mitigation / Severity / Credits). Use when the user gives a GHSA id or advisory URL and asks to rewrite, simplify, or reformat it. Writes the result to a markdown file in the repo root for the…

obot-platform/obot · 87 tokens

claude-code-dmwork

Connect to DMWork messaging platform as an AI bot via the OpenClaw DMWork adapter plugin.

Mininglamp-OSS/octo-server · 0 tokens

vs-chat

Conversational search runtime: send messages, keep sessions consistent, and verify retrieval behavior and responses.

volcengine/SearchCLI · 22 tokens