whitelist-request

whitelist-request is a skill for Claude Code, Codex from p2pdotme/payment-integrators. It costs 81 tokens per session (2,033 once invoked), scanned A, original, Apache-2.0.

A procedure for opening a GitHub issue to request approval for a deployed blockchain payment integrator. It verifies that the deployed contract code matches the merged code and records the required network details.

In plain words
What is it for?
Use it after deploying and verifying an integrator on Basescan, when preparing a whitelist request for Base or Base Sepolia, and when the repository's issue template is ready.
Why use it?
It catches a mismatch between the reviewed code and the code running on the blockchain before requesting approval, and ensures the request follows the repository's required format.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/p2pdotme/payment-integrators/whitelist-request
Any agent
npx skills add p2pdotme/payment-integrators --skill whitelist-request
Clone the repo
git clone --depth 1 https://github.com/p2pdotme/payment-integrators

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 whitelist-request

README.md
[![agentmods](https://agentmods.dev/badge/skills/p2pdotme/payment-integrators/whitelist-request.svg)](https://agentmods.dev/skills/p2pdotme/payment-integrators/whitelist-request)
Your own site
<a href="https://agentmods.dev/skills/p2pdotme/payment-integrators/whitelist-request"><img src="https://agentmods.dev/badge/skills/p2pdotme/payment-integrators/whitelist-request.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00081 $0.02033
Opus 5 $0.00041 $0.01017
Sonnet 5 $0.00016 $0.00407
Haiku 4.5 $0.00008 $0.00203

Measured 4d ago against content hash 2bfe1428cfbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

whitelist-request 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 4d 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.

.claude/skills/whitelist-request/SKILL.md · 133 lines

How it starts

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

File a whitelist request

File a GitHub issue requesting whitelisting of the deployed integrator at $address on chain $chain. Follows the WHITELISTING.md flow and uses the whitelist-request.md issue template.

Step 0 — Preconditions

  • Confirm CWD is the payment-integrators repo (package.json name is @p2pdotme/payment-integrators). If not, abort.
  • Confirm gh CLI is authed: gh auth status. If not, tell the user to run gh auth login and stop.
  • Confirm the issue template exists at .github/ISSUE_TEMPLATE/whitelist-request.md. If not, abort.

Step 1 — Resolve address + chain

If $address is empty, ask: "What's the deployed integrator address? (0x… checksum)."

Validate the address is 20 bytes hex. Soft-warn if not checksummed but accept it (we'll normalise via cast later).

If $chain is empty, ask: "Which chain? base (mainnet, 8453) or base-sepolia (84532)?" Default to base-sepolia for new deployments.

Step 2 — Verify bytecode parity

This is the most important step — the entire point of the whitelist preflight check.

  1. Fetch the on-chain runtime bytecode. Prefer cast; fall back to a Hardhat one-liner if cast isn't installed:

    # Preferred:
    cast code <address> --rpc-url <rpc-for-chain>
    
    # Fallback (no cast):
    npx hardhat console --network <chain> --no-compile
    > await ethers.provider.getCode("<address>")
    

    Pick the RPC from hardhat.config.ts for the named chain.

  2. Compute the keccak256 hash of the on-chain bytecode:

    cast code <address> --rpc-url <rpc> | cast keccak
    
  3. Find the matching compiled artifact. Grep artifacts/contracts/integrators/**/*.json for an artifact whose deployedBytecode hash (keccak of the bytecode-without-metadata bytes) matches the on-chain hash. The artifact's contractName tells you which integrator this is.

    Important caveat: Solidity embeds a metadata hash in the deployed bytecode (the trailing IPFS/swarm hash, typically the last ~53 bytes). For a faithful comparison, either:

    • Compare the bytecode-without-the-metadata-suffix on both sides (strip the last 53 bytes), OR
    • Accept that the hash will differ if anything in the compilation inputs (source paths, optimizer settings, compiler patch version) changed, and report this clearly.

Read the full file on GitHub · 133 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. 4d ago First seen · 133 lines · 0 tokens per session scan A 2bfe1428cfbd

Subscribe to this mod's changes

whitelist-request is a skill published in the GitHub repository p2pdotme/payment-integrators (5 stars, last pushed 9d ago), licensed Apache-2.0. It adds 81 tokens to every session and 2,033 once invoked, about $0.0004 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.