docs

docs is a skill for Claude Code, Codex from Jebel-Quant/rhiza-claude. It costs 46 tokens per session (2,595 once invoked), scanned A, original, MIT.

A documentation helper for a software repository that creates or refreshes its README, contributor guidance, and MkDocs configuration. It checks the repository and project files to find current details.

In plain words
What is it for?
Use it to create or update README.md, CLAUDE.md, and mkdocs.yml, either individually or together. It can add missing standard sections and correct outdated repository facts.
Why use it?
It avoids manually writing common project documentation and helps keep existing documentation from being overwritten. It also limits changes to files, without creating commits or pull requests.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the rhiza plugin — 10 skills, 1 hook shipped together

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/jebel-quant/rhiza-claude/docs
Any agent
npx skills add Jebel-Quant/rhiza-claude --skill docs
Clone the repo
git clone --depth 1 https://github.com/Jebel-Quant/rhiza-claude

Made for: Claude Code, Codex.

Or install rhiza, the plugin that ships this one along with the rest of its 10 skills, 1 hook.

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 docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/jebel-quant/rhiza-claude/docs.svg)](https://agentmods.dev/skills/jebel-quant/rhiza-claude/docs)
Your own site
<a href="https://agentmods.dev/skills/jebel-quant/rhiza-claude/docs"><img src="https://agentmods.dev/badge/skills/jebel-quant/rhiza-claude/docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,595 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00046 $0.02595
Opus 5 $0.00023 $0.01298
Sonnet 5 $0.00009 $0.00519
Haiku 4.5 $0.00005 $0.00260

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

Security

Grade A, and why

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

plugin/skills/docs/SKILL.md · 164 lines

How it starts

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

You are running /docs in the current working directory's repo. Goal: author the three top-of-repo documentation files — README.md, CLAUDE.md, mkdocs.yml — or, where they exist, refresh them in place.

Argument (optional): $ARGUMENTSreadme, claude, or mkdocs for just that file; all (or empty) for all three.

Refresh, don't clobber. Existing prose, tables, and section order are authoritative. You may only: replace the generated badge block, add missing standard sections, and correct stale facts (wrong owner/repo, dead workflow name, changed template version). Never delete a hand-written section to standardise it — report it instead. Prefer Edit over Write on an existing file so the diff stays reviewable; Write is for scaffolding a file that isn't there.

Detect, never hardcode. Every fact comes from this repo at runtime. Nothing about jebel-quant/rhiza is assumed.

1. Detect the repo's facts

  • Root + cleanlinessgit rev-parse --show-toplevel, and note git status --porcelain. A dirty tree is fine (you're editing docs) but say what the user is mixing your changes with.
  • Platform + OWNER/REPO from git remote get-url origin: github.com → GitHub; a GitLab host → GitLab. No remote ⇒ ask, or scaffold with OWNER/REPO placeholders and flag them.
  • Default branch + visibility — one call, both platforms:
    uv run --python 3.12 --no-project python \
      "${CLAUDE_PLUGIN_ROOT}/scripts/platform_cli.py" repo-view --json
    
    It returns default_branch and visibility normalised, which matters: gh answers PUBLIC and glab answers public, so comparing the raw value gives a platform-dependent answer. Exit 1 (no CLI, or logged out) ⇒ fall back to main and treat visibility as unknown.
  • Language, and therefore which manifest to read — ask rather than assume pyproject.toml:
    uv run --python 3.12 --no-project python "${CLAUDE_PLUGIN_ROOT}/scripts/language_profile.py" --json
    
    It returns the language, its manifest and its source_root. Exit 1 means undetermined — scaffold without language-specific facts rather than guessing Python.
  • Project metadata — from the manifest that detection named. pyproject.toml: project.name, description, requires-python/classifiers (→ Python versions), license. Cargo.toml: [package] name, description, edition, license. go.mod: the module path and the go directive (→ Go version). From .rhiza/template.yml: the template ref.
  • CI workflowfind .github/workflows -maxdepth 1 -name '*.yml', preferring one named *ci* (rhiza ships rhiza_ci.yml); or .gitlab-ci.yml. A badge must point at a workflow that exists.
  • License — a LICENSE/LICENSE.md file and its SPDX id.
  • Coverage service — a codecov.yml/.codecov.yml, a Codecov step in CI, or an existing coverage badge.
  • ruff/uv usageruff.toml or a [tool.ruff] table; a uv.lock or uv_build backend. (Visibility comes from the repo-view call above, which — unlike the bare gh repo view --json visibility this used to name — also answers on GitLab.)

Read the full file on GitHub · 164 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. 5d ago First seen · 164 lines · 46 tokens per session scan A 9719198c6aa0

Subscribe to this mod's changes

docs is a skill published in the GitHub repository Jebel-Quant/rhiza-claude (4 stars, last pushed 6d ago), licensed MIT. It adds 46 tokens to every session and 2,595 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-31.