documentation-writer

documentation-writer is an agent for coding agents from ashrafmusa/agenticana. It costs 0 tokens per session (2,397 once invoked), scanned A, original, MIT.

An assistant for writing and updating technical documentation, such as instructions that explain how software works.

In plain words
What is it for?
It helps create READMEs, API descriptions, code comments, tutorials, how-to guides, changelogs, release notes, AI-readable project files, and architecture decision records.
Why use it?
It helps keep documentation clear, organized, useful to its audience, and updated as the project changes.

Agent

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 agents/ashrafmusa/agenticana/documentation-writer
Clone the repo
git clone --depth 1 https://github.com/ashrafmusa/agenticana

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 documentation-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ashrafmusa/agenticana/documentation-writer.svg)](https://agentmods.dev/agents/ashrafmusa/agenticana/documentation-writer)
Your own site
<a href="https://agentmods.dev/agents/ashrafmusa/agenticana/documentation-writer"><img src="https://agentmods.dev/badge/agents/ashrafmusa/agenticana/documentation-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.02397
Opus 5 $0.00000 $0.01198
Sonnet 5 $0.00000 $0.00479
Haiku 4.5 $0.00000 $0.00240

Measured 5d ago against content hash 279bbec02ce0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

documentation-writer 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 5d 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.

agents/documentation-writer.md · 358 lines

How it starts

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

Documentation Writer Agent

A specialized assistant for creating clear, comprehensive technical documentation


🎯 When to Use This Agent

USE THIS WHEN:

  • Writing or updating README files
  • Documenting API endpoints
  • Adding code comments (JSDoc, TSDoc, docstrings)
  • Creating tutorials or how-to guides
  • Writing changelogs and release notes
  • Setting up llms.txt for AI discovery
  • Creating Architecture Decision Records (ADRs)

DO NOT USE THIS DURING:

  • Normal development/coding sessions
  • Debugging or troubleshooting
  • Code reviews
  • Architecture discussions
  • Sprint planning

🧠 Core Philosophy

"Documentation is a gift to your future self and your team."

Guiding Principles

Principle Meaning
Clarity over completeness Better short and clear than long and confusing
Examples matter Show, don't just tell
Keep it updated Outdated docs are worse than no docs
Audience first Write for who will read it
Scannable structure Headings, lists, and tables beat paragraphs

🤔 Documentation Decision Tree

What needs documenting?
│
├── 📖 New project / Getting started
│   └── README with Quick Start (5-min setup)
│
├── 🔌 API endpoints
│   ├── OpenAPI/Swagger (preferred)
│   └── Dedicated API docs with examples
│
├── ⚙️ Complex function / Class
│   ├── JSDoc/TSDoc for JavaScript/TypeScript
│   └── Docstrings for Python/other languages
│
├── 🏛️ Architecture decision
│   └── ADR (Architecture Decision Record)
│       Format: Title, Context, Decision, Consequences
│
├── 📦 Release changes
│   └── Changelog (Keep a Changelog format)
│       [Unreleased] → [1.0.0] → etc.
│
├── 🤖 AI/LLM discovery
│   └── llms.txt + structured headers
│
├── 📚 Tutorial / How-to guide
│   └── Step-by-step with working examples
│
└── ❓ Something else
    └── Start with: Who is the audience? What do they need?

📝 Documentation Templates

README Template

# {Project Name}
> {One-sentence description - what does it do?}

## ✨ Features
- {Feature 1}: {Brief benefit}
- {Feature 2}: {Brief benefit}

## 🚀 Quick Start
```bash

Read the full file on GitHub · 358 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. 5d ago First seen · 358 lines · 0 tokens per session scan A 279bbec02ce0

Subscribe to this mod's changes

documentation-writer is an agent published in the GitHub repository ashrafmusa/agenticana (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,397 tokens. 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-31.

Related

Other agents, from other repositories

software-research-assistant

Implementation research on a specific named software library, framework, package, SDK, CLI, or API: usage, current best practices, version/compatibility facts, and source-traced code. Use for "how do I implement X" or "which package for Y". Not for general web research, market comparison, conceptual explainers, or…

sammcj/agentic-coding · 0 tokens

step-back

Use when you suspect the current approach is over-engineered, over-abstracted, or solving an imagined problem rather than the real one. Invokes a sceptical mid-task design review that will return it's analysis. Read-only - won't make changes.

sammcj/agentic-coding · 53 tokens

critical-reviewer

Fresh-context critical review of recent changes (code, documentation, plans, or designs). Read-only. Finds problems and reports prioritised findings for the caller to act on. Use when a self-review or critical review of completed work is requested.

sammcj/agentic-coding · 52 tokens

compression-editor

Use when the user, task, or situation calls for making written content more concise or terse - compressing, tightening, or cutting verbosity from prose, instructions, skills or documentation without losing meaning or signal. Do NOT use on source code, or to summarise (it preserves everything; it only says it shorter).

sammcj/agentic-coding · 66 tokens

quick-researcher

Fast, read-only web research that returns the shortest sufficient answer to a factual question, with a source link per claim. Use for "what/which/when/how much/is X still..." questions answerable from the live web without bloating the main conversation context. Not for software implementation guides (use…

sammcj/agentic-coding · 0 tokens

azure-iac-exporter

Export existing Azure resources to Infrastructure as Code templates via Azure Resource Graph analysis, Azure Resource Manager API calls, and azure-iac-generator integration. Use this skill when the user asks to export, convert, migrate, or extract existing Azure resources to IaC templates (Bicep, ARM Templates…

github/awesome-copilot · 70 tokens