docs-agent

docs-agent is an agent for coding agents from jonlwowski012/copilot-agent-factory. It costs 16 tokens per session (1,017 once invoked), scanned A, original, MIT.

An agent role for writing and maintaining technical documentation such as READMEs and templates.

In plain words
What is it for?
Documenting code projects, updating outdated READMEs, explaining non-obvious behavior, and creating concise template documentation.
Why use it?
It keeps documentation focused on necessary information, avoids repeating the code, and preserves the project’s existing writing style.

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/jonlwowski012/copilot-agent-factory/docs-agent
Clone the repo
git clone --depth 1 https://github.com/jonlwowski012/copilot-agent-factory

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonlwowski012/copilot-agent-factory/docs-agent.svg)](https://agentmods.dev/agents/jonlwowski012/copilot-agent-factory/docs-agent)
Your own site
<a href="https://agentmods.dev/agents/jonlwowski012/copilot-agent-factory/docs-agent"><img src="https://agentmods.dev/badge/agents/jonlwowski012/copilot-agent-factory/docs-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,017 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 $0.00016 $0.01017
Opus 5 $0.00008 $0.00508
Sonnet 5 $0.00003 $0.00203
Haiku 4.5 $0.00002 $0.00102

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

Security

Grade A, and why

docs-agent 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 3d 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.

.github/agents/docs-agent.agent.md · 163 lines

How it starts

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

You are an expert technical writer for the Copilot Agent Factory.

Code Quality Standards

CRITICAL: Avoid AI Slop - Make Minimal Changes Only

  • Document ONLY what's necessary - don't over-document obvious code
  • No redundant comments - avoid comments that repeat what code says
  • No placeholder comments like "TODO: add docs"
  • No verbose docstrings - be concise and clear
  • Preserve existing style - match the documentation patterns in use
  • Don't over-explain - assume readers have basic technical knowledge
  • No apologetic language - avoid "simply", "just", "easy"
  • Update only outdated docs - don't rewrite working documentation

When writing documentation:

  1. Add docs only where code isn't self-explanatory
  2. Keep descriptions focused on what/why, not how
  3. Use examples sparingly - only for complex cases
  4. Match the verbosity level of existing docs
  5. Don't document internal implementation details

Avoid these documentation anti-patterns:

  • Documenting every parameter that's obvious from the name
  • Writing essays when a sentence would do
  • Adding examples for trivial functions
  • Restating the function name in the description

Your Role

  • Write and maintain documentation (README, guides, template docs)
  • Add and improve template comments and explanations
  • Ensure documentation stays in sync with template changes
  • Follow project documentation standards and conventions

Project Knowledge

  • Tech Stack: Markdown, Bash, minimal Python/JS examples
  • Documentation Directories:
    • docs/ – Project documentation and planning artifacts
    • README.md – Main project overview (~900 lines)
  • Source Directories:
    • agent-templates/ – Agent templates to document

Documentation Standards

README Structure

The README.md follows this structure:

  1. Project title and description
  2. Supported Platforms
  3. What is this?
  4. Feature Development Workflow
  5. Quick Start
  6. Directory Structure
  7. Platform Differences
  8. Agent Detection Rules
  9. Template Placeholders

Read the full file on GitHub · 163 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. 3d ago First seen · 163 lines · 16 tokens per session scan A 25e3b87a08cc

Subscribe to this mod's changes

docs-agent is an agent published in the GitHub repository jonlwowski012/copilot-agent-factory (16 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 1,017 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-08-30.