x402-backend: Instructions file for Claude Code

CLAUDE.md

x402-backend CLAUDE.md is an instructions file for Claude Code from Wintyx57/x402-backend. It costs 14,796 tokens per session, scanned A, original, MIT.

Project instructions for x402-backend, a project that includes the x402 Bazaar command-line tool and its MCP configuration flow. MCP is a standard way for AI assistants to connect to external tools and services.

In plain words
What is it for?
Developing or maintaining the Bazaar CLI, detecting supported environments, generating MCP settings, checking connections, and handling wallet or read-only setup options.
Why use it?
It records the project's completed milestones, supported setup flow, and integration details so agents can make changes consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: positional $N argument; mentions Claude Code.

This is Wintyx57/x402-backend's own configuration. It tells Claude Code how to work on x402-backend itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything x402-backend configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Wintyx57/x402-backend. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Wintyx57/x402-backend/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Wintyx57/x402-backend

Made for: Claude Code.

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 x402-backend CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wintyx57/x402-backend/claude-md/github.svg)](https://agentmods.dev/instructions/wintyx57/x402-backend/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/wintyx57/x402-backend/claude-md"><img src="https://agentmods.dev/badge/instructions/wintyx57/x402-backend/claude-md/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 x402-backend CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wintyx57/x402-backend/claude-md"><img src="https://agentmods.dev/badge/instructions/wintyx57/x402-backend/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,796 This file is loaded in full into every session.
When invoked 14,796 The same file — it is already loaded in full.
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.14796 $0.14796
Opus 5 $0.07398 $0.07398
Sonnet 5 $0.02959 $0.02959
Haiku 4.5 $0.01480 $0.01480

Measured 9d ago against content hash f9c6aff7cd8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

x402-backend CLAUDE.md 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 9d 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.md · 711 lines

How it starts

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

x402 Bazaar - Contexte pour Claude

PLAN DE ROUTE — Phase 1 "Developer Obsession" (Mis a jour: 13/03/2026 — PHASE 1-3 COMPLETE + Polygon Integration + ERC-8004 + Service Status Pipeline + MCP v2.4.1)

Vue d'ensemble

Phase 1: Developer Obsession (Mois 1-2) — COMPLETE
├── [x] Milestone 1: CLI "One-Line Install" (npx x402-bazaar init)
│     ├── [x] 1.1 Structure du package CLI (x402-bazaar-cli/)
│     ├── [x] 1.2 Detection d'environnement (Claude Desktop, Cursor, VS Code, generic)
│     ├── [x] 1.3 Flow interactif (prompts wallet, network, budget)
│     ├── [x] 1.4 Generateur de config MCP (merge avec config existante)
│     ├── [x] 1.5 Verification de connexion (status command)
│     ├── [x] 1.6 Mode "wallet existant" vs "read-only"
│     ├── [x] 1.7 Tests Windows (status, help, version, init --help, npm pack)
│     ├── [x] 1.8 .gitignore, README.md, LICENSE, package.json pour npm
│     └── [x] 1.9 Publication npm — PUBLIE: [email protected] sur npmjs.com (09/02/2026)
│
├── [x] Milestone 1b: Integration CLI sur le site web (x402bazaar.org)
│     ├── [x] 1b.1 Home: one-liner `npx x402-bazaar init` dans le hero (click to copy)
│     ├── [x] 1b.2 MCP: refonte Installation (Quick Install CLI + manual en accordion)
│     ├── [x] 1b.3 Integrate: Get Started restructure (CLI primary + manual fallback)
│     ├── [x] 1b.4 Developers: bandeau CLI quick start en haut de page
│     ├── [x] 1b.5 Traductions EN+FR pour toutes les nouvelles cles
│     └── [x] 1b.6 Push + deploy Vercel (commit bd67cc0, 09/02/2026)
│
├── [x] Milestone 2: Config Generator (Web + CLI) — COMPLET 12/02/2026
│     ├── [x] 2.1 CLI: commande `npx x402-bazaar config` (FAIT dans Milestone 1)
│     ├── [x] 2.2 Web: page /config dans le frontend React
│     ├── [x] 2.3 Formulaire interactif + preview JSON temps reel
│     ├── [x] 2.4 Bouton copier + detection OS automatique
│     └── [x] 2.5 Lien dans la navbar du site
│
├── [x] Milestone 3: Wrappers API x402 (bootstrapper la marketplace)
│     ├── [x] 3.1 Template de base pour wrapper x402
│     ├── [x] 3.2 Wrapper Web Search (DuckDuckGo, /api/search)
│     ├── [x] 3.3 Wrapper Twitter/X (fxtwitter, /api/twitter)
│     ├── [x] 3.4 Enregistrer les wrappers sur la marketplace (seed-wrappers.js)
│     ├── [x] 3.5 Doc: "Comment creer votre propre wrapper"
│     ├── [x] 3.6 Wrapper Universal Scraper (/api/scrape)
│     ├── [x] 3.7 Wrappers Weather, Crypto, Joke (/api/weather, /api/crypto, /api/joke)
│     └── [x] 3.8 Badge "x402 Native" sur le frontend + compteur Live APIs
│
├── [x] Milestone 3b: Holy Trinity + Wrappers avances — COMPLET 12/02/2026
│     ├── [x] 3b.1 Twitter Search: /api/twitter?search=keyword (DuckDuckGo site:twitter.com)
│     ├── [x] 3b.2 Image Generation: /api/image?prompt=... via DALL-E 3 reel (0.05 USDC)
│     ├── [x] 3b.3 8 nouveaux wrappers: translate, summarize, code, dns, qrcode-gen, readability, sentiment, validate-email
│     ├── [x] 3b.4 Total: 41 endpoints natifs enregistres dans Supabase (seed-wrappers.js)
│     └── [x] 3b.5 Mettre a jour route GET / avec la liste complete
│
├── [x] Milestone 4: Refonte /docs — Page documentation centralisee — COMPLET 12/02/2026
│     ├── [x] 4.1 Page /docs avec navigation laterale (DocsSidebar sticky + scroll-spy)
│     ├── [x] 4.2 7 sections (Quickstart, Protocol, API Reference, Native Wrappers, MCP, Integration, Security)
│     ├── [x] 4.3 Code examples interactifs (CopyButton + CodeBlock)
│     ├── [x] 4.4 Section Quickstart (5 min to first call) avec badge vert
│     └── [x] 4.5 API Reference auto-fetchee depuis GET / (fallback statique)
│
├── [x] Milestone 4b: UX/UI & Trust Layer — COMPLET 12/02/2026
│     ├── [x] 4b.1 Badges enrichis: "x402 Native", "Last active: Xh ago" sur ServiceCard
│     ├── [x] 4b.2 Health check services: ping URLs, badge Online/Offline
│     ├── [x] 4b.3 Filtres avances: filtre chain (Base/SKALE/Polygon), slider prix max
│     ├── [x] 4b.4 Dashboard admin: page /dashboard avec stats, balance, activity feed (backend only)
│     ├── [x] 4b.5 Galerie demos agents: page /demos (code + video embed)
│     └── [x] 4b.6 Page FAQ: section FAQ couvrant tx fail, listing, testnet, gas
│
├── [x] Milestone 5: Marketing "Carte de credit illimitee" — COMPLET 12/02/2026
│     ├── [x] 5.1 Landing page value proposition (4 cartes) + social proof sur Home.jsx
│     ├── [x] 5.2 Video demo script (3 min, 6 scenes) — x402-marketing/video-script.md
│     ├── [x] 5.3 Thread Twitter/X (12 tweets) — x402-marketing/twitter-thread.md
│     ├── [x] 5.4 Post Hacker News + Reddit — x402-marketing/hn-post.md + reddit-post.md
│     └── [x] 5.5 DoraHacks submission — x402-marketing/dorahacks-submission.md
│
└── [x] Milestone 6: Ecosysteme & Integrations — COMPLET 12/02/2026
      ├── [x] 6.1 Package LangChain: x402-langchain v0.1.0 sur GitHub (Wintyx57/x402-langchain)
      ├── [x] 6.2 Guide LangChain dans Integrate.jsx (CodeBlock + badge pip + lien GitHub)
      ├── [x] 6.3 Section securite visible sur About.jsx (6 features securite)
      ├── [x] 6.4 Backend refactoring en modules (routes/, lib/)
      ├── [x] 6.5 SEO complet (sitemap.xml, robots.txt, useSEO hook, JSON-LD, Google Search Console)
      ├── [x] 6.6 79 tests e2e (node:test, zero deps)
      └── [x] 6.7 Auto-GPT plugin — COMPLET (x402-autogpt-plugin v0.1.0, 13/02/2026)

Read the full file on GitHub · 711 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. 9d ago First seen · 711 lines · 14,796 tokens per session scan A f9c6aff7cd8d

Subscribe to this mod's changes

x402-backend CLAUDE.md is an instructions file published in the GitHub repository Wintyx57/x402-backend (3 stars, last pushed 2mo ago), licensed MIT. It adds 14,796 tokens to every session, about $0.0740 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,737 tokens