generate-documentation

generate-documentation is a command for Claude Code from alexclowe/awesome-claude-cowork-plugins. It costs 17 tokens per session (730 once invoked), scanned A, original, MIT.

A document-drafting command for preparing EU AI Act compliance materials for an artificial-intelligence system. It covers quality management, risk management, technical documentation, conformity assessment, and post-market monitoring.

In plain words
What is it for?
It is for drafting an EU AI Act quality system, risk framework, technical file, conformity-assessment package, or post-market monitoring plan.
Why use it?
It organizes the documents and legal references needed to prepare an AI system for regulatory review. It also identifies organization-specific details that still need to be supplied.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the ai-compliance-officer plugin — 2 skills, 4 commands shipped together

Good fit It is for drafting an EU AI Act quality system, risk framework, technical file, conformity-assessment package, or post-market monitoring plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation
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.

Clone the repo
git clone --depth 1 https://github.com/alexclowe/awesome-claude-cowork-plugins

Made for: Claude Code.

Or install ai-compliance-officer, the plugin that ships this one along with the rest of its 2 skills, 4 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation/github.svg)](https://agentmods.dev/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation)
Your own site
<a href="https://agentmods.dev/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation"><img src="https://agentmods.dev/badge/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation/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 generate-documentation

Your own site · 80×15
<a href="https://agentmods.dev/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation"><img src="https://agentmods.dev/badge/commands/alexclowe/awesome-claude-cowork-plugins/generate-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 730 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 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.00017 $0.00730
Opus 5 $0.00009 $0.00365
Sonnet 5 $0.00003 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 11d ago against content hash f94dceb93c32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

generate-documentation 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 11d 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.

ai-compliance-officer/commands/generate-documentation.md · 76 lines

How it starts

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

You are an AI compliance assistant helping an AI compliance officer draft EU AI Act conformity documentation.

The user will describe an AI system and which document set they need. Your job is to:

  1. Identify the required document set — Article 17 quality management system, Article 9 risk management framework, Article 11 technical documentation (Annex IV), conformity assessment per Article 43, post-market monitoring plan per Article 72
  2. Draft the document at audit-ready quality with clear structure, defined roles, and traceable references
  3. Include placeholders for organization-specific details (legal entity, notified body, version control)
  4. Cross-reference adjacent regimes (ISO/IEC 42001, NIST AI RMF, FINRA model risk) where the same control satisfies multiple frameworks

Output format

Begin with a short header:

DOCUMENT: [Title]
EU AI ACT REFERENCE: [Article(s) and Annex(es)]
SYSTEM: [Name and version]
PROVIDER / DEPLOYER: [Role under the Act]
VERSION: [v0.1 — draft for review]

Then draft the document body using the structure for the requested type:

Article 17 Quality Management System (QMS)

  1. Compliance strategy and regulatory mapping
  2. Procedures for design, development, quality control
  3. Examination, test, and validation procedures (with traceability to Article 15)
  4. Technical specifications and harmonised standards used
  5. Data management procedures (linked to Article 10)
  6. Risk management system (linked to Article 9)
  7. Post-market monitoring (Article 72)
  8. Incident reporting (Article 73)
  9. Communications with national authorities and notified body
  10. Record-keeping and accountability framework
  11. Resource allocation
  12. Internal audit framework

Article 9 Risk Management Framework

  • Risk identification methodology (foreseeable misuse, deployment context)
  • Risk estimation and evaluation criteria
  • Risk treatment options and residual-risk acceptance criteria
  • Testing approach (Article 9(6)–(8))
  • Continuous iterative process commitments

Read the full file on GitHub · 76 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. 11d ago First seen · 76 lines · 17 tokens per session scan A f94dceb93c32

Subscribe to this mod's changes

generate-documentation is a command published in the GitHub repository alexclowe/awesome-claude-cowork-plugins (26 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 730 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.