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 skills add FacturaScripts/fs-claude-plugin --skill stock-bajogit clone --depth 1 https://github.com/FacturaScripts/fs-claude-pluginWrote 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.
[](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/stock-bajo)<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/stock-bajo"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/stock-bajo/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.
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/stock-bajo"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/stock-bajo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01472 |
| Opus 5.5 | $0.00021 | $0.00589 |
| Sonnet 5.5 | $0.00010 | $0.00294 |
| Haiku 4.5 | $0.00005 | $0.00147 |
Grade A, and why
stock-bajo 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stock bajo mínimos
Genera una lista de reposición a partir del stock mínimo configurado. En FacturaScripts el stock se lleva por variante y almacén, y cada registro tiene cuatro cantidades: cantidad física, reservada (pedidos de cliente), pendiente de recepción (pedidos a proveedor) y disponible (cantidad menos reservada). El stock mínimo y el máximo se fijan por variante y almacén (el-stock-de-productos).
Antes de empezar, lee completo el perfil ../../agents/reporting-analyst.md: sus reglas de conexión y paginación son obligatorias en esta skill. Si en Codex delegas el análisis en un subagente, sigue las indicaciones de reporting-analyst.
Datos que puedes pedir (opcionales)
- Almacén: uno concreto o todos (predeterminado).
- Orden: por urgencia (predeterminado), referencia o cobertura.
- Objetivo de reposición: hasta el stock máximo (predeterminado cuando existe) o hasta el mínimo.
Definiciones
- Registro analizable: registro de stock con
stockmin > 0de un producto que controla stock (nostock = false) y no está bloqueado (bloqueado = false). - Stock proyectado:
disponible + pterecibir. - Bajo mínimos: stock proyectado menor que
stockmin. - Cantidad sugerida:
stockmax − stock proyectadosistockmax > stockmin; en otro caso,stockmin − stock proyectado. Si el resultado es negativo, no sugieras compra. - Urgencia:
- Crítica:
disponible ≤ 0. El disponible puede ser negativo si el producto permite la venta sin stock. - Alta:
disponiblepor debajo del 50 % delstockmin. - Media: el resto de los registros bajo mínimos.
- Si un registro tiene
disponible < stockminpero lo pendiente de recibir ya lo cubre, no es una alerta: inclúyelo en la sección cubierto por pedidos en curso.
- Crítica:
Procedimiento
- Conexión y almacenes. Elige la conexión según el perfil y obtén los almacenes con
get_almacenes. - Stock. Obtén todos los registros con
get_stocks(filtrando porcodalmacensi el usuario lo pide), recorriendooffset. Cada registro incluyereferencia(de la variante),idproducto,codalmacen,cantidad,reservada,pterecibir,disponible,stockminystockmax. No usesget_productos_bajo_stockpara esta skill: compara la cantidad con un umbral global y no con elstockminde cada registro. - Productos. Para los registros con
stockmin > 0, obtén conget_productosladescripcion,nostock,bloqueado,secompraycodfamilia. Descarta los que no controlan stock o están bloqueados. - Clasificación. Aplica las definiciones y calcula la cantidad sugerida de cada registro bajo mínimos.
- Proveedores y coste (opcional). Con
get_productoproveedores(porreferencia), indica el proveedor y el último precio de compra registrado. Si no lo hay, usa elcostede la variante (get_variantes). Estima el importe de reposición y avisa si faltan precios. - Configuración incompleta. Cuenta los registros de productos con control de stock que tienen
stockmin = 0: no se pueden evaluar y conviene configurarlos.
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.
- 1mo ago Changed · -91 lines · +32 tokens per session 3bc0344aa1ce
- 3mo ago First seen · 155 lines · 20 tokens per session scan A bd30f15cb03c
stock-bajo is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 52 tokens to every session and 1,472 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.
stock-bajo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stock-bajoFacturaScripts/fs-claude-plugin | Skill | 11 | 8d ago | MIT | A | 52 | Claude Code |
| amazon-reviews-api-skillbrowser-act/skills | Skill | 6.5k | 27d ago | MIT | A | 124 | Claude Code, Codex |
| amazon-competitor-analyzerbrowser-act/skills | Skill | 6.5k | 27d ago | MIT | A | 48 | Claude Code, Codex |
| cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-Toolkit | Skill | 1.2k | yesterday | MIT | A | 94 | Claude Code |
| asc-subscription-localizationrorkai/app-store-connect-cli-skills | Skill | 1.2k | yesterday | MIT | A | 60 | Claude Code |
| woo-guardamElnagdy/guard-skills | Skill | 1.3k | 7d ago | MIT | A | 216 | Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 126 | Claude Code, Codex |