docs-as-code

docs-as-code is a skill for Claude Code, Codex from spjoshis/claude-code-plugins. It costs 23 tokens per session (679 once invoked), scanned A, original, no licence file.

A way to manage documentation like software code, using Git, Markdown, website generators, and automated publishing.

In plain words
What is it for?
Use it to maintain documentation in a code repository and publish it through an automated pipeline.
Why use it?
It keeps documentation changes reviewable and makes publishing repeatable.

Skill for Claude CodeCodex

Part of the technical-writer plugin — 4 skills 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/spjoshis/claude-code-plugins/docs-as-code
Any agent
npx skills add spjoshis/claude-code-plugins --skill docs-as-code
Clone the repo
git clone --depth 1 https://github.com/spjoshis/claude-code-plugins

Made for: Claude Code, Codex.

Or install technical-writer, the plugin that ships this one along with the rest of its 4 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 docs-as-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/spjoshis/claude-code-plugins/docs-as-code.svg)](https://agentmods.dev/skills/spjoshis/claude-code-plugins/docs-as-code)
Your own site
<a href="https://agentmods.dev/skills/spjoshis/claude-code-plugins/docs-as-code"><img src="https://agentmods.dev/badge/skills/spjoshis/claude-code-plugins/docs-as-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00023 $0.00679
Opus 5 $0.00012 $0.00340
Sonnet 5 $0.00005 $0.00136
Haiku 4.5 $0.00002 $0.00068

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

Security

Grade A, and why

docs-as-code 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 2d 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.

plugins/technical-writer/skills/docs-as-code/SKILL.md · 119 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 119 lines · 23 tokens per session scan A c91cf5a24218

Subscribe to this mod's changes

docs-as-code is a skill published in the GitHub repository spjoshis/claude-code-plugins (6 stars, last pushed 6mo ago), with no licence file. It adds 23 tokens to every session and 679 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

utility-pm-changelog-curator

Draft CHANGELOG entries from git log via the pm-changelog-curator sub-agent, applying the repo hygiene rules (describe what changed, public paths only, no attribution trailers). Returns a layered draft with a status summary for maintainer review; refuses a dirty working tree unless --committed-only is passed. Use when…

product-on-purpose/pm-skills · 80 tokens

comfy-node

Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.

laurigates/claude-plugins · 46 tokens

commit-message-writing

Use this skill when the user explicitly asks to generate, write, draft, or create a commit message, squash commit, commit title, or merge commit message for the Shopware core repository (shopware/shopware). Supports two modes — full commit messages (title + body) for branch commits, and squash merge titles…

shopwareLabs/ai-coding-tools · 160 tokens

commit-push-pr

Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body.

OutlineDriven/odin-claude-plugin · 31 tokens

commit

Use when a user asks to commit or save staged or unstaged changes, create a typed branch, or format history for changelog generation. Each logical concern is committed with a conventional-commits message carrying SemVer effect and issue-closing footers. Not for rewriting existing commit messages; use commit-economy.

OutlineDriven/odin-claude-plugin · 66 tokens

git-branchless

Use when asked for multi-commit stack edits, rebases, fixups, or stacked-PR publishing with branchless git idioms and a publish gate. Not for plain-git workflows in repos without branchless; the skill stays inert there. Human-only.

OutlineDriven/odin-claude-plugin · 58 tokens