European-Parliament-MCP-Server: Agent for Claude Code

.github/agents/documentation-writer.md

documentation-writer is an agent for Claude Code from Hack23/European-Parliament-MCP-Server. It costs 51 tokens per session (2,534 once invoked), scanned A, original, Apache-2.0.

A specialist assistant for producing technical documents such as READMEs, architecture and security documents, decision records, code comments, API documentation, and diagrams. It is tailored to the European Parliament MCP Server and Hack23 information-security policies.

In plain words
What is it for?
Use it to create or maintain technical documentation, security and architecture records, API references, diagrams, and policy-aligned project files.
Why use it?
It provides project-specific documentation rules and required background, reducing omissions and inconsistent documentation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is Hack23/European-Parliament-MCP-Server's own configuration. It tells Claude Code how to work on European-Parliament-MCP-Server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything European-Parliament-MCP-Server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hack23/European-Parliament-MCP-Server/main/.github/agents/documentation-writer.md
Clone the repo
git clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-Server

Made for: Claude Code.

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/hack23/european-parliament-mcp-server/documentation-writer/github.svg)](https://agentmods.dev/agents/hack23/european-parliament-mcp-server/documentation-writer)
Your own site
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/documentation-writer"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/documentation-writer/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 documentation-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/documentation-writer"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/documentation-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 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,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00051 $0.02534
Opus 5 $0.00026 $0.01267
Sonnet 5 $0.00010 $0.00507
Haiku 4.5 $0.00005 $0.00253

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

Security

Grade A, and why

documentation-writer scanned grade A with 1 finding 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 10d 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.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.github/agents/documentation-writer.md · 319 lines

How it starts

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

You are the Documentation Writer, a specialist in creating clear, comprehensive, maintainable, ISMS-aligned technical documentation for the European Parliament MCP Server.

📋 Required Context Files

ALWAYS read these files at the start of your session:

  • README.md — Reference example for style
  • ARCHITECTURE.md, SECURITY_ARCHITECTURE.md, DATA_MODEL.md, FLOWCHART.md, STATEDIAGRAM.md, MINDMAP.md, SWOT.md — Current documentation portfolio
  • FUTURE_* counterparts — Future-state portfolio
  • .github/copilot-instructions.md — Style and standards
  • CONTRIBUTING.md — Contribution process
  • Hack23 STYLE_GUIDE — Org-wide documentation style

🔒 ISMS Policy Alignment

All documentation MUST cite / embody applicable policies:

Core Expertise

You specialize in:

  • Technical Documentation: READMEs, API docs, user guides, runbooks, quickstarts, migration guides
  • Architecture Documentation: Full 14-document C4 portfolio (7 current + 7 future) per Secure Development Policy
  • Code Documentation: JSDoc (@param, @returns, @throws, @example, @see, @deprecated), tested examples
  • Security Documentation: SECURITY.md, SECURITY_ARCHITECTURE.md, CRA-ASSESSMENT.md, incident-response playbooks
  • Markdown & Diagrams: GFM, Mermaid (graph, sequenceDiagram, stateDiagram-v2, mindmap, C4Context)
  • MCP Documentation: Tool / resource / prompt reference, parameter tables, example interactions
  • ADRs: Lightweight Architecture Decision Records for non-trivial design choices (Change Management)
  • Accessibility: WCAG 2.1 AA headings hierarchy, alt text on images, descriptive link text
  • Maintenance: Sync with code, deprecation notes, changelog (Keep a Changelog + SemVer)

Read the full file on GitHub · 319 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. 10d ago First seen · 319 lines · 51 tokens per session scan A 9733f4c4c037

Subscribe to this mod's changes

documentation-writer is an agent published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 2,534 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

patent-creator

Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces markdown + SVG output requiring DOCX/PDF conversion before USPTO filing.

RobThePCGuy/Claude-Patent-Creator · 42 tokens

FAI Document Intelligence Builder

Document Intelligence builder — Azure AI Document Intelligence OCR, multi-format processing, GPT-4o field extraction, Cosmos DB storage, and validation pipeline.

frootai/frootai · 35 tokens

FAI Document Intelligence Tuner

Document Intelligence tuner — OCR settings optimization, extraction confidence calibration, custom model training data, batch performance, and cost-per-document analysis.

frootai/frootai · 33 tokens

pdf-template-author

Specialised sub-agent that designs and authors print-quality PDF templates (Handlebars + scoped CSS) for Kamy. Invoke when the user wants a new invoice / receipt / contract / report / brochure design, a redesign of an existing template, or help debugging a template that prints incorrectly.

Kamy-Development/kamy-plugin · 61 tokens

FAI Document Intelligence Builder

Document Intelligence builder — Azure AI Document Intelligence OCR, multi-format processing, GPT-4o field extraction, Cosmos DB storage, and validation pipeline.

frootai/frootai · 35 tokens

documentation-manager

Expert documentation specialist. Proactively updates documentation when code changes are made, ensures README accuracy, and maintains comprehensive technical documentation. Be sure to give this subagent information on the files that were changed so it knows where to look to document changes. Always call this agent…

lroy-stack/ai-pod-store · 61 tokens