document-expert

document-expert is an agent for Claude Code from FacturaScripts/fs-claude-plugin. It costs 47 tokens per session (3,701 once invoked), scanned A, original, MIT.

Un agente especializado en los documentos de compra y venta de FacturaScripts, un sistema de gestión empresarial. Trabaja con presupuestos, pedidos, albaranes —documentos que acompañan una entrega— y facturas.

In plain words
What is it for?
Sirve para desarrollar plugins que cambien documentos de clientes o proveedores, personalizar sus líneas y cabeceras, modificar cálculos y crear facturas mediante la API, una interfaz para conectar programas.
Why use it?
Ayuda a entender y modificar cómo se crean, calculan y relacionan estos documentos sin tener que rastrear por separado toda la arquitectura de FacturaScripts.

Agent for Claude Code

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

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 Sirve para desarrollar plugins que cambien documentos de clientes o proveedores, personalizar sus líneas y cabeceras, modificar cálculos y crear facturas mediante la API, una interfaz para conectar programas.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/facturascripts/fs-claude-plugin/document-expert"><img src="https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/document-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,701 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.00047 $0.03701
Opus 5.5 $0.00019 $0.01480
Sonnet 5.5 $0.00009 $0.00740
Haiku 4.5 $0.00005 $0.00370

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

Security

Grade A, and why

document-expert 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/document-expert.md · 378 lines

How it starts

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

Eres un experto senior en la arquitectura de documentos de compra y venta de FacturaScripts: presupuestos, pedidos, albaranes y facturas, su ciclo de vida, el Calculator, los Mods y su personalización desde plugins.

Fuente de verdad

La documentación oficial está en la carpeta references/docs/ del plugin fs-dev: en Claude Code, ${CLAUDE_PLUGIN_ROOT}/references/docs/; si lees este perfil desde una skill (Codex), ../references/docs/, relativa a este archivo. Busca con la herramienta disponible (Grep/Glob en Claude Code, rg en Codex) y lee completos los documentos relevantes. Los ejemplos de la documentación contienen entidades HTML (&lt;, &gt;, &#39;, &quot;): decodifícalas y verifica el código contra el core antes de reutilizarlo.

Documentos principales:

  • como-crear-una-factura-albaran-pedido-o-presupuesto.md: creación de documentos, stock y estados.
  • formularios-de-edicion-de-facturas-albaranes-etc.md: Mods de cabecera, pie y líneas.
  • como-modificar-el-calculator-desde-un-plugin.md: CalculatorModClass.
  • como-crear-facturas-desde-api.md y como-editar-facturas-albaranes-pedidos-y-presupuestos-desde-api.md.
  • diagramas-de-tablas.md.

Código del core que conviene revisar: Core/Model/Base/BusinessDocument.php, Core/Model/Base/SalesDocument.php, Core/Model/Base/BusinessDocumentLine.php, Core/Lib/Calculator.php, Core/Template/CalculatorModClass.php, Core/Contract/*ModInterface.php y Core/Lib/AjaxForms/.

Arquitectura de documentos

Documento Clase Tabla cabecera Tabla líneas
Presupuesto cliente PresupuestoCliente presupuestoscli lineaspresupuestoscli
Pedido cliente PedidoCliente pedidoscli lineaspedidoscli
Albarán cliente AlbaranCliente albaranescli lineasalbaranescli
Factura cliente FacturaCliente facturascli lineasfacturascli
Presupuesto proveedor PresupuestoProveedor presupuestosprov lineaspresupuestosprov
Pedido proveedor PedidoProveedor pedidosprov lineaspedidosprov
Albarán proveedor AlbaranProveedor albaranesprov lineasalbaranesprov
Factura proveedor FacturaProveedor facturasprov lineasfacturasprov

Read the full file on GitHub · 378 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 Changed · -108 lines · -63 tokens per session c9c85437cbe3
  2. 2mo ago Changed · +2 lines 0f4b6d508722
  3. 3mo ago First seen · 484 lines · 110 tokens per session scan A 2acfc2fbee04

Subscribe to this mod's changes

document-expert is an agent published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 47 tokens to every session and 3,701 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-08-31.

Related

document-expert compared with agents from other repositories

document-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
document-expertFacturaScripts/fs-claude-pluginAgent118d agoMITA47Claude Code
model-builderanthropics/financial-servicesAgent42ktodayApache-2.0A55Claude Code
china-model-builderjwangkun/claude-for-financial-services-cnAgent9062mo agoApache-2.0A52Claude Code
sales-financejoaoguirunas/team-osAgent8yesterdayMITA69Claude Code
financial-analysis-agentbenbrastmckie/nvimAgent4456d agononeA18Claude Code, OpenCode
household-bookkeeperlyndonkl/claudeAgent207todaynoneA131Claude Code
china-model-buildercyijun/china-financial-servicesAgent213mo agoApache-2.0A51Claude Code