path402 CLAUDE.md

Repository instructions for path402, a monorepo—a codebase containing multiple related packages and applications. They describe a Bitcoin SV protocol, its folders, and required development commands.

In plain words
What is it for?
They are for working consistently on path402, including installing dependencies, running development tools, building packages, and targeting individual packages.
Why use it?
They give an AI coding agent the project’s structure and rules, such as using pnpm and where the core code lives.

Instructions file

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 instructions/b0ase/path402/claude-md
Clone the repo
git clone --depth 1 https://github.com/b0ase/path402
Per session 954 This file is loaded in full into every session.
When invoked 954 The same file — it is already loaded in full.
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.00954 $0.00954
Opus 5 $0.00477 $0.00477
Sonnet 5 $0.00191 $0.00191
Haiku 4.5 $0.00095 $0.00095

Measured yesterday against content hash 0be35386ec8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

path402 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 yesterday.

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 · 102 lines

How it starts

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

Claude Agent Guide - path402 Monorepo

The Big Picture

path402 is a turbo monorepo implementing the $402 protocol — a system that turns any URL path into a priced, tokenised market on Bitcoin SV.

path402/
├── packages/core/    ← MCP Server + Token Minting + Content Store + Pricing
├── packages/htm/     ← Hash-to-Mint sCrypt smart contract
├── packages/indexer/ ← BSV-21 token transfer indexer
├── packages/api/     ← API server
├── packages/ui/      ← Shared UI components
├── apps/desktop/     ← Electron desktop client
├── apps/web/         ← Next.js web interface
├── apps/mobile/      ← Mobile app (planned)
├── contracts/        ← sCrypt smart contracts
├── mcp/              ← MCP configuration
└── docs/             ← Protocol documentation

Critical Rules

1. Package Manager

ALWAYS use pnpm. This is a pnpm workspace monorepo.

pnpm install        # Install all deps
pnpm dev            # Start all apps in dev mode
pnpm build          # Build all packages
pnpm --filter core  # Target a specific package

2. Core Package (packages/core/src/)

This is the heart of the protocol. Key modules:

Module Purpose
index.ts MCP Server with 13 tools (discover, acquire, serve, etc.)
token/mint.ts BSV21 token minting + inscription generation
content/fs-store.ts SHA-256 content-addressed storage
services/pricing.ts ascending bonding curve pricing
services/wallet.ts Agent wallet management
services/mining.ts Proof-of-Indexing mining service
services/dns.ts Domain verification for DNS-DEX
client/agent.ts Autonomous P2P agent
wallet/ Multi-wallet manager (Metanet, HandCash, Yours, Manual)

3. Token Standard

Tokens use BSV-21 (fungible tokens via inscriptions):

  • Default supply: 1,000,000,000 (1 billion)
  • Symbol format: $NAME (uppercase, 1-20 chars)
  • Reserved symbols: $402, $BSV, $BTC, $ETH, $SOL, $USDT, $USDC

4. MCP Tools (13 registered)

path402_discover        → Probe a $address for pricing
path402_evaluate        → Budget check before buying
path402_acquire         → Pay + receive token + content
path402_serve           → Serve content you hold (earn revenue)
path402_wallet          → View balance and portfolio
path402_price_schedule  → See pricing curve projections
path402_set_budget      → Configure spending limits
path402_economics       → Deep ROI/breakeven analysis
path402_batch_discover  → Discover multiple addresses
path402_servable        → List tokens you can serve
path402_token_stats     → On-chain token statistics
path402_holders         → List token holders
path402_verify_holder   → Verify someone holds a token
path402_connect_wallet  → Connect external wallet

Read the full file on GitHub · 102 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. yesterday First seen · 102 lines · 954 tokens per session scan A 0be35386ec8d

Subscribe to this mod's changes

path402 CLAUDE.md is an instructions file published in the GitHub repository b0ase/path402 (1 stars, last pushed 4mo ago), licensed MIT. It adds 954 tokens to every session, about $0.0048 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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 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

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,182 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,345 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

next.js 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