analizar-ventas

analizar-ventas is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 40 tokens per session (1,321 once invoked), scanned A, original, MIT.

A sales-reporting tool for FacturaScripts, a business management system. It creates an executive summary for a chosen period and can compare results with earlier periods.

In plain words
What is it for?
Use it to see total sales, invoice count, average invoice value, leading customers and products, profitability timing, trends, and recommendations.
Why use it?
It turns invoice data into key sales figures and comparisons without requiring you to assemble the report manually.

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 Use it to see total sales, invoice count, average invoice value, leading customers and products, profitability timing, trends, and recommendations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/analizar-ventas"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/analizar-ventas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,321 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.00040 $0.01321
Opus 5.5 $0.00016 $0.00528
Sonnet 5.5 $0.00008 $0.00264
Haiku 4.5 $0.00004 $0.00132

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

Security

Grade A, and why

analizar-ventas 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/analizar-ventas/SKILL.md · 61 lines

How it starts

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

Análisis de ventas

Genera un informe ejecutivo de las ventas facturadas en un periodo con datos reales de la instancia.

Antes de empezar, lee completo el perfil ../../agents/reporting-analyst.md: sus reglas de conexión, paginación, fechas y bases de cálculo son obligatorias en esta skill. Si en Codex delegas el análisis en un subagente, sigue las indicaciones de reporting-analyst.

Datos que debes pedir

  • Periodo (obligatorio). Si el usuario no lo indica, propón el último mes completo y confírmalo. Convierte expresiones como "enero de 2026" o "el último trimestre" en fechas YYYY-MM-DD.
  • Comparativas (opcional; por defecto, sí): el periodo anterior de igual duración y el mismo periodo del año anterior.
  • Rentabilidad (opcional; por defecto, sí): beneficio y margen.

Procedimiento

  1. Conexión y ejercicios. Elige la conexión según el perfil y consulta get_ejercicios para saber a qué ejercicio o ejercicios pertenece el periodo.
  2. Facturas del periodo. Obtén todas las facturas de cliente con get_facturaclientes filtrando fecha_gte y fecha_lte, recorriendo offset. Calcula:
    • número de facturas y de clientes distintos;
    • base imponible (neto), IVA (totaliva) y total (total);
    • ticket medio sobre la base imponible (neto / número de facturas);
    • beneficio (totalbeneficio) y margen sobre la base imponible (totalbeneficio / neto). Las facturas rectificativas tienen importes negativos y restan; menciónalas si existen.
  3. Mejores clientes. Agrupa las facturas del paso 2 por codcliente y nombrecliente y ordena por base imponible. Muestra los 10 primeros con su número de facturas, base imponible, ticket medio y porcentaje sobre el total. No uses get_clientes_top_facturacion salvo que el periodo coincida con un ejercicio completo, porque solo filtra por ejercicio y suma importes con impuestos.
  4. Productos más vendidos.
    • Si el periodo coincide con un ejercicio completo, usa get_productos_mas_vendidos con su codejercicio. Ordena por cantidad y sus importes no incluyen impuestos.
    • En otro caso, obtén las líneas de las facturas del periodo con get_lineafacturaclientes filtrando por idfactura y agrúpalas por referencia, sumando cantidad y pvptotal.
    • Si el periodo tiene muchas facturas (más de 200, aproximadamente), ofrece en su lugar el ranking del ejercicio completo y advierte de la diferencia.
    • Las líneas sin referencia son conceptos libres: agrúpalas aparte como "Otros conceptos".
  5. Comparativas. Calcula las mismas cifras del paso 2 para cada periodo de comparación.
    • Si los periodos son meses completos, puedes sumar los meses de get_tiempo_beneficios_todos_clientes (por ejercicio), que ya devuelve neto, total y beneficio mensuales.
    • En otro caso, repite el paso 2 con las fechas de comparación.
    • Expresa la variación en porcentaje. Si el periodo de comparación no tiene ventas, indica "sin datos comparables" en lugar de un 0 % o un infinito.
  6. Tendencia. Si el periodo abarca más de un mes, muestra la evolución mensual de la base imponible con get_tiempo_beneficios_todos_clientes. Si hay datos del ejercicio anterior, compara los mismos meses para detectar estacionalidad. Esta herramienta no calcula un "tiempo hasta beneficios"; úsala solo como evolución mensual.
  7. Rentabilidad (si se ha pedido).
    • Indica los clientes con mayor beneficio a partir del paso 3.
    • Si el periodo coincide con un ejercicio, añade las facturas vendidas por debajo de coste con get_facturas_margen_negativo.
    • Advierte que el beneficio depende del precio de coste registrado en los productos: si los costes están vacíos o desactualizados, el margen no es fiable.
  8. Ventas aún sin facturar (opcional). Si get_albaranes_pendientes_facturar devuelve albaranes del periodo, menciónalos como ventas entregadas pendientes de facturar.

Read the full file on GitHub · 61 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 · -25 lines · +16 tokens per session 1d7a9af4286b
  2. 3mo ago First seen · 86 lines · 24 tokens per session scan A 60def5d9a942

Subscribe to this mod's changes

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

analizar-ventas compared with skills from other repositories

analizar-ventas next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analizar-ventasFacturaScripts/fs-claude-pluginSkill118d agoMITA40Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code