code-documenter

code-documenter is a skill for Claude Code, Codex from zacklecon/claude-skills. It costs 39 tokens per session (840 once invoked), scanned A, a copy of code-documenter, MIT.

Guidance for documenting software, from function and class explanations to API references, documentation websites, tutorials, and user guides. It supports formats and tools such as OpenAPI, JSDoc, Docusaurus, MkDocs, and VitePress.

In plain words
What is it for?
Use it to add docstrings, describe REST, GraphQL, WebSocket, or other APIs, create developer portals, write tutorials, and generate documentation reports.
Why use it?
It helps developers find undocumented code and present technical information in a consistent form. It also provides a way to report documentation coverage after the work.

Skill for Claude CodeCodex

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

Good fit Use it to add docstrings, describe REST, GraphQL, WebSocket, or other APIs, create developer portals, write tutorials, and generate documentation reports.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zacklecon/claude-skills/code-documenter"><img src="https://agentmods.dev/badge/skills/zacklecon/claude-skills/code-documenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 840 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 100% copy Near-identical to another mod 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.00039 $0.00840
Opus 5.5 $0.00016 $0.00336
Sonnet 5.5 $0.00008 $0.00168
Haiku 4.5 $0.00004 $0.00084

Measured 1mo ago against content hash a39c3e8eed77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-documenter 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 1mo 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.

Origin

This is a copy

100% identical to code-documenter — 23 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/code-documenter/SKILL.md · 88 lines

How it starts

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

Code Documenter

Documentation specialist for inline documentation, API specs, documentation sites, and developer guides.

Role Definition

You are a senior technical writer with 8+ years of experience documenting software. You specialize in language-specific docstring formats, OpenAPI/Swagger specifications, interactive documentation portals, static site generation, and creating comprehensive guides that developers actually use.

When to Use This Skill

  • Adding docstrings to functions and classes
  • Creating OpenAPI/Swagger documentation
  • Building documentation sites (Docusaurus, MkDocs, VitePress)
  • Documenting APIs with framework-specific patterns
  • Creating interactive API portals (Swagger UI, Redoc, Stoplight)
  • Writing getting started guides and tutorials
  • Documenting multi-protocol APIs (REST, GraphQL, WebSocket, gRPC)
  • Generating documentation reports and coverage metrics

Core Workflow

  1. Discover - Ask for format preference and exclusions
  2. Detect - Identify language and framework
  3. Analyze - Find undocumented code
  4. Document - Apply consistent format
  5. Report - Generate coverage summary

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Python Docstrings references/python-docstrings.md Google, NumPy, Sphinx styles
TypeScript JSDoc references/typescript-jsdoc.md JSDoc patterns, TypeScript
FastAPI/Django API references/api-docs-fastapi-django.md Python API documentation
NestJS/Express API references/api-docs-nestjs-express.md Node.js API documentation
Coverage Reports references/coverage-reports.md Generating documentation reports
Documentation Systems references/documentation-systems.md Doc sites, static generators, search, testing
Interactive API Docs references/interactive-api-docs.md OpenAPI 3.1, portals, GraphQL, WebSocket, gRPC, SDKs
User Guides & Tutorials references/user-guides-tutorials.md Getting started, tutorials, troubleshooting, FAQs

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 39 tokens per session scan A a39c3e8eed77

Subscribe to this mod's changes

code-documenter is a skill published in the GitHub repository zacklecon/claude-skills (3 stars, last pushed 8d ago), licensed MIT. It adds 39 tokens to every session and 840 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to code-documenter, differing in 23 lines, and is treated as a copy.

Related

Other skills, from other repositories

tdd-methodology-expert

Use proactively when you need to implement features or fix bugs using strict Test-Driven Development (TDD) methodology. This agent should be activated for any coding task that requires writing new functionality, refactoring existing code, or ensuring comprehensive test coverage, but should not be used for any…

rawveg/skillsforge-marketplace · 113 tokens

haveibeenpwned

HaveIBeenPwned API Documentation - Check if email accounts or passwords have been compromised in data breaches.

rawveg/skillsforge-marketplace · 28 tokens

laravel-prompts

Laravel Prompts - Beautiful and user-friendly forms for command-line applications with browser-like features including placeholder text and validation.

rawveg/skillsforge-marketplace · 27 tokens

midjourney-replicate-flux

Generate highly detailed, Midjourney-style image prompts optimized for the FLUX 1.1 Pro model on Replicate. Transform basic user descriptions into rich, cinematic prompts with professional photography qualities, dramatic lighting, and editorial-quality aesthetics. Use when users request image generation, need prompt…

rawveg/skillsforge-marketplace · 83 tokens

ai-summary-request

Adds an "AI Summary Request" footer component with clickable AI platform icons (ChatGPT, Claude, Gemini, Grok, Perplexity) that pre-populate prompts for users to get AI summaries of the website. Optionally creates an llms.txt file for enhanced AI discoverability. Use when users want to add AI platform integration…

rawveg/skillsforge-marketplace · 79 tokens

apify-js-sdk

Apify JS SDK Documentation - Web scraping, crawling, and Actor development.

rawveg/skillsforge-marketplace · 19 tokens