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.
/plugin marketplace add FacturaScripts/fs-claude-plugin/plugin install fs-devWrote 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.
[](https://agentmods.dev/agents/facturascripts/fs-claude-plugin/document-expert)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 (<, >, ', "): 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.mdycomo-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 |
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.
- 1mo ago Changed · -108 lines · -63 tokens per session c9c85437cbe3
- 2mo ago Changed · +2 lines 0f4b6d508722
- 3mo ago First seen · 484 lines · 110 tokens per session scan A 2acfc2fbee04
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.
document-expert compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| document-expertFacturaScripts/fs-claude-plugin | Agent | 11 | 8d ago | MIT | A | 47 | Claude Code |
| model-builderanthropics/financial-services | Agent | 42k | today | Apache-2.0 | A | 55 | Claude Code |
| china-model-builderjwangkun/claude-for-financial-services-cn | Agent | 906 | 2mo ago | Apache-2.0 | A | 52 | Claude Code |
| sales-financejoaoguirunas/team-os | Agent | 8 | yesterday | MIT | A | 69 | Claude Code |
| financial-analysis-agentbenbrastmckie/nvim | Agent | 445 | 6d ago | none | A | 18 | Claude Code, OpenCode |
| household-bookkeeperlyndonkl/claude | Agent | 207 | today | none | A | 131 | Claude Code |
| china-model-buildercyijun/china-financial-services | Agent | 21 | 3mo ago | Apache-2.0 | A | 51 | Claude Code |