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.
npx agentmods add instructions/franlinozz/sluice/claude-mdgit clone --depth 1 https://github.com/Franlinozz/SluiceWrote 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/franlinozz/sluice/claude-md)<a href="https://agentmods.dev/instructions/franlinozz/sluice/claude-md"><img src="https://agentmods.dev/badge/instructions/franlinozz/sluice/claude-md.svg" alt="Measured on agentmods" 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.07178 | $0.07178 |
| Opus 5 | $0.03589 | $0.03589 |
| Sonnet 5 | $0.01436 | $0.01436 |
| Haiku 4.5 | $0.00718 | $0.00718 |
Grade A, and why
Sluice 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 6d 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 — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SLUICE — Project Rules & Constants (read this fully every session)
First action of every session: read this entire file. Everything you build obeys it. Working tree is
/root/Sluice(this is NOT Tessera/Xyndicate/Agora/Apogee/Archon/Auralis — never touch those projects). Repo:Franlinozz/Sluice. Vercel project:sluice(prj_P12m6QjGi3gFtPSCfXbDTiGJRbi9, teamfranlinozzs-projects).
What we're building
Sluice is a settlement layer for the agent-paid web. Any unit of value — a read, a second, a citation, a listen, an API call — is metered and settled on Arc in USDC. Creators get paid per use; agents pay per use and DECIDE for themselves. Hero use case: AI research agents pay creators PER CITATION (the open, creator-owned alternative to Cloudflare Pay-Per-Crawl / RSL, which declare terms but don't settle).
Non-negotiable rules
- NEVER fake data, balances, figures, transactions, or "working" integrations. A clearly labeled "beta"/"coming soon"/"roadmap" state ALWAYS beats a fake. Every number shown to a user must trace to a real on-chain (Arc testnet) event or a real DB record.
- NO DEAD CONTROLS. Every button/link/toggle either works or is visibly disabled with a stated reason (tooltip/label). The product owner is not a deep dev and cannot spot a silent no-op — so there must be none.
- Network-agnostic settlement. All chain/settlement access goes through ONE interface (packages/chain). Arc Testnet is primary; swapping the RPC provider (or, last resort, another network) must be a config change, never a code rewrite. Do NOT scatter RPC URLs/chain IDs.
- Meter decoupled from settlement backend. The accrual engine must not care whether the final settle is Gateway-batched or a direct x402 call. If Gateway-on-Arc misbehaves, we can fall back to direct x402 settlement without touching accrual logic.
- USDC DECIMALS DISCIPLINE (critical):
- ERC-20 USDC used for PAYMENTS = 6 decimals. All payment amounts, EIP-3009 values, and ledger math use 6-decimal integer base units. Use viem parseUnits(amount, 6).
- Arc's NATIVE GAS token is USDC displayed with 18 decimals. Never mix gas display with payment amounts. Keep a single money helper (packages/money) and route all amounts through it.
- EIP-3009 is signed against the GATEWAY WALLET CONTRACT, not the USDC token contract.
The x402
schemefield is"exact"; the string"GatewayWalletBatched"is the EIP-712 DOMAIN NAME placed inextra.name, withextra.verifyingContract= the Gateway Wallet. (This is the #1 thing teams get wrong — see "x402 payment requirements shape" below.) - One-time deposit required: a wallet must deposit USDC into the Gateway Wallet contract BEFORE it can make nanopayments. Build and surface this step explicitly.
- Settlement LAG is real: seller earnings appear only AFTER Circle Gateway settles the batch on-chain (can take minutes). UI must show honest states: authorized → batching → settled. Never show settled balance the instant a payment is authorized.
- Money in code is always integer base units (bigint). Format for display only at the edge. JSON cannot carry bigint — serialize bigints as strings, parse back at boundaries.
- Verify before assuming. When unsure of an API shape, address, or version, READ the canonical source (links below) or the arc-nanopayments repo — do not invent signatures.
- Commit after every green Definition of Done, with a clear message. Keep PR-sized diffs.
- Secrets: server-only keys live in env, never in client bundles. In Next.js, only NEXT_PUBLIC_* is exposed to the browser. Private keys/API keys must NEVER be NEXT_PUBLIC_.
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.
- 6d ago First seen · 344 lines · 7,178 tokens per session scan A a98902d85488
Sluice CLAUDE.md is an instructions file published in the GitHub repository Franlinozz/Sluice (36 stars, last pushed 10d ago), licensed MIT. It adds 7,178 tokens to every session, about $0.0359 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-30.
Other instructions, from other repositories
mectrics AGENTS.md
AGENTS.md instructions for farukkamcici/mectrics, covering agents.md — working agreement for mectrics, 0. golden rule: english-only repository, 1. project shape, 2. internationalization (i18n) and 3. menu bar rendering rules.
mectrics CLAUDE.md
Claude Code instructions for farukkamcici/mectrics, covering claude.md, absolute must-knows (see agents.md for detail), fast local loop (no xcode ui), build & run the app and notes.
browser AGENTS.md
Instructions for lucid-softworks/browser, covering agents.md, pull requests, before you open a pr, guiding constraint and web platform tests (conformance).
Hopet AGENTS.md
Instructions for BinaryFroggy/Hopet, covering hopet · agent 协作规范, 0. 项目, 1. 文档, 2. swift 代码风格 and 2.1 模块组织.
DeepSeekMeter AGENTS.md
Instructions for CWNU-Open-Source-Community/DeepSeekMeter, covering agents.md — deepseekmeter 仓库操作规范, 1. 项目是什么, 2. 常用命令(改动后必须本地验证), ios 版验证(核心包自测 + 工程结构静态校验必跑;有 xcode 时还会构建 app 冒烟) and android 核心单测(需 jdk 17 + android sdk;jvm 直跑无需设备).
AgentBar CLAUDE.md
Claude Code instructions for michalstrnadel/AgentBar, covering agentbar — ai instructions, project, build & run and rules.