lion-screen-before-pay

lion-screen-before-pay is a skill for Claude Code, Codex from 8dp6brm9hp-svg/lion-mcp-public. It costs 65 tokens per session (1,801 once invoked), scanned A, original, MIT.

A payment safety check for a wallet address before an agent sends USDC, a cryptocurrency stablecoin, through an x402 payment. It screens the recipient for sanctions and other risk signals, then permits or stops the payment based on the result.

In plain words
What is it for?
Use it before paying an x402 resource or onboarding a wallet, domain, or company. Continue only on a PASS result and stop on WARN or BLOCK.
Why use it?
An x402 payment verifies that a payment can be made, but not who receives it. Screening first helps avoid sending funds to a sanctioned, fraudulent, or honeypot wallet.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it before paying an x402 resource or onboarding a wallet, domain, or company. Continue only on a PASS result and stop on WARN or BLOCK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay
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 8dp6brm9hp-svg/lion-mcp-public --skill lion-screen-before-pay
Clone the repo
git clone --depth 1 https://github.com/8dp6brm9hp-svg/lion-mcp-public

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 lion-screen-before-pay

README.md
[![agentmods](https://agentmods.dev/badge/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay/github.svg)](https://agentmods.dev/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay)
Your own site
<a href="https://agentmods.dev/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay"><img src="https://agentmods.dev/badge/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay/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 lion-screen-before-pay

Your own site · 80×15
<a href="https://agentmods.dev/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay"><img src="https://agentmods.dev/badge/skills/8dp6brm9hp-svg/lion-mcp-public/lion-screen-before-pay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00065 $0.01801
Opus 5.5 $0.00026 $0.00720
Sonnet 5.5 $0.00013 $0.00360
Haiku 4.5 $0.00006 $0.00180

Measured 1mo ago against content hash 5439fbbd60c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lion-screen-before-pay scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HDR=$(curl -sD - -o /tmp/lion_screen_body.json "$LION" | awk 'tolower($1)=="payment-required:" { gsub(/\r/,""); print $2; exit }')
skills/lion-screen-before-pay/SKILL.md · 92 lines

How it starts

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

lion-screen-before-pay

x402 verifies the payment, never who you are paying. An agent will happily send USDC to a payTo that belongs to a sanctioned, fraudulent, or honeypot counterparty. Screen first, pay second.

When to use

Whenever the agent is about to pay an x402 resource — or onboard/transact with any wallet, domain, or company. Screen the payTo before signing the payment.

The gate (one keyless call, $0.001 USDC on Base)

GET https://lionx402.com/api/x402/wallet-screen-json?address=<PAYTO>
  • address = the wallet you are about to pay.
  • Response: { "verdict": "PASS" | "WARN" | "BLOCK", "ofac": { "snapshot_as_of", "total_listed_addresses" }, "attestation" }.
  • Proceed on PASS. Abort on WARN or BLOCK. Do not look for CLEAR.
  • The $0.05 compliance bundle is optional, and only when this screen is not enough: GET https://lionx402.com/api/x402/compliance-bundle-json?address=<PAYTO>&receipt=1.

Workflow

  1. Hit the target resource without paying. On 402, read payTo from the PAYMENT-REQUIRED header (base64 JSON, accepts[0].payTo). Use the JSON body only if that header is absent.
  2. Screen it — pay the $0.001 wallet screen for that payTo (it is itself an x402 call; pay it with the cdp-x402 buyer flow below).
  3. Decide: verdict == "PASS" → proceed to pay the target. WARN or BLOCK → ABORT.
  4. Keep the signed body. It verifies offline (no callback) against LION's published key.

Screening the gate (reuses the cdp-x402 buyer flow)

PAYTO=0x...                      # the counterparty you're about to pay
LION="https://lionx402.com/api/x402/wallet-screen-json?address=$PAYTO"

# The challenge is the PAYMENT-REQUIRED header. Use the JSON body only when that header is absent.
HDR=$(curl -sD - -o /tmp/lion_screen_body.json "$LION" | awk 'tolower($1)=="payment-required:" { gsub(/\r/,""); print $2; exit }')
if [ -n "$HDR" ]; then
  REQ=$(printf '%s' "$HDR" | python3 -c 'import sys,base64,json; s=sys.stdin.read().strip().replace("-","+").replace("_","/"); s+="="*((4-len(s)%4)%4); print(json.dumps(json.loads(base64.b64decode(s))["accepts"][0], separators=(",", ":")))')
else
  REQ=$(jq -c '.accepts[0]' /tmp/lion_screen_body.json)
fi
addr=$(cdp evm accounts by-name name=$ACCOUNT | jq -r .address)
payload=$(cdp util x402 build --from $addr --payment-requirements "$REQ")
D=$(echo "$payload" | jq -c .domain); T=$(echo "$payload" | jq -c .types)
P=$(echo "$payload" | jq -r .primaryType); M=$(echo "$payload" | jq -c .message)
sig=$(cdp evm accounts sign typed-data $addr \
  "domain:=$D" "types:=$T" "primaryType=$P" "message:=$M" | jq -r .signature)
header=$(cdp util x402 encode --payment-requirements "$REQ" \
  --signature "$sig" --authorization "$M" --x402-version 2)

RESULT=$(curl -s -H "X-PAYMENT: $header" -H "PAYMENT-SIGNATURE: $header" "$LION")
verdict=$(echo "$RESULT" | jq -r '.verdict // .receipt.verdict')
if [ "$verdict" != "PASS" ]; then
  echo "BLOCKED ($verdict): $(echo "$RESULT" | jq -c '.flags')"; exit 1   # fail-closed: do NOT pay
fi
echo "$RESULT" | jq -c '.' > last_wallet_screen.json                       # keep the proof
# verdict PASS -> now pay the original target resource.

Read the full file on GitHub · 92 lines

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. 1mo ago Changed · +1 lines 5439fbbd60c9
  2. 1mo ago Changed · +6 lines 1d7a04e6c48d
  3. 1mo ago First seen · 85 lines · 65 tokens per session scan A be71e0658402

Subscribe to this mod's changes

lion-screen-before-pay is a skill published in the GitHub repository 8dp6brm9hp-svg/lion-mcp-public (1 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,801 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

lion-screen-before-pay compared with skills from other repositories

lion-screen-before-pay next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lion-screen-before-pay8dp6brm9hp-svg/lion-mcp-publicSkill11mo agoMITA65Claude Code, Codex
stablecoin-chain-explorerokx/plugin-storeSkill126d agoMITA72Claude Code
aero-vote-radararaxis33/aero-vote-radarSkill3todayMITA84Claude Code, Codex
stablecoin-chain-explorerbarkermoney/barker-mcpSkill21mo agoMITA102Claude Code
clicks-protocolclicks-protocol/clicks-protocolSkill24mo agoMITA57Claude Code, Codex
bitfencebitfenceai/bitfenceSkill13mo agoApache-2.0A55Claude Code, Codex
stipendstipend-sh/stipendSkill15d agoApache-2.0C76Claude Code, Codex