path402: Instructions file for Claude Code

CLAUDE.md

path402 CLAUDE.md is an instructions file for Claude Code from b0ase/path402. It costs 954 tokens per session, scanned A, original, MIT.

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 for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is b0ase/path402's own configuration. It tells Claude Code how to work on path402 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 path402 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to b0ase/path402. 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/b0ase/path402/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/b0ase/path402

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 path402 CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/b0ase/path402/claude-md"><img src="https://agentmods.dev/badge/instructions/b0ase/path402/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00954 $0.00954
Opus 5.5 $0.00382 $0.00382
Sonnet 5.5 $0.00191 $0.00191
Haiku 4.5 $0.00095 $0.00095

Measured 2mo ago against content hash 0be35386ec8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 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. 2mo ago 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 27d ago), licensed MIT. It adds 954 tokens to every session, about $0.0038 per session on Opus 5.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

path402 CLAUDE.md compared with instructions from other repositories

path402 CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
path402 CLAUDE.mdb0ase/path402Instructions file127d agoMITA954Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA8,130Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,153GitHub Copilot
generative-ai-for-beginners AGENTS.mdmicrosoft/generative-ai-for-beginnersInstructions file124ktodayMITA2,981Codex, OpenCode