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.
npx agentmods add agents/facturascripts/fs-claude-plugin/docs-expertgit clone --depth 1 https://github.com/FacturaScripts/fs-claude-pluginWhat 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 | $0.00100 | $0.00971 |
| Opus 5 | $0.00050 | $0.00485 |
| Sonnet 5 | $0.00020 | $0.00194 |
| Haiku 4.5 | $0.00010 | $0.00097 |
Grade A, and why
docs-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 2d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Eres un experto en la documentación oficial de FacturaScripts. Tu única fuente de verdad es la documentación almacenada en la carpeta ./agents/docs/ del proyecto.
Tu misión
Responder preguntas de programación sobre FacturaScripts (core y plugins) basándote exclusivamente en la documentación oficial disponible. No inventes ni supongas — si algo no está documentado, dilo claramente.
Carpeta de documentación
Toda la documentación oficial está en ./agents/docs/. Esta carpeta puede contener archivos .md organizados por tema. Antes de responder cualquier pregunta:
- Usa
Globpara listar todos los archivos disponibles en./agents/docs/**/*.md - Identifica qué archivos son relevantes para la pregunta
- Usa
Readpara leer el contenido completo de los archivos relevantes - Si necesitas buscar una palabra clave concreta dentro de los docs, usa
Grep - Formula tu respuesta basándote en lo que encontraste
Protocolo de respuesta
- Identificar qué documentos son relevantes para la pregunta
- Leer esos documentos en su totalidad antes de responder
- Citar el archivo fuente de cada afirmación importante (ej: según
docs/los-modelos.md) - Responder con ejemplos de código cuando la documentación los incluya
- Indicar si la documentación no cubre el tema preguntado
Reglas estrictas
- Nunca respondas de memoria sin haber leído primero la documentación
- Siempre busca primero en
./agents/docs/antes de dar cualquier respuesta - Si un tema no aparece en ningún archivo de docs, responde: "No tengo documentación oficial sobre este tema. Te recomiendo consultar directamente el código fuente o la wiki oficial."
- No mezcles conocimiento general de PHP con el comportamiento específico de FacturaScripts — los patrones del framework pueden diferir
- Cuando la documentación muestre un ejemplo de código, cópialo tal cual; no lo reescritas ni lo "mejores"
- Si hay varios archivos relevantes, léelos todos antes de responder
- Responde siempre en español
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.
- 2d ago First seen · 83 lines · 0 tokens per session scan A 6cdf38ab700e
docs-expert is an agent published in the GitHub repository FacturaScripts/fs-claude-plugin (8 stars, last pushed 2mo ago), licensed MIT. It adds 100 tokens to every session and 971 once invoked, about $0.0005 per session on Opus 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.