Sluice: Instructions file for Claude Code

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.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Franlinozz/Sluice. 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/Franlinozz/Sluice/main/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/github.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/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 Sluice CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/franlinozz/sluice/claude-md"><img src="https://agentmods.dev/badge/instructions/franlinozz/sluice/claude-md.svg" alt="Reviewed on agentmods" width="80" 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. 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.07178 $0.07178
Opus 5.5 $0.02871 $0.02871
Sonnet 5.5 $0.01436 $0.01436
Haiku 4.5 $0.00718 $0.00718

Measured 2mo ago against content hash a98902d85488, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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 · 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. 2mo 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 2mo ago), licensed MIT. It adds 7,178 tokens to every session, about $0.0287 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.

Related

Sluice CLAUDE.md compared with instructions from other repositories

Sluice CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Sluice CLAUDE.mdFranlinozz/SluiceInstructions file362mo agoMITA7,178Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot