mods

mods is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 42 tokens per session (2,753 once invoked), scanned A, original, MIT.

A guide to creating mods in FacturaScripts, where mods change the screen or controller behavior of sales and purchase documents such as invoices and orders.

In plain words
What is it for?
Use it to add or change document header, footer, and line content for customer or supplier quotes, orders, delivery notes, and invoices.
Why use it?
It clarifies when to use a mod for document screens instead of a model extension for shared data, saving, calculations, or relationships.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fs-dev plugin — 31 skills, 13 agents, 3 hooks shipped together

Good fit Use it to add or change document header, footer, and line content for customer or supplier quotes, orders, delivery notes, and invoices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/facturascripts/fs-claude-plugin/mods
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.

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

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 mods

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/mods"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/mods.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,753 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.02753
Opus 5.5 $0.00017 $0.01101
Sonnet 5.5 $0.00008 $0.00551
Haiku 4.5 $0.00004 $0.00275

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

Security

Grade A, and why

mods 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/skills/mods/SKILL.md · 320 lines

How it starts

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

Skill: Mods en FacturaScripts

Los mods modifican el formulario de los documentos de compra y venta (presupuestos, pedidos, albaranes y facturas) y sus cálculos. Actúan en la parte del controlador y de la interfaz (HTML generado por AJAX), no en el modelo (formularios-de-edicion-de-facturas-albaranes-etc.md).

No confundir con las extensiones:

  • Mods: campos y comportamiento del formulario del documento, y cálculo de totales.
  • Extensiones de modelos: comportamiento del modelo en cualquier contexto (guardado, borrado, validación...).

Documentos afectados

Tipo Ventas Compras
Presupuestos PresupuestoCliente PresupuestoProveedor
Pedidos PedidoCliente PedidoProveedor
Albaranes AlbaranCliente AlbaranProveedor
Facturas FacturaCliente FacturaProveedor

Tipos de mod

Las interfaces están en FacturaScripts\Core\Contract y las clases de registro en FacturaScripts\Core\Lib\AjaxForms:

Zona Interfaz o clase base Registrar en
Cabecera ventas SalesModInterface SalesHeaderHTML::addMod()
Pie ventas SalesModInterface SalesFooterHTML::addMod()
Líneas ventas SalesLineModInterface SalesLineHTML::addMod()
Cabecera compras PurchasesModInterface PurchasesHeaderHTML::addMod()
Pie compras PurchasesModInterface PurchasesFooterHTML::addMod()
Líneas compras PurchasesLineModInterface PurchasesLineHTML::addMod()
Cálculos FacturaScripts\Core\Template\CalculatorModClass FacturaScripts\Core\Lib\Calculator::addMod()

CalculatorModInterface está obsoleta desde 2026: extiende CalculatorModClass.

Usa una clase distinta para la cabecera y otra para el pie. El core ejecuta apply() y pinta newFields() en las dos zonas, así que registrar la misma clase en ambas duplica el campo y aplica los datos dos veces.

Generar con fsmaker

fsmaker mod

Read the full file on GitHub · 320 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 · +6 lines · +1 tokens per session 8888bf472584
  2. 3mo ago First seen · 314 lines · 41 tokens per session scan A 1d71d65e79f5

Subscribe to this mod's changes

mods is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 42 tokens to every session and 2,753 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

mods compared with skills from other repositories

mods next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modsFacturaScripts/fs-claude-pluginSkill118d agoMITA42Claude Code
amazon-reviews-api-skillbrowser-act/skillsSkill6.5k27d agoMITA124Claude Code, Codex
amazon-competitor-analyzerbrowser-act/skillsSkill6.5k27d agoMITA48Claude Code, Codex
cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-ToolkitSkill1.2kyesterdayMITA94Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2kyesterdayMITA60Claude Code
woo-guardamElnagdy/guard-skillsSkill1.3k7d agoMITA216Codex
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA126Claude Code, Codex