mods

mods is a skill for Claude Code, Codex from FacturaScripts/fs-claude-plugin. It costs 41 tokens per session (2,380 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 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/mods
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, 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 mods

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/mods.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,380 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.00041 $0.02380
Opus 5 $0.00020 $0.01190
Sonnet 5 $0.00008 $0.00476
Haiku 4.5 $0.00004 $0.00238

Measured 3d ago against content hash 1d71d65e79f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/mods/SKILL.md · 314 lines

How it starts

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

Skill: Mods en FacturaScripts

Los mods permiten modificar el comportamiento visual y del controlador de los documentos de compra y venta: presupuestos, pedidos, albaranes y facturas. Se usan exclusivamente para la parte del controlador y la interfaz de pantalla (HTML renderizado dinámicamente vía AJAX).

Importante — no confundir con extensiones:

  • Mods → modifican la parte del controlador (lo que se ve y procesa en pantalla en los documentos de compra/venta)
  • Extensiones de modelos → modifican el modelo en todo el entorno (guardado, cálculos, relaciones, etc.)

Documentos afectados

Tipo Modelos de venta Modelos de compra
Presupuestos PresupuestoCliente PresupuestoProveedor
Pedidos PedidoCliente PedidoProveedor
Albaranes AlbaranCliente AlbaranProveedor
Facturas FacturaCliente FacturaProveedor

Tipos de mod disponibles

Tipo Interfaz a implementar 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()
Calculadora CalculatorModInterface Calculator::addMod()

Generar con fsmaker

fsmaker mod

fsmaker pregunta el tipo de mod (Sales, Purchases, Calculator, HTML Header, Line, Footer) y genera el archivo base en Mod/.

Estructura de archivos

Plugins/MiPlugin/
├── Init.php
└── Mod/
    ├── SalesMod.php          # Cabecera/pie de ventas
    ├── SalesLineMod.php      # Líneas de ventas
    ├── PurchasesMod.php      # Cabecera/pie de compras
    ├── PurchasesLineMod.php  # Líneas de compras
    └── CalculatorMod.php     # Modificar cálculos

Read the full file on GitHub · 314 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 · 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 (8 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 2,380 once invoked, about $0.0002 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

cloudflare-registrar

Cloudflare Registrar: domain availability, prices, registration via mcporter.

steipete/agent-scripts · 20 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

weekly-report

Structure and data sources for the weekly inventory report. Load this when the task is "weekly report", "Monday report", or "summarize inventory status".

anthropics/cwc-workshops · 35 tokens

shopify-functions

Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…

Shopify/Shopify-AI-Toolkit · 61 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens