fidacy-payment-firewall

fidacy-payment-firewall is a skill for Claude Code from lucaslubi/fidacy-mcp. It costs 67 tokens per session (998 once invoked), scanned A, original, Apache-2.0.

A payment-checking workflow for AI agents that tests a planned payment against a signed mandate, which is an authorised set of payment rules.

In plain words
What is it for?
Use it immediately before payment, transfer, checkout, invoice settlement, or another money-moving tool call, and for creating proof that a high-stakes action was approved or denied.
Why use it?
It can block payments caused by misleading instructions or agent mistakes, such as the wrong recipient, an excessive amount, or a duplicate invoice, before settlement. It does not move money itself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; built for openclaw.

Part of the fidacy-payment-firewall plugin — 2 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it immediately before payment, transfer, checkout, invoice settlement, or another money-moving tool call, and for creating proof that a high-stakes action was approved or denied.

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

Made for: Claude Code.

Or install fidacy-payment-firewall, the plugin that ships this one along with the rest of its 2 skills, 2 hooks, 1 MCP server.

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 fidacy-payment-firewall

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucaslubi/fidacy-mcp/fidacy-payment-firewall"><img src="https://agentmods.dev/badge/skills/lucaslubi/fidacy-mcp/fidacy-payment-firewall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 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.00067 $0.00998
Opus 5 $0.00034 $0.00499
Sonnet 5 $0.00013 $0.00200
Haiku 4.5 $0.00007 $0.00100

Measured 12d ago against content hash aa1375d96b76, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fidacy-payment-firewall 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 12d 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.

plugin/fidacy-payment-firewall/skills/fidacy-payment-firewall/SKILL.md · 85 lines

How it starts

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

Fidacy — the payment firewall for agents

An invoice is paid with a signed grant; the same invoice re-presented at a higher amount is denied as duplicate_invoice

An agent can be prompt-injected or hallucinate into a payment: wrong payee, an inflated amount, or the same invoice paid twice. Your own log is not evidence. Fidacy puts a signed, independently-verifiable verdict on every money-moving action and blocks the bad one before it settles. It moves no money.

When to use this skill

Invoke it the moment you are about to run a tool that moves money or authorizes a payment (pay, transfer, send_payment, checkout, invoice settlement, a Hermes/Lightning send, an AP2 mandate). Also use it to put a signed trust verdict on any high-stakes action you want to be able to prove later.

How to use it

This skill drives the @fidacy/mcp plugin's tools. Wire it into your pre-action / tool-execution hook:

  1. Before paying — call request_payment with { payee, amount, currency, purpose, category, idempotencyKey, invoiceRef? }.

    • ALLOW → you get a short-lived signed grant. Only then run the real payment tool, passing that grant to the executor.
    • DENYdo not pay. The response names the violated rule (payee_not_in_allowlist, per_tx_cap_exceeded, duplicate_invoice…). Stop and report it.
    • Always set invoiceRef when you have one: Fidacy enforces one payment per invoice, so a re-presented invoice (even at a different amount, or with case/spacing tweaks) is blocked — the core BEC defense.
  2. To see the guardrails — call verify_mandate: returns the active mandate (caps, allowed payees/categories, window) and Fidacy's public key.

  3. To prove what was blocked/allowed — call get_audit_proof with the decisionId: returns the tamper-evident, hash-chained proof.

  4. For a signed verdict on any action — call assess_action: returns a riskPayloadJws that anyone can re-verify against the public JWKS at https://api.fidacy.com/.well-known/jwks.json. Attach it to the action's audit trail; you don't have to trust Fidacy — you verify the signature.

Read the full file on GitHub · 85 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 85 lines · 67 tokens per session scan A aa1375d96b76

Subscribe to this mod's changes

fidacy-payment-firewall is a skill published in the GitHub repository lucaslubi/fidacy-mcp (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 67 tokens to every session and 998 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

surf

Surf (asksurf.ai) is RETIRED on BlockRun and the blockrunsurf tool was REMOVED in 0.49.0 — the gateway has answered every /v1/surf/ path with HTTP 410 endpointretired since 2026-09-06. Use this skill to route a former Surf question (on-chain SQL, wallet labels and net worth, CEX order books, social mindshare, news) to…

BlockRunAI/blockrun-mcp · 110 tokens

scanner-pmcc

Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.

staskh/trading_skills · 63 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

ib-portfolio-action-report

Generate a comprehensive portfolio action report with earnings dates and risk assessment. Use when user asks for portfolio review, action items, earnings risk, or position management across IB accounts. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 49 tokens

ib-trades-history

Fetch trade executions from Interactive Brokers filtered by account, date range, or symbol. Supports live API (7 days history) and FlexReport (full history). Use when user asks about their trades, executions, or transaction history. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 59 tokens

report-stock

Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis.

staskh/trading_skills · 22 tokens