docs

docs is a skill for Claude Code from softspark/ai-toolkit. It costs 29 tokens per session (1,002 once invoked), scanned A, original, Apache-2.0.

A documentation generator and updater for software projects. It creates or maintains READMEs, API references, architecture notes, changelogs, comments, and knowledge-base entries.

In plain words
What is it for?
Explaining how a project works, documenting APIs, recording architecture decisions, and maintaining structured knowledge-base pages.
Why use it?
It removes the need to write common project documentation from scratch and helps keep existing documents current.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; reads .claude/ paths.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Explaining how a project works, documenting APIs, recording architecture decisions, and maintaining structured knowledge-base pages.

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

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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/softspark/ai-toolkit/docs/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/docs)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/docs"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/docs/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 docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/docs"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,002 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 52
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00029 $0.01002
Opus 5 $0.00015 $0.00501
Sonnet 5 $0.00006 $0.00200
Haiku 4.5 $0.00003 $0.00100

Measured 8d ago against content hash 680572f721a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/doc-inventory.py), 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.

app/skills/docs/SKILL.md · 162 lines

How it starts

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

Generate Documentation

$ARGUMENTS

Generate or update documentation.

Usage

/docs [type] [target]

What This Command Does

  1. Analyzes code structure
  2. Extracts documentation info
  3. Generates documentation files
  4. Updates existing docs

Documentation Types

Type Description
readme Generate/update README
api API documentation
architecture-note Architecture note
changelog Generate changelog
comments Add code comments
kb Knowledge base entry (enforces KB structure)

KB Document Rules (MANDATORY)

When creating or updating documents in the kb/ directory, follow the documentation-standards knowledge skill (auto-loaded). Key rules:

  • 7 required frontmatter fields: title, category, service, tags, created, last_updated, description
  • 6 valid categories: reference, howto, procedures, troubleshooting, best-practices, planning
  • Category must match directory (e.g., category: howtokb/howto/)
  • English only. No exceptions.
  • validate.sh rejects docs without valid frontmatter.

Full spec: see app/skills/documentation-standards/SKILL.md.

Templates

README Generation

# [Project Name]

[Auto-generated description]

## Installation
[Detected from package manager]

## Usage
[Extracted from code/examples]

## API
[Extracted from code]

## License
[Detected]

Architecture Note Template

# Architecture Note: [TITLE]

## Status
Proposed

## Context
[What is the issue?]

## Decision
[What was decided?]

## Consequences
[What are the results?]

## Date
[Today's date]

Output Format

## Documentation Report

### Generated
- [file 1]
- [file 2]

### Updated
- [file 3]: [what changed]

### Skipped
- [file 4]: [reason]

### Next Steps
- [ ] Review generated docs
- [ ] Add missing details
- [ ] Commit changes

Common Rationalizations

Excuse Why It's Wrong
"The code is self-documenting" Code shows how, not why — decisions, constraints, and context need prose
"Nobody reads docs anyway" People don't read bad docs — good docs are the first thing consulted
"I'll document it when it's stable" Unstable code needs docs most — document intent so others can contribute
"Comments get stale" That's an argument for maintaining docs, not skipping them
"The tests are the documentation" Tests verify behavior but don't explain architecture, trade-offs, or setup

Read the full file on GitHub · 162 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 162 lines · 29 tokens per session scan A 680572f721a4

Subscribe to this mod's changes

docs is a skill published in the GitHub repository softspark/ai-toolkit (172 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 1,002 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

tech-doc-writer

A guide for writing, reviewing, and improving technical documents such as API documentation, design documents, runbooks, and incident reports.

johnqtcg/awesome-skills · 133 tokens

local-transcript

Transcribe a specified local video or audio file into cleaned final .txt, .pdf, or .docx transcripts using speech recognition with Apple Silicon GPU acceleration and optional LLM-based proofreading. Use when the user wants text extracted from a local media file path such as .mp4, .mov, .mkv, .webm, .mp3, .m4a, or…

johnqtcg/awesome-skills · 139 tokens

file-processor-subagent

Sous-agent de traitement de fichiers — lecture, parsing, transformation et génération de fichiers multiformats. Se déclenche avec "sous-agent fichier", "file processing agent", "agent qui traite des fichiers", "PDF agent", "Excel agent", "document processor", "file parser agent". Also triggers on "agent that parses…

khalilbenaz/claude-skills-collection · 80 tokens

llm-text-hygiene

Skill "llm-text-hygiene" from ellmos-ai/skills, covering übersicht & zweck, prüfkatalog, 2. platzhalter und baustellen-marker (eindeutig → auflösen), 4. ai-disclosure (prüfen → korrigieren) and ablauf.

ellmos-ai/skills · 0 tokens

tageszeitung

Creates a personalised daily newspaper from RSS feeds and web sources. Ported from the BACH news system (news.py + newspapergenerator.py). Own SQLite store (no Origin-DB). feedparser optional — XML fallback via stdlib. PDF export via Edge Headless (msedge.exe).

ellmos-ai/skills · 63 tokens

steuer-assistent

Points to the standalone module steuer-assistent: a local, offline-first receipt worksheet for German employee income-related expenses (Werbungskosten) -- record, sum to the cent, private ZIP export. Use this skill when Werbungskosten receipts should be prepared in a structured way -- with a clear boundary: not tax…

ellmos-ai/skills · 0 tokens