docs-expert

docs-expert is a skill for Claude Code, Codex from FacturaScripts/fs-claude-plugin. It costs 213 tokens per session (988 once invoked), scanned A, original, MIT.

A documentation specialist for FacturaScripts that answers development questions by consulting the project's official documentation.

In plain words
What is it for?
Use it to find documented ways to implement or use FacturaScripts models, controllers, and other development features, with references to the source documentation.
Why use it?
It reduces the risk of applying generic PHP advice that conflicts with FacturaScripts' actual models, controllers, or conventions.

Skill for Claude CodeCodex

Part of the fs-dev plugin — 28 skills, 11 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/facturascripts/fs-claude-plugin/docs-expert
Any agent
npx skills add FacturaScripts/fs-claude-plugin --skill docs-expert
Clone the repo
git clone --depth 1 https://github.com/FacturaScripts/fs-claude-plugin

Made for: Claude Code, Codex.

Or install fs-dev, the plugin that ships this one along with the rest of its 28 skills, 11 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-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/docs-expert.svg)](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/docs-expert)
Your own site
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/docs-expert"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/docs-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 988 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00213 $0.00988
Opus 5 $0.00106 $0.00494
Sonnet 5 $0.00043 $0.00198
Haiku 4.5 $0.00021 $0.00099

Measured 3d ago against content hash 6eb533cca939, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 3d 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/skills/docs-expert/SKILL.md · 89 lines

How it starts

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

Skill: docs-expert — Consulta automática a la documentación oficial

Esta skill conecta las preguntas de programación del usuario con el agente docs-expert, que tiene acceso directo a la documentación oficial de FacturaScripts y responde basándose exclusivamente en ella.

Por qué usar el agente en lugar de responder directamente

El agente docs-expert lee en tiempo real los archivos de documentación en ./agents/docs/ antes de responder. Esto garantiza que las respuestas reflejen los patrones reales del framework (que difieren del PHP genérico) y estén respaldadas por fuentes citables. Responder de memoria introduce el riesgo de mezclar convenciones genéricas con el comportamiento específico de FacturaScripts.

Cómo invocar el agente

Usa el agente docs-expert pasándole la pregunta del usuario tal como fue formulada:

Agente: docs-expert
Tarea: [pregunta exacta del usuario]

El agente seguirá este protocolo:

  1. Ejecuta Glob ./agents/docs/**/*.md para ver todos los archivos disponibles
  2. Identifica qué archivos son relevantes para la pregunta
  3. Los lee completos con Read
  4. Si necesita buscar un término concreto, usa Grep
  5. Responde citando los archivos fuente con ejemplos de código tal como aparecen en la documentación

Qué preguntas activan esta skill

Actívate ante preguntas como estas (y cualquier variante similar):

  • "¿Cómo creo un modelo con relación a otra tabla?"
  • "¿Cómo añado un filtro de tipo select en una vista de lista?"
  • "¿Qué hace el método load()?"
  • "¿Cómo envío un email desde un plugin?"
  • "¿Cómo registro un worker para escuchar eventos de un modelo?"
  • "¿Cómo funciona el sistema de extensiones de controladores?"
  • "¿Cómo creo un endpoint personalizado en la API REST?"
  • "¿Cómo uso la caché en FacturaScripts?"
  • "¿Cómo accedo a los parámetros de la URL en un controlador?"
  • "¿Cuál es la diferencia entre insert() y save()?"
  • "¿Cómo hago una consulta SQL directa con DbQuery?"
  • Cualquier pregunta técnica sobre desarrollo o programación en FacturaScripts

Read the full file on GitHub · 89 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. 3d ago First seen · 89 lines · 213 tokens per session scan A 6eb533cca939

Subscribe to this mod's changes

docs-expert is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (8 stars, last pushed 2mo ago), licensed MIT. It adds 213 tokens to every session and 988 once invoked, about $0.0011 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.

Related

Other skills, from other repositories

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

code-documenter

Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.

zebbern/claude-code-guide · 39 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

pedagogy-review

Holistic pedagogical review of a lecture deck (.qmd or .tex). Checks narrative arc, prerequisite assumptions, worked examples, notation clarity, and deck-level pacing. Use when user says "pedagogy review", "does this teach well?", "is the flow right?", "will students follow?", "review the narrative", or before…

pedrohcgs/claude-code-my-workflow · 90 tokens