doc

doc is a skill for Claude Code from boshu2/agentops. It costs 41 tokens per session (1,747 once invoked), scanned A, original, Apache-2.0.

A guide for generating and checking project documentation, including READMEs, code documentation, code maps, and open-source documentation packs.

In plain words
What is it for?
Use it to document a repository, generate a README, create missing open-source docs, or audit documentation against the current code.
Why use it?
It reduces the risk of writing documentation that describes outdated or invented project behavior.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Part of the agentops plugin — 25 skills shipped together

Good fit Use it to document a repository, generate a README, create missing open-source docs, or audit documentation against the current code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boshu2/agentops/doc
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 boshu2/agentops --skill doc
Clone the repo
git clone --depth 1 https://github.com/boshu2/agentops

Made for: Claude Code.

Or install agentops, the plugin that ships this one along with the rest of its 25 skills.

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 doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshu2/agentops/doc/github.svg)](https://agentmods.dev/skills/boshu2/agentops/doc)
Your own site
<a href="https://agentmods.dev/skills/boshu2/agentops/doc"><img src="https://agentmods.dev/badge/skills/boshu2/agentops/doc/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 doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshu2/agentops/doc"><img src="https://agentmods.dev/badge/skills/boshu2/agentops/doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,747 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
  • Socket pass 1 Nov 2026
  • Snyk pass 1 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00041 $0.01747
Opus 5.5 $0.00016 $0.00699
Sonnet 5.5 $0.00008 $0.00349
Haiku 4.5 $0.00004 $0.00175

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

Security

Grade A, and why

doc 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 19d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/audit-oss-docs.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/doc/SKILL.md · 121 lines

How it starts

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

Doc

Write or update the documentation the caller needs, grounded in the current repository and its accepted intent. A small explanation needs no interview, coverage ledger or separate report. Select only the mode relevant to the task.

Modes

Need Scope and reference
Explain an API, command, code-map or architecture Inspect its consumers, source and tests, and write to the existing document owner. A coverage percentage needs a numerator and denominator from one enumerated, checked entity set (validation techniques). How the code works is Research's repository tracing; Doc writes it down when a document is requested.
Create or improve a README Lead with the user's problem and a working first-use path; preserve useful depth. See README craft.
Check an advertised install, upgrade or first-success path Follow the selected package and current instructions in an authorized disposable environment. See developer journey.
Audit or scaffold OSS documentation Compare existing docs with the requested pack. Create missing files; revise existing files only within the authorized request. See OSS pack.
Initialize missing entry documents Create only explicitly requested missing files; report existing paths as skipped. See setup examples.
Bring docs current after a change, describe a change for reviewers, or write release notes for a range Start from the exact diff and its public surface; fix what it proves wrong and ask about judgment calls. See change-driven docs.
Preserve a session for another context, or resume from one Read the handoff reference before writing or resuming one. A handoff records only facts you observed: anything else is unknown or the caller's unverified claim, and a note saying HOLD or paused is not state.
Get facts or decisions only another person holds Write one questionnaire they can answer alone; the caller sends it.

Read the full file on GitHub · 121 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. 19d ago Changed · -75 lines 2d8b1dce5b6c
  2. 1mo ago Changed e560b35dfe6b
  3. 1mo ago Changed · -4 tokens per session 20629df5b547
  4. 1mo ago Changed · +58 lines · +7 tokens per session 6e85c99df1c2
  5. 1mo ago Changed · +1 lines a9bdfedeae82
  6. 1mo ago Changed · +4 lines · +5 tokens per session 78eb073e0826
  7. 1mo ago Changed · +28 lines 0d403d974126
  8. 2mo ago Changed · -28 lines 489870712e20
  9. 2mo ago Changed · -23 lines · -1 tokens per session 29a3cb5adf08
  10. 2mo ago First seen · 156 lines · 34 tokens per session scan A f37768715dc6

Subscribe to this mod's changes

doc is a skill published in the GitHub repository boshu2/agentops (464 stars, last pushed yesterday), licensed Apache-2.0. It adds 41 tokens to every session and 1,747 once invoked, about $0.0002 per session on Opus 5.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.

Related

doc compared with skills from other repositories

doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docboshu2/agentopsSkill464yesterdayApache-2.0A41Claude Code
brainstormOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A85Claude Code, Codex
audit-projectOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A50Claude Code, Codex
commit-push-prOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A46Claude Code, Codex
commitOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A46Claude Code, Codex
duetOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A28Claude Code, Codex
prototypeOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A36Claude Code, Codex