agent-identity-gate

agent-identity-gate is a skill for Claude Code, Codex from PostOakLabs/ainumbers. It costs 48 tokens per session (580 once invoked), scanned A, original, MIT.

An automated-client identity gate that checks a request signature, replay protection, and a pinned signing-key directory. RFC 9421 is a standard for signing HTTP messages, while JWKS is a published set of public keys.

In plain words
What is it for?
Use it to verify a bot's signed headers, nonce and timestamp, and key pin, then run a changed-signature negative test and save the decision receipt. It does not cover authorization or rate limits.
Why use it?
It helps reject forged or replayed requests and confirms that the signing key is the one the operator approved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to verify a bot's signed headers, nonce and timestamp, and key pin, then run a changed-signature negative test and save the decision receipt. It does not cover authorization or rate limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/postoaklabs/ainumbers/agent-identity-gate
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 PostOakLabs/ainumbers --skill agent-identity-gate
Clone the repo
git clone --depth 1 https://github.com/PostOakLabs/ainumbers

Made for: Claude Code, Codex.

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 agent-identity-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/postoaklabs/ainumbers/agent-identity-gate/github.svg)](https://agentmods.dev/skills/postoaklabs/ainumbers/agent-identity-gate)
Your own site
<a href="https://agentmods.dev/skills/postoaklabs/ainumbers/agent-identity-gate"><img src="https://agentmods.dev/badge/skills/postoaklabs/ainumbers/agent-identity-gate/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 agent-identity-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/postoaklabs/ainumbers/agent-identity-gate"><img src="https://agentmods.dev/badge/skills/postoaklabs/ainumbers/agent-identity-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 580 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.00048 $0.00580
Opus 5.5 $0.00019 $0.00232
Sonnet 5.5 $0.00010 $0.00116
Haiku 4.5 $0.00005 $0.00058

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

Security

Grade A, and why

agent-identity-gate 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 15d 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.

skills/agent-identity-gate/SKILL.md · 41 lines

What it actually says

Agent identity gate

Verify a bot’s RFC 9421 signature, replay window, and pinned JWKS before letting it in.

Prompt

Decide whether an automated client may enter, and keep the decision receipt.

  1. Capture the client's request signature headers (RFC 9421 signature-input, signature, and the webbotauth document).
  2. Call verify_webbotauth_signature on the captured headers and the served webbotauth document. Record pass/fail and the key id used.
  3. Call check_webbotauth_nonce_replay with the nonce and timestamp window. Record whether the nonce was seen before.
  4. Call check_jwks_pinned_directory to confirm the signing key is the key the operator pinned in the directory. Record the pin match.
  5. Run the chain visa-tap-agent-verification with run_chain, which composes the three checks. Record the chain verdict and execution_hash.
  6. Negative test: replay step 2 with a one-byte-changed signature and confirm it fails. Quote the error.
  7. Give me the ledger link for the chain receipt.
  8. Write the gate note for your security log: client identity, which checks passed, the one negative test, and the ledger link. State what the gate does not cover (authorization and rate limits are your edge's job, not the signature's). Call shape: every ChainGraph node tool takes its arguments nested under one wrapper object, e.g. {"policy_parameters": { ... }}; flat arguments are discarded by schema validation. If a named tool is not in your tool list, call call_tool with { "name": "", "arguments": { … } }. It runs the same validation and returns the same receipt.

How to run

Connect an MCP-capable host to https://mcp.ainumbers.co/mcp, then give the prompt above to the assistant.

Use synthetic inputs only. Never paste personal or production data.

Verify what came back

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. 15d ago Changed eb2f02a42978
  2. 19d ago First seen · 41 lines · 48 tokens per session scan A 5e42e9d9185a

Subscribe to this mod's changes

agent-identity-gate is a skill published in the GitHub repository PostOakLabs/ainumbers (11 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 580 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-09-27.

Related

Other skills, from other repositories

fsi-compliance-checker

Maps code, architecture, and infrastructure changes to specific control IDs in PCI-DSS v4.0 and MAS TRM (Singapore financial regulator), producing an audit-traceable findings report with per-control remediation.

LiHongwei-cn/lihongwei-cn · 48 tokens

onboarding

Full KYC customer onboarding with mandatory Step 0 independent verification (5+1 searches), 17 sequential stagegates requiring explicit analyst consent, deterministic four-factor risk scoring, case folder auto-creation, 4-sheet Excel dashboard, 17-section PDF report, and immutable audit trail. Covers UK/EU (AMLD5), US…

vyayasan/kyc-analyst · 83 tokens

risk-assessment

Deterministic heuristic risk scoring using a four-factor weighted model (Geographic 30%, Customer 35%, Product 25%, Channel 10%) aligned with Basel III, EBA Guidelines, FATF standards, and FinCEN guidance. Bands: LOW (0-20), MEDIUM (21-60), HIGH (61-80), CRITICAL (81-100).

vyayasan/kyc-analyst · 81 tokens

screening

Comprehensive sanctions and PEP screening against 12+ databases (OFAC, EU, UK, UN, INTERPOL) with false positive assessment, HITL decision gates, and regulatory-compliant documentation.

vyayasan/kyc-analyst · 44 tokens

refresh

Periodic customer refresh with re-verification of original due diligence to detect material changes and maintain compliance with ongoing due diligence requirements. Triggers include time-based review (annual HIGH risk, 2-3 year intervals for MEDIUM/LOW), risk-based escalation (score changes, business pivots), and…

vyayasan/kyc-analyst · 74 tokens

transaction-monitoring

AML transaction monitoring for ongoing customer relationships. Identifies suspicious patterns including structuring, layering, and unusual activity. Assesses against regulatory thresholds and prepares Suspicious Activity Reports (SARs) with HITL decision gates.

vyayasan/kyc-analyst · 47 tokens