Borrowing it
Nothing to install: this file belongs to aaronjmars/tweazy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aaronjmars/tweazy/main/CLAUDE.mdgit clone --depth 1 https://github.com/aaronjmars/tweazyWrote 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.
[](https://agentmods.dev/instructions/aaronjmars/tweazy/claude-md)<a href="https://agentmods.dev/instructions/aaronjmars/tweazy/claude-md"><img src="https://agentmods.dev/badge/instructions/aaronjmars/tweazy/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.
<a href="https://agentmods.dev/instructions/aaronjmars/tweazy/claude-md"><img src="https://agentmods.dev/badge/instructions/aaronjmars/tweazy/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00813 | $0.00813 |
| Opus 5.5 | $0.00325 | $0.00325 |
| Sonnet 5.5 | $0.00163 | $0.00163 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
tweazy 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Development Commands
npm run dev- Start development server at localhost:3000npm run build- Build production applicationnpm run start- Start production servernpm run lint- Run ESLint for code lintingnpm run init- Initialize Tambo configuration
Project Architecture
Tweazy is a Next.js application that demonstrates pay-per-use AI with Web3 payments using x402 protocol, MCP (Model Context Protocol), and CDP Smart Wallets. Users pay 0.01 USDC per AI query.
Core Systems
Payment System (src/lib/payment.ts):
- Universal payment handling for both Smart Wallets (CDP) and external wallets
- Paymaster integration for gas sponsorship on Smart Wallets
- USDC transfers on Base network (testnet/mainnet)
Wallet Architecture:
- Smart Wallets (
src/lib/smart-wallet.ts,src/lib/cdp-wallet.ts): CDP-based passkey authentication with gas sponsorship - External wallets: wagmi integration for MetaMask, Coinbase Wallet, etc.
- Dual-wallet context in
src/components/WalletProvider.tsx
Network Configuration (src/lib/config.ts):
- Environment-based testnet/mainnet switching via
NEXT_PUBLIC_NETWORK_MODE - Base Sepolia (testnet, default) and Base Mainnet support
- Network-specific USDC contracts and RPC endpoints
- Centralized config with secrets in environment variables only
AI Integration:
- Tambo AI framework for generative UI with React component registry
- MCP protocol support for extensible AI functionality
- Every AI query is payment-gated in
EnhancedMessageInput, which opens the payment flow before the request is sent - Dynamic component rendering based on AI responses
API Routes Structure
POST /api/cdp/create-wallet- Create CDP Smart WalletPOST /api/cdp/balance- Check USDC balancePOST /api/cdp/transfer- Not implemented; returns 501 (503 when CDP is unconfigured). Mock transfers are available only behindTWEAZY_ALLOW_MOCK_PAYMENT=1.POST /api/cdp/fund-wallet- Fund wallet with testnet tokensPOST /api/paymaster- Handle paymaster gas sponsorship
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.
- 2mo ago First seen · 82 lines · 813 tokens per session scan A 3f30c20c13ce
tweazy CLAUDE.md is an instructions file published in the GitHub repository aaronjmars/tweazy (47 stars, last pushed 4d ago), licensed MIT. It adds 813 tokens to every session, about $0.0033 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-30.
tweazy CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tweazy CLAUDE.mdaaronjmars/tweazy | Instructions file | 47 | 4d ago | MIT | A | 813 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |