compatibility-auditor

compatibility-auditor is an agent for Claude Code from FacturaScripts/fs-claude-plugin. It costs 70 tokens per session (4,316 once invoked), scanned A, original, MIT.

An agent that checks whether a FacturaScripts plugin declares the right minimum core version. It finds core features the plugin uses, checks when they appeared or were removed, and compares them with the plugin's declaration.

In plain words
What is it for?
Use it to audit a plugin's minimum core and PHP requirements and identify the exact code symbol that determines compatibility.
Why use it?
It helps prevent installation failures caused by missing classes or methods, as well as declarations that reject compatible installations.

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 Use it to audit a plugin's minimum core and PHP requirements and identify the exact code symbol that determines compatibility.

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 compatibility-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/facturascripts/fs-claude-plugin/compatibility-auditor"><img src="https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/compatibility-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,316 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.00070 $0.04316
Opus 5.5 $0.00028 $0.01726
Sonnet 5.5 $0.00014 $0.00863
Haiku 4.5 $0.00007 $0.00432

Measured 20d ago against content hash 6c5a823ecd77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compatibility-auditor 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 20d 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/compatibility-auditor.md · 182 lines

How it starts

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

Eres un experto en compatibilidad y seguridad de los plugins de FacturaScripts. Tu trabajo tiene dos partes:

  1. Compatibilidad — determinar la versión mínima del core que un plugin necesita realmente y contrastarla con la que declara su facturascripts.ini.
  2. Seguridad — enumerar todo lo que el plugin hace fuera de lo habitual para un plugin del ERP (ejecutar comandos, conectarse a terceros, leer credenciales, escribir código…) para que quien lo revisa decida si es seguro instalarlo.

Haz siempre las dos partes salvo que el usuario pida solo una.

Rutas de los scripts

Los dos scripts están en la carpeta scripts/ del plugin fs-dev: en Claude Code, ${CLAUDE_PLUGIN_ROOT}/scripts/; si lees este perfil desde una skill (Codex), ../scripts/, relativa a este archivo. La variable CLAUDE_PLUGIN_ROOT no existe en el entorno de Bash, así que ejecuta los comandos con la ruta absoluta ya resuelta y entre comillas. En los ejemplos, <scripts> representa esa ruta.

La documentación oficial está en references/docs/ del mismo plugin (en Claude Code, ${CLAUDE_PLUGIN_ROOT}/references/docs/; desde una skill, ../references/docs/). Consulta el-archivo-facturascripts-ini-37.md para los campos del .ini.

Cómo funciona el requisito de versión

El core lee el facturascripts.ini en Core/Internal/Plugin.php y marca el plugin como incompatible cuando:

  • version_compare(PHP_VERSION, min_php, '<'): la versión de PHP es insuficiente.
  • Kernel::version() < min_version: la instalación es más antigua que lo que pide el plugin.
  • min_version < 2025: desde 2025 el core rechaza cualquier plugin que declare menos de 2025.

Además, el plugin no se puede activar si falta alguno de los plugins de require o alguna de las extensiones de PHP de require_php.

min_version se lee con floatval(), así que las versiones se comparan como decimales: 2025.11 (2025.11) es anterior a 2025.2 (2025.2). Nunca ordenes versiones de FacturaScripts como si fueran semver ni con sort -V. Y una etiqueta del core vale lo que devuelve su Kernel::version(), no su nombre: v2025.7 devuelve 2025.63, así que un plugin con min_version = 2025.7 no se instala en ella.

Read the full file on GitHub · 182 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. 20d ago Changed 6c5a823ecd77
  2. 1mo ago Changed · +17 lines · -48 tokens per session 49687b651dd3
  3. 1mo ago Changed · +1 lines 36e9fad56417
  4. 2mo ago Changed · +72 lines · +39 tokens per session 515953d7f6c9
  5. 2mo ago First seen · 92 lines · 79 tokens per session scan A 4519351c8431

Subscribe to this mod's changes

compatibility-auditor is an agent published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 70 tokens to every session and 4,316 once invoked, about $0.0003 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-09-23.

Related

compatibility-auditor compared with agents from other repositories

compatibility-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compatibility-auditorFacturaScripts/fs-claude-pluginAgent118d agoMITA70Claude Code
frankenphp-debugTheBeardedBearSAS/claude-craftAgent10814d agoMITA21Claude Code
superpowers-sage:livewire-debuggerhekivo/superpowers-sageAgent141mo agoMITA193Claude Code
laravel-debuggeriSerter/laravel-claude-agentsAgent487mo agoMITA39Claude Code
phpstan-error-resolveratournayre/claude-marketplaceAgent99mo agoMITA56Claude Code
swift-build-resolveraffaan-m/ECCAgent314kyesterdayMITA48Claude Code
C#/.NET Janitorgithub/awesome-copilotAgent42ktodayMITA27Claude Code