tesoreria

tesoreria is a skill for Claude Code from Frihet-io/frihet-mcp. It costs 55 tokens per session (403 once invoked), scanned A, original, MIT.

A banking and cash-reconciliation assistant for Frihet, a business record system. It reviews accounts and transactions, proposes links to invoices or expenses, and records only explicitly approved matches.

In plain words
What is it for?
Review bank balances and transactions, compare them with invoices or expenses, identify possible matches and differences, and save an approved transaction-to-invoice link.
Why use it?
It helps separate confirmed matches from uncertain ones, especially when amounts, currencies, partial payments, or several documents make reconciliation unclear. It also avoids treating an invoice's status as proof that money was collected.

Skill for Claude Code

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

Part of the frihet-erp plugin — 8 skills shipped together

Good fit Review bank balances and transactions, compare them with invoices or expenses, identify possible matches and differences, and save an approved transaction-to-invoice link.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frihet-io/frihet-mcp/tesoreria
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 Frihet-io/frihet-mcp --skill tesoreria
Clone the repo
git clone --depth 1 https://github.com/Frihet-io/frihet-mcp

Made for: Claude Code.

Or install frihet-erp, the plugin that ships this one along with the rest of its 8 skills.

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 tesoreria

README.md
[![agentmods](https://agentmods.dev/badge/skills/frihet-io/frihet-mcp/tesoreria/github.svg)](https://agentmods.dev/skills/frihet-io/frihet-mcp/tesoreria)
Your own site
<a href="https://agentmods.dev/skills/frihet-io/frihet-mcp/tesoreria"><img src="https://agentmods.dev/badge/skills/frihet-io/frihet-mcp/tesoreria/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 tesoreria

Your own site · 80×15
<a href="https://agentmods.dev/skills/frihet-io/frihet-mcp/tesoreria"><img src="https://agentmods.dev/badge/skills/frihet-io/frihet-mcp/tesoreria.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 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.00055 $0.00403
Opus 5.5 $0.00022 $0.00161
Sonnet 5.5 $0.00011 $0.00081
Haiku 4.5 $0.00006 $0.00040

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

Security

Grade A, and why

tesoreria 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.

plugins/claude/frihet-erp/skills/tesoreria/SKILL.md · 35 lines

What it actually says

Tesorería y conciliación

Lee las reglas de Frihet. Resuelve cuenta, periodo y moneda; usa list_bank_accounts, get_bank_account y list_transactions según el catálogo. No confundas el saldo actual de una cuenta con el saldo al cierre de un periodo si no tienes movimientos y cobertura suficientes.

Para cada posible conciliación, compara movimiento y documento mediante sus IDs, fecha, moneda, importe, referencia y vínculos existentes. Usa el detalle de la factura o gasto. Una coincidencia de importe o nombre no demuestra por sí sola que el movimiento corresponda al documento. Si hay pagos parciales, comisiones, distintas monedas o varios candidatos, explica qué falta.

Entrega primero las correspondencias propuestas y las diferencias. Una revisión no autoriza conciliar. Si el usuario ya ha autorizado una correspondencia exacta y no hay ambigüedad, ejecuta match_transaction_to_invoice con los campos reales del esquema y su interlock de confirmación. No repitas la autorización ya dada. Lee después el vínculo y el estado del documento; separa lo confirmado de lo que no pueda comprobarse. No inventes un pago adicional para cuadrar el saldo.

categorize_transaction cambia la clasificación de un movimiento; una regla bancaria puede afectar a movimientos futuros y necesita su propio alcance. Registrar o conciliar un movimiento no ordena un cobro, pago ni transferencia. No uses una marca de «pagado» para sustituir una conciliación ausente.

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 · 35 lines · 55 tokens per session scan A 1167b97c44f4

Subscribe to this mod's changes

tesoreria is a skill published in the GitHub repository Frihet-io/frihet-mcp (12 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 403 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-10-21.