oss-write-docs

oss-write-docs is a skill for Claude Code, Codex from chiruu12/OSS-Skills. It costs 82 tokens per session (2,487 once invoked), scanned A, original, MIT.

A workflow for improving documentation in an open-source software repository. It finds missing or outdated information, checks claims against the code, and verifies examples.

In plain words
What is it for?
Use it to fix setup guides, add API documentation, clarify READMEs, or check documentation examples when contributing to an open-source project.
Why use it?
It helps prevent setup instructions, API descriptions, and README examples from misleading users or becoming inconsistent with the software.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fix setup guides, add API documentation, clarify READMEs, or check documentation examples when contributing to an open-source project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chiruu12/oss-skills/oss-write-docs
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 chiruu12/OSS-Skills --skill oss-write-docs
Clone the repo
git clone --depth 1 https://github.com/chiruu12/OSS-Skills

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 oss-write-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/chiruu12/oss-skills/oss-write-docs.svg)](https://agentmods.dev/skills/chiruu12/oss-skills/oss-write-docs)
Your own site
<a href="https://agentmods.dev/skills/chiruu12/oss-skills/oss-write-docs"><img src="https://agentmods.dev/badge/skills/chiruu12/oss-skills/oss-write-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,487 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.
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.00082 $0.02487
Opus 5 $0.00041 $0.01243
Sonnet 5 $0.00016 $0.00497
Haiku 4.5 $0.00008 $0.00249

Measured 7d ago against content hash 6357fe560f0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

oss-write-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 7d 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.

skills/oss-write-docs/SKILL.md · 228 lines

How it starts

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

Write Docs

Contribute documentation that a maintainer would write — accurate, audience-aware, and verified against the actual code. Docs contributions have different mechanics than code PRs: you need to understand who reads the docs, verify every claim against source code, and test every example.

Purpose

Documentation contributions are undervalued by contributors and overvalued by maintainers. Most contributors skip docs because they don't feel like "real" contributions. But outdated docs cause more user frustration than most bugs, and maintainers rarely have time to keep docs current. This skill guides you through finding real documentation gaps, verifying accuracy against the code, and writing docs that match the repo's voice and style.

When to Use

  • You've found outdated setup instructions (you followed them and they didn't work)
  • Public API methods or functions lack documentation
  • README assumes knowledge that new users don't have
  • Code examples in docs don't run or produce wrong output
  • Error messages reference docs that don't exist
  • NOT for writing docs for your own project
  • NOT for adding inline code comments — that's part of code contributions
  • NOT when the repo has no docs infrastructure at all — discuss with maintainers first

Prerequisites

  • Repo forked, cloned, and set up (from oss-prep-to-contribute)
  • You've actually tried to USE the docs and found problems (not just skimming)
  • Understanding of the area you're documenting (or willingness to build it)

Process

1. Identify documentation gaps

The best doc contributions come from actually using the docs and finding where they fail.

# Find docs files
find . -name "*.md" -not -path "*/node_modules/*" -not -path "*/.git/*" | head -30
ls docs/ doc/ documentation/ wiki/ 2>/dev/null

# Check for docs framework
ls docusaurus.config.* mkdocs.yml conf.py book.toml .readthedocs.yml 2>/dev/null

# Find broken links in docs
grep -rn '\[.*\](.*\.md)' docs/ README.md | while read line; do
  file=$(echo "$line" | sed -n 's/.*(\([^)]*\.md\)).*/\1/p')
  [ -n "$file" ] && [ ! -f "$file" ] && echo "Broken link: $line"
done

# Find code examples and check if they reference current APIs
grep -rn '```' docs/ README.md --include="*.md" | head -20

Read the full file on GitHub · 228 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. 7d ago First seen · 228 lines · 82 tokens per session scan A 6357fe560f0d

Subscribe to this mod's changes

oss-write-docs is a skill published in the GitHub repository chiruu12/OSS-Skills (62 stars, last pushed 13d ago), licensed MIT. It adds 82 tokens to every session and 2,487 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

conventional-commit

Workflow for generating conventional commit messages following the Conventional Commits specification. MUST be invoked every time a commit is created. Guides construction of standardized commit messages with correct type, scope, description, body, and footer.

JanDeDobbeleer/oh-my-posh · 47 tokens

update-changelog

Update the CHANGELOG.md files of C# projects. Parameters: csroot C# SDK repository root.

Azure/azure-sdk-for-net · 25 tokens

writing-clearly-and-concisely

Apply whenever writing content a human will read — emails, documents, reports, documentation, messages, UI copy, commit messages, explanations, or any other prose. Applies Strunk's timeless rules for clearer, stronger, more professional writing.

JanDeDobbeleer/oh-my-posh · 55 tokens

commit

Stage, commit, push, open a PR, and merge to main. Use ONLY on explicit commit intent — user says "commit", "ship it", "push this", "open a PR", "merge to main", "let's commit this", or prefixes with /commit. Do NOT auto-invoke on vague end-of-task phrases ("we're done", "wrap up") — those require explicit…

pedrohcgs/claude-code-my-workflow · 105 tokens

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

catchup

Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.

oliver-kriska/claude-elixir-phoenix · 48 tokens