Sluice CLAUDE.md

Sluice CLAUDE.md is an instructions file for Claude Code from Franlinozz/Sluice. It costs 7,178 tokens per session, scanned A, original, MIT.

Project instructions for Sluice, a service that charges agents and pays creators for individual uses of online content or services.

In plain words
What is it for?
They guide coding work on Sluice, including its Arc and USDC payment flow, research-citation payments, interface behavior, and approved technology stack.
Why use it?
They keep development tied to the project's stated rules, technical choices, payment process, and real data instead of guesses or fake integrations.

Instructions file for Claude Code

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

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/franlinozz/sluice/claude-md
Clone the repo
git clone --depth 1 https://github.com/Franlinozz/Sluice

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/franlinozz/sluice/claude-md.svg)](https://agentmods.dev/instructions/franlinozz/sluice/claude-md)
Your own site
<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>
Per session 7,178 This file is loaded in full into every session.
When invoked 7,178 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.1 $0.07178 $0.07178
Opus 5 $0.03589 $0.03589
Sonnet 5 $0.01436 $0.01436
Haiku 4.5 $0.00718 $0.00718

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

Security

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.

CLAUDE.md · 344 lines

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, team franlinozzs-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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. EIP-3009 is signed against the GATEWAY WALLET CONTRACT, not the USDC token contract. The x402 scheme field is "exact"; the string "GatewayWalletBatched" is the EIP-712 DOMAIN NAME placed in extra.name, with extra.verifyingContract = the Gateway Wallet. (This is the #1 thing teams get wrong — see "x402 payment requirements shape" below.)
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Commit after every green Definition of Done, with a clear message. Keep PR-sized diffs.
  12. 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_.

Read the full file on GitHub · 344 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. 6d ago First seen · 344 lines · 7,178 tokens per session scan A a98902d85488

Subscribe to this mod's changes

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.

Related

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.

farukkamcici/mectrics · 4,487 tokens

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.

farukkamcici/mectrics · 515 tokens

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).

lucid-softworks/browser · 674 tokens

Hopet AGENTS.md

Instructions for BinaryFroggy/Hopet, covering hopet · agent 协作规范, 0. 项目, 1. 文档, 2. swift 代码风格 and 2.1 模块组织.

BinaryFroggy/Hopet · 3,103 tokens

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 直跑无需设备).

CWNU-Open-Source-Community/DeepSeekMeter · 3,490 tokens

AgentBar CLAUDE.md

Claude Code instructions for michalstrnadel/AgentBar, covering agentbar — ai instructions, project, build & run and rules.

michalstrnadel/AgentBar · 506 tokens