cloudflare-monetization-gateway
Skill3 starsChanged 4 days agoMITView on GitHub
Cloudflare Monetization Gateway / x402 waitlist adapter. Emits HTTP 402 PAYMENT-REQUIRED JSON. Never claims LIVE USDC settlement. Prefix receipts are not proof. Trigger: x402, Monetization Gateway, Pay Per Crawl, 402 Payment Required. Slash: /cloudflare-monetization-gateway.
In this repository153 other files it gives its agents.
- AGENTS.mdAGENTS.md
- hermes-mobile/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agent-automations.mdcCursor rule
- .cursor/rules/agent-device.mdcCursor rule
- .cursor/rules/agent-harness-router.mdcCursor rule
- .cursor/rules/agent-skills-overview.mdcCursor rule
- .cursor/rules/always-agent-mode.mdcCursor rule
- .cursor/rules/callstack-agent-skills-overview.mdcCursor rule
- .cursor/rules/callstack-react-native-best-practices.mdcCursor rule
- .cursor/rules/codeql-agent-hygiene.mdcCursor rule
- .cursor/rules/decision-stack.mdcCursor rule
- .cursor/rules/expo-credit-budget.mdcCursor rule
- .cursor/rules/fleet-repo-intelligence.mdcCursor rule
- .cursor/rules/hermes-mobile-prevention-july-2026.mdcCursor rule
- .cursor/rules/hermes-mobile-real-users.mdcCursor rule
- .cursor/rules/hermes-mobile-verification.mdcCursor rule
- .cursor/rules/no-desktop-hijack.mdcCursor rule
- .cursor/rules/no-manual-handoffs.mdcCursor rule
- .cursor/rules/obsidian-teammate-collaboration.mdcCursor rule
- .cursor/rules/prefer-headless-background-ops.mdcCursor rule
- .cursor/rules/react-native-best-practices.mdcCursor rule
- public/llms.txtllms.txt
- advertise-thumbgate-github-marketplaceSkill
- agent-harness-routerSkill
- agentic-pattern-selectorSkill
- agents-judgment-calls-gateSkill
- ai-native-sdlcSkill
- android-dev-summit-26-gateSkill
- anti-babysitting-mandateSkill
- anti-babysittingSkill
- background-agent-hold-gateSkill
- browseros-agent-harnessSkill
- webmcp-agent-readinessSkill
- ci-first-failSkill
- ci-pr-monitorSkill
- cloudflare-developer-stackSkill
- cloudflare-kitesurf-browserSkill
- confidence-offer-gateSkill
- content-laneSkill
- context-six-blockSkill
- context-vaultSkill
- context-weight-gateSkill
- dual-model-agentic-graphragSkill
- egm-fresh-reviewSkill
- elevenlabs-voice-agentsSkill
- emeans-quant-and-instinctSkill
- explainx-trending-honestSkill
- explainx-trending-ragSkill
- future-agi-self-healing-engineSkill
- garryslist-opportunity-trackerSkill
- gemini-decisions-hold-gateSkill
- git-at-scaleSkill
- gitbutler-fleet-automationsSkill
- gitbutler-google-ssoSkill
- gitbutler-mcp-isolatedSkill
- gitbutler-session-absorbSkill
- git-hooks-no-huskySkill
- github-marketplace-action-publishSkill
- The first 60 shown.
The file
Files
Cloudflare Monetization Gateway (waitlist)
Source: https://blog.cloudflare.com/monetization-gateway/
Steal the mechanic (402 + payment-in-the-request). The product is WAITLIST. Pay Per Crawl is private beta. Cash today is Stripe $10 hosted Hermes.
node tools/cloudflare-monetization-gateway.js --health --json
node tools/cloudflare-monetization-gateway.js --url "https://thumbgate.app/docs" --user-agent "GPTBot/1.2" --json
node tests/test-cloudflare-monetization-gateway.jsHMAC simulate only with X402_HMAC_SECRET and --simulate / X402_ALLOW_SIMULATE=1. Settlement kind is simulated. capturedRevenueUsd stays 0.
| NEVER | ALWAYS |
Accept x402_… as payment | HMAC BOUND to the issued challenge (id + resource + traffic type + amount), verified against the persisted issuance record, single-use |
| Claim merchant-of-record / live USDC | status: WAITLIST liveClaim: false |
| Put x402/USDC in dashboard or landing | Keep it in this CLI + skill (hosted-source-of-truth) |
| Execute x402 spend from the economic router | Existing approval gate in hermes-economic-router.js |
| Honour a token whose challenge was never issued, is expired, or was already used | Reject: challenge_not_issued / challenge_expired / challenge_already_consumed |
| Let simulated and real tokens share a shape | Simulated ones carry the x402sim.v2. prefix — nothing real is shaped like that |
| Buyer outreach / new SKU (ECI) | Waitlist URL only |
Waitlist: https://blog.cloudflare.com/monetization-gateway/
Pay Per Crawl signup: https://www.cloudflare.com/paypercrawl-signup/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

