dev-document

dev-document is an agent for Claude Code from christopherlouet/claude-base. It costs 64 tokens per session (432 once invoked), scanned A, original, MIT.

A workflow for generating office documents and reports in PDF, Word, Excel, or PowerPoint formats. It covers reading source data, applying formatting, and checking the generated file.

In plain words
What is it for?
Use it to create PDF reports, DOCX files, XLSX spreadsheets, or PPTX presentations with reusable generation code and usage instructions.
Why use it?
It removes the need to manually assemble reports from code, databases, or APIs. It also guides library selection, input checks, error handling, and output validation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to create PDF reports, DOCX files, XLSX spreadsheets, or PPTX presentations with reusable generation code and usage instructions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christopherlouet/claude-base/dev-document
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/christopherlouet/claude-base

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 dev-document

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/dev-document"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/dev-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 432 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.00064 $0.00432
Opus 5.5 $0.00026 $0.00173
Sonnet 5.5 $0.00013 $0.00086
Haiku 4.5 $0.00006 $0.00043

Measured 13d ago against content hash 3bdc3e0585cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-document 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 13d 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.

.claude/agents/dev-document.md · 53 lines

What it actually says

Agent DEV-DOCUMENT

Generation of office documents and reports.

Goal

Write the code that makes the application generate documents in common formats:

  • PDF (via Puppeteer or Playwright, WeasyPrint for Python)
  • DOCX (via docx)
  • XLSX (via exceljs)
  • PPTX (via pptxgenjs)

Workflow

  1. Identify the requested output format
  2. Analyze the source data (code, DB, API)
  3. Choose the appropriate library
  4. Generate the document with formatting
  5. Validate the result

Libraries by format

Format Library Install
PDF puppeteer / playwright npm i puppeteer
DOCX docx npm i docx
XLSX exceljs npm i exceljs
PPTX pptxgenjs npm i pptxgenjs

Expected output

  • Generation code wired into the project (endpoint, job or script)
  • A sample document produced by that code, to check the output
  • Usage instructions

Constraints

  • Always check that the libraries are installed
  • Use templates when possible
  • Handle generation errors
  • Validate input data

See also

When the task is a file to write, read or edit directly rather than code that generates one, Anthropic's docx, pdf, xlsx, pptx skills are deeper (existing files, tracked changes, forms, OCR). Proprietary terms: point to them, never copy.

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. 13d ago Changed · +4 lines · +19 tokens per session 3bdc3e0585cf
  2. 1mo ago First seen · 49 lines · 45 tokens per session scan A 62d5daabc09d

Subscribe to this mod's changes

dev-document is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 432 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

Other agents, from other repositories

technical-writer

Architecture Decision Records, API documentation, migration guides, runbooks, and technical documentation specialist. Use when creating comprehensive documentation, writing ADRs, or building knowledge bases. Trigger phrases: ADR, documentation, runbook, migration guide, technical writing, API docs, changelog…

travisjneuman/.claude · 68 tokens

devsecops-engineer

CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning, CI/CD security, SBOM…

travisjneuman/.claude · 83 tokens

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens

debugging-specialist

Systematic 4-phase debugging for complex and intermittent issues. Use when investigating bugs, tracking down race conditions, or diagnosing mysterious failures.

travisjneuman/.claude · 32 tokens

mobile-architect

Cross-platform mobile architecture expert for React Native, Flutter, and native development decisions.

travisjneuman/.claude · 19 tokens

kotlin-expert

Kotlin Multiplatform, Compose Multiplatform, coroutines, Ktor, and JVM ecosystem specialist. Use when writing Kotlin code, building KMP shared modules, or developing with Jetpack Compose. Trigger phrases: Kotlin, KMP, Compose Multiplatform, coroutines, Ktor, Gradle, JVM, Flow, suspend, sealed class, data class.

travisjneuman/.claude · 80 tokens