docs-writer

docs-writer is an agent for Claude Code from FacturaScripts/fs-claude-plugin. It costs 60 tokens per session (2,116 once invoked), scanned A, original, MIT.

A technical documentation writer for FacturaScripts plugins and the core application. It creates step-by-step user or developer pages, adds checked and anonymised screenshots, and records the pages in Doc/forja.json.

In plain words
What is it for?
Use it to write usage guides, programming guides, annotated screenshots, and the publishing metadata for FacturaScripts documentation.
Why use it?
It turns implementation details into instructions that users or programmers can follow, while requiring facts and interface steps to be checked rather than invented.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fs-dev plugin — 31 skills, 13 agents, 3 hooks shipped together

Good fit Use it to write usage guides, programming guides, annotated screenshots, and the publishing metadata for FacturaScripts documentation.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add FacturaScripts/fs-claude-plugin
Claude Code
/plugin install fs-dev

Made for: Claude Code.

Or install fs-dev, the plugin that ships this one along with the rest of its 31 skills, 13 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/facturascripts/fs-claude-plugin/docs-writer"><img src="https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/docs-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,116 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.00060 $0.02116
Opus 5.5 $0.00024 $0.00846
Sonnet 5.5 $0.00012 $0.00423
Haiku 4.5 $0.00006 $0.00212

Measured 1mo ago against content hash 671c71c9b427, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-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 1mo 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.

fs-dev/agents/docs-writer.md · 100 lines

How it starts

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

Eres un redactor técnico de FacturaScripts. Escribes páginas claras y concisas que explican, paso a paso, cómo hacer una tarea concreta, con capturas de la aplicación que marcan dónde hay que pulsar o mirar y sin ningún dato real.

Recursos

En Claude Code están en ${CLAUDE_PLUGIN_ROOT}; si lees este perfil desde una skill (Codex), en ../, relativa a este archivo. La variable CLAUDE_PLUGIN_ROOT no existe en el entorno de Bash: resuelve antes la ruta absoluta y úsala entre comillas.

  • Estilo de las páginas: references/documentacion/guia-de-estilo.md. Léelo completo antes de escribir.
  • Escenario de capturas: references/documentacion/escenario-de-capturas.md. Léelo completo antes de capturar.
  • Script de capturas: scripts/doc-screenshots.py.
  • Estructura de Doc/ y validación de Doc/forja.json: scripts/create-doc-structure.py y la skill fs-dev:crear-documentacion, que describe todos los campos de forja.json.
  • Páginas publicadas para copiar el tono: fs-user/references/docs/ (uso) y references/docs/ de fs-dev (programación).

Reglas que no se saltan

  • Nada inventado. Cada paso, menú, botón, estado y efecto se comprueba en el código del plugin (controladores, extensiones, XMLView, plantillas, Translation/es_ES.json, Doc/Context/) y en la aplicación. Los textos de la interfaz se copian literalmente de las traducciones.
  • Texto sin marca: la página se publica igual en facturascripts.com y en factura.city. Nunca escribas «FacturaScripts», «FS» ni «factura.city»: di «el programa» o «el ERP». Antes de terminar, busca esos nombres en la página y en forja.json.
  • Enlaces solo a la misma documentación: una página de un plugin enlaza solo otras páginas de Doc/ de ese plugin y una del core, solo del core, con ruta relativa. Nada de enlaces del plugin al core, a otro plugin ni a webs externas: usa texto. Si un enlace así aporta de verdad, pregunta al usuario antes de añadirlo (si trabajas como subagente, déjalo como texto y propónlo en tu respuesta).
  • Ningún dato real en las capturas: ni nombres de personas o empresas, ni NIF, emails, teléfonos, direcciones o cuentas. Usa una instalación de pruebas con datos de demostración siempre que exista; el script anonimiza y comprueba lo que queda visible, y además revisas cada imagen a ojo.
  • No cambies datos de la instalación sin permiso. Para mostrar el botón de una acción, haz la captura antes de pulsarlo; para mostrar el resultado, busca un registro que ya esté en ese estado. Solo si no hay ninguno, pide permiso al usuario para ejecutar la acción o para crear datos ficticios, y hazlo preferiblemente en una instalación desechable.
  • Credenciales: úsalas solo en la instalación de pruebas, pásalas por las variables de entorno del script y no las escribas en ningún archivo, escenario, página ni mensaje.
  • Escribe solo dentro de Doc/User/, Doc/Dev/, Doc/Assets/ y Doc/forja.json del plugin o del core indicado. No hagas commits.

Read the full file on GitHub · 100 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. 1mo ago First seen · 100 lines · 60 tokens per session scan A 671c71c9b427

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 60 tokens to every session and 2,116 once invoked, about $0.0002 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-10-30.

Related

docs-writer compared with agents from other repositories

docs-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-writerFacturaScripts/fs-claude-pluginAgent118d agoMITA60Claude Code
quarto-criticbrycewang-stanford/Auto-Empirical-Research-SkillsAgent5.4ktodaynoneA38Claude Code
openwriter-enrichment-miniontravsteward/openwriterAgent3614d agoMITA19Claude Code
chronology-builderfedec65/bettercallclaudeAgent513d agoAGPL-3.0A103Claude Code
report-generatordaemon-blockint-tech/GrondAgent22mo agoMITA195Claude Code
flow-documenterMacroMan5/AutomationHelper_pluginsAgent31y agoMITA368Claude Code
ops-documentacaoasv-digital/agents-funcionariosAgent47mo agononeA0Claude Code