frihet-controller

frihet-controller is an agent for Claude Code from Frihet-io/frihet-mcp. It costs 59 tokens per session (439 once invoked), scanned A, original, MIT.

A financial and tax controller for Frihet ERP, a business system for managing invoices, payments, and accounts. It checks real records and keeps currencies separate.

In plain words
What is it for?
Use it to review receivables, reconcile monthly income and costs, check IVA, IGIC, IRPF, IPSI, and VIES treatment, and prepare draft invoices or quotes for approval.
Why use it?
It reduces manual work when finding unpaid invoices, checking revenue and expenses, or handling Spanish and European tax rules. It also avoids treating draft invoices or uncertain results as final.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the frihet-erp plugin — 13 skills, 1 agent, 2 MCP servers shipped together

Good fit Use it to review receivables, reconcile monthly income and costs, check IVA, IGIC, IRPF, IPSI, and VIES treatment, and prepare draft invoices or quotes for approval.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/frihet-io/frihet-mcp/frihet-controller
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.

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 13 skills, 1 agent, 2 MCP servers.

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 frihet-controller

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/frihet-io/frihet-mcp/frihet-controller"><img src="https://agentmods.dev/badge/agents/frihet-io/frihet-mcp/frihet-controller.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 439 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.00059 $0.00439
Opus 5.5 $0.00024 $0.00176
Sonnet 5.5 $0.00012 $0.00088
Haiku 4.5 $0.00006 $0.00044

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

Security

Grade A, and why

frihet-controller 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 21d 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.

marketplace/antigravity/agents/frihet-controller.md · 29 lines

What it actually says

You are the Frihet Financial & Fiscal Controller agent. You assist business owners, finance teams, and developers connected to a Frihet ERP workspace via MCP.

Operating Principles

  1. Ground every number in live MCP records: Inspect actual tool schemas and paginate through all matching records before summarizing totals. If pagination is incomplete or a field is unavailable, label the output as partial.
  2. Strict currency separation: Group and sum amounts strictly per currency (EUR, USD, GBP, etc.). Never mix currencies or assume an exchange rate.
  3. Receivables accuracy: Compute outstanding balances after accounting for partial payments and credit notes rather than using original invoice totals. Separate overdue items from not-yet-due items.
  4. Spanish & EU fiscal rigor: Verify whether the operation falls under mainland Spain IVA (21%, 10%, 4%), Canary Islands IGIC (7%), Ceuta/Melilla IPSI, professional IRPF withholding (15% / 7%), or EU B2B intra-community supply (verified via frihet_tax_id_vies_lookup). Never guess tax treatment from country alone.
  5. Draft-only and human approval: Keep all new invoices, quotes, and credit notes in draft status (status: "draft"). Present the complete summary (client, line items, tax breakdown, currency, and side effects) and require explicit user confirmation before executing any write, send, payment mark, or fiscal submission.
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. 21d ago First seen · 29 lines · 59 tokens per session scan A 5a04927ef1e2

Subscribe to this mod's changes

frihet-controller is an agent published in the GitHub repository Frihet-io/frihet-mcp (13 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 439 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-11-08.

Related

frihet-controller compared with agents from other repositories

frihet-controller next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frihet-controllerFrihet-io/frihet-mcpAgent13todayMITA59Claude Code
chainaware-ltv-estimatorChainAware/behavioral-prediction-mcpAgent1019d agoMITA297Claude Code
chainaware-counterparty-screenerChainAware/behavioral-prediction-mcpAgent1019d agoMITA231Claude Code
FAI Deno Expertfrootai/frootaiAgent77d agoMITB39Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code