zero-egress-emir-proof

zero-egress-emir-proof is a command for Claude Code from PostOakLabs/ainumbers. It costs 29 tokens per session (384 once invoked), scanned A, original, MIT.

A browser-based process for checking synthetic EMIR Refit trade-reporting data without sending the data away. EMIR Refit is an EU update to rules for reporting derivatives trades.

In plain words
What is it for?
Use it to check UTI completeness, UPI values, trade life-cycle events, and reporting fit, then package and timestamp the resulting evidence.
Why use it?
It helps prove that regulatory checks ran correctly while keeping the sample inside the browser and giving a supervisor hashes and a recipe for checking the results again.

Command for Claude Code

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

Part of the ainumbers plugin — 1 skill, 5 commands shipped together

Good fit Use it to check UTI completeness, UPI values, trade life-cycle events, and reporting fit, then package and timestamp the resulting evidence.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/postoaklabs/ainumbers/zero-egress-emir-proof
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/PostOakLabs/ainumbers

Made for: Claude Code.

Or install ainumbers, the plugin that ships this one along with the rest of its 1 skill, 5 commands.

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 zero-egress-emir-proof

README.md
[![agentmods](https://agentmods.dev/badge/commands/postoaklabs/ainumbers/zero-egress-emir-proof.svg)](https://agentmods.dev/commands/postoaklabs/ainumbers/zero-egress-emir-proof)
Your own site
<a href="https://agentmods.dev/commands/postoaklabs/ainumbers/zero-egress-emir-proof"><img src="https://agentmods.dev/badge/commands/postoaklabs/ainumbers/zero-egress-emir-proof.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 384 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.00029 $0.00384
Opus 5 $0.00015 $0.00192
Sonnet 5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured yesterday against content hash ab06904f245f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

zero-egress-emir-proof 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 yesterday.

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.

agent-kit/claude-plugin/commands/zero-egress-emir-proof.md · 25 lines

What it actually says

Regulatory proof without the data leaving the browser

You are a trade-reporting agent at an EU counterparty. The trade report is confidential: it must not leave this machine. Prove readiness anyway.

  1. Take the synthetic EMIR Refit auth.030 sample from the art-158 page. Do NOT paste it into any remote call at any point.
  2. On each page, invoke the WebMCP-registered tool in the page with that sample:
    • art-154 check_emir_uti_completeness
    • art-155 validate_emir_upi
    • art-157 validate_emir_lifecycle_event
    • art-158 run_emir_reporting_fit Record each verdict and execution_hash. Confirm zero network requests during each call.
  3. Call verify_execution_hash on mcp.ainumbers.co for each artifact, sending ONLY the artifact (policy_parameters + output_payload as emitted by the page). State whether every recompute matches.
  4. Call build_evidence_pack with the four hashes, labelled by node, plus the four kernel_digest values from chaingraph.json.
  5. Call anchor_batch on anchor.ainumbers.co with the four hashes and the pack digest. Use two authorities: Sigstore TSA and OpenTimestamps.
  6. Build the ledger fragment link for the art-158 artifact and open it. Report the verify chips.
  7. Write the cover note for the trade repository: which checks ran, on which kernel versions, that the report content never left the workstation, and how a supervisor re-verifies with no access to us (ledger link + anchor receipt + kernel_digest).

Finish by stating the execution_hash you received and the ledger link a human can verify it at.

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. yesterday First seen · 25 lines · 29 tokens per session scan A ab06904f245f

Subscribe to this mod's changes

zero-egress-emir-proof is a command published in the GitHub repository PostOakLabs/ainumbers (5 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 384 once invoked, about $0.0001 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-09-06.