stock-bajo

stock-bajo is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 52 tokens per session (1,472 once invoked), scanned A, original, MIT.

An inventory helper that finds products whose current stock is below their configured minimum and lists products with no recent sales. FacturaScripts is business software for managing products, stock, and sales.

In plain words
What is it for?
Reviewing low-stock products by warehouse, calculating quantities needed to reach minimum stock, and identifying products to discard or promote.
Why use it?
It shows what needs reordering, how many units are missing, and which products may be sitting unsold.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the fs-user plugin — 7 skills, 2 agents shipped together

Good fit Reviewing low-stock products by warehouse, calculating quantities needed to reach minimum stock, and identifying products to discard or promote.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/facturascripts/fs-claude-plugin/stock-bajo
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 stock-bajo
Clone the repo
git clone --depth 1 https://github.com/FacturaScripts/fs-claude-plugin

Made for: Claude Code.

Or install fs-user, the plugin that ships this one along with the rest of its 7 skills, 2 agents.

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 stock-bajo

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/stock-bajo/github.svg)](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/stock-bajo)
Your own site
<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.

agentmods 80×15 button for stock-bajo

Your own site · 80×15
<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>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.00052 $0.01472
Opus 5.5 $0.00021 $0.00589
Sonnet 5.5 $0.00010 $0.00294
Haiku 4.5 $0.00005 $0.00147

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

Security

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.

fs-user/skills/stock-bajo/SKILL.md · 64 lines

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 > 0 de 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 proyectado si stockmax > 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: disponible por debajo del 50 % del stockmin.
    • Media: el resto de los registros bajo mínimos.
    • Si un registro tiene disponible < stockmin pero lo pendiente de recibir ya lo cubre, no es una alerta: inclúyelo en la sección cubierto por pedidos en curso.

Procedimiento

  1. Conexión y almacenes. Elige la conexión según el perfil y obtén los almacenes con get_almacenes.
  2. Stock. Obtén todos los registros con get_stocks (filtrando por codalmacen si el usuario lo pide), recorriendo offset. Cada registro incluye referencia (de la variante), idproducto, codalmacen, cantidad, reservada, pterecibir, disponible, stockmin y stockmax. No uses get_productos_bajo_stock para esta skill: compara la cantidad con un umbral global y no con el stockmin de cada registro.
  3. Productos. Para los registros con stockmin > 0, obtén con get_productos la descripcion, nostock, bloqueado, secompra y codfamilia. Descarta los que no controlan stock o están bloqueados.
  4. Clasificación. Aplica las definiciones y calcula la cantidad sugerida de cada registro bajo mínimos.
  5. Proveedores y coste (opcional). Con get_productoproveedores (por referencia), indica el proveedor y el último precio de compra registrado. Si no lo hay, usa el coste de la variante (get_variantes). Estima el importe de reposición y avisa si faltan precios.
  6. Configuración incompleta. Cuenta los registros de productos con control de stock que tienen stockmin = 0: no se pueden evaluar y conviene configurarlos.

Read the full file on GitHub · 64 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 · -91 lines · +32 tokens per session 3bc0344aa1ce
  2. 3mo ago First seen · 155 lines · 20 tokens per session scan A bd30f15cb03c

Subscribe to this mod's changes

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.

Related

stock-bajo compared with skills from other repositories

stock-bajo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stock-bajoFacturaScripts/fs-claude-pluginSkill118d agoMITA52Claude 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