starknet-agentic: Instructions file for Claude Code

CLAUDE.md

starknet-agentic CLAUDE.md is an instructions file for Claude Code from keep-starknet-strange/starknet-agentic. It costs 4,054 tokens per session, scanned A, original, MIT.

Repository instructions for Starknet Agentic, a project involving Starknet smart contracts, TypeScript packages, an MCP server, and a website. Starknet is a blockchain platform, and Cairo is its smart-contract language.

In plain words
What is it for?
Use it when developing or testing the project’s Cairo contracts, TypeScript packages, Starknet integrations, MCP server, or Next.js website.
Why use it?
It gives coding agents the project’s technology versions, layout, testing tools, and development conventions in one reference.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

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

Reuse

Borrowing it

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

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 starknet-agentic CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/keep-starknet-strange/starknet-agentic/claude-md"><img src="https://agentmods.dev/badge/instructions/keep-starknet-strange/starknet-agentic/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,054 This file is loaded in full into every session.
When invoked 4,054 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.04054 $0.04054
Opus 5 $0.02027 $0.02027
Sonnet 5 $0.00811 $0.00811
Haiku 4.5 $0.00405 $0.00405

Measured 9d ago against content hash 2caff71883b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

starknet-agentic 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 9d 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 · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Starknet Agentic -- Development Context

Canonical behavioral instructions live in AGENTS.md. This file provides repository implementation context and operational references.

Component Technology Version
Smart contracts Cairo (Scarb + snforge) Cairo 2.14.0, Scarb 2.14.0
Contract deps OpenZeppelin Cairo v3.0.0
TypeScript packages pnpm workspaces, tsup Node 24+
MCP server @modelcontextprotocol/sdk ^1.0.0
Starknet interaction starknet.js ^9.2.1
DeFi aggregation @avnu/avnu-sdk ^4.0.1
Schema validation zod ^3.23.0
TS testing Vitest --
Cairo testing snforge 0.54.1
Skills format SKILL.md (YAML frontmatter + markdown) AgentSkills spec
Website Next.js 16 + React 19 + Tailwind --
starknet-agentic/
├── packages/
│   ├── create-starknet-agent/            # CLI scaffolding tool (COMPLETE)
│   ├── starknet-mcp-server/              # MCP server (PRODUCTION - 9 tools)
│   ├── starknet-a2a/                     # A2A protocol adapter (FUNCTIONAL)
│   ├── starknet-agent-passport/          # Capability metadata client (FUNCTIONAL)
│   ├── x402-starknet/                    # X-402 payment protocol (FUNCTIONAL)
│   └── prediction-arb-scanner/           # Cross-venue arb detection (MVP)
├── contracts/
│   ├── erc8004-cairo/                    # ERC-8004 Cairo contracts (PRODUCTION)
│   │   ├── src/                          # Contract source (identity, reputation, validation)
│   │   ├── tests/                        # Unit tests (snforge)
│   │   └── e2e-tests/                    # E2E tests (Sepolia)
│   ├── agent-account/                    # Agent Account contract (TESTED — 110 tests)
│   └── huginn-registry/                  # Thought provenance registry (WIP)
├── skills/
│   ├── starknet-wallet/                  # Wallet management skill (COMPLETE)
│   ├── starknet-mini-pay/                # P2P payments + Telegram bot (COMPLETE)
│   ├── starknet-anonymous-wallet/        # Privacy-focused wallet (COMPLETE)
│   ├── starknet-defi/                    # DeFi operations skill (TEMPLATE)
│   ├── starknet-identity/                # Identity & reputation skill (TEMPLATE)
│   └── huginn-onboard/                   # Cross-chain onboarding skill (COMPLETE)
├── examples/
│   ├── hello-agent/                      # Minimal E2E proof (WORKING)
│   ├── defi-agent/                       # Arbitrage bot example (~337 lines)
│   ├── onboard-agent/                    # E2E agent onboarding flow (WORKING)
│   ├── crosschain-demo/                  # Base Sepolia ↔ Starknet demo (WORKING)
│   └── scaffold-stark-agentic/           # Frontend reference
├── references/
│   ├── agentskills/                      # AgentSkills format specs
│   └── starknet-docs/                    # Official Starknet docs (git submodule)
├── docs/
│   ├── ROADMAP.md                        # Detailed roadmap with MVP/Nice-to-have/Future
│   ├── SPECIFICATION.md                  # Technical architecture & component specs
│   ├── AGENTIC_ECONOMY_PLAN.md           # Use cases, apps, token economy vision
│   ├── ERC8004-PARITY.md                 # ERC-8004 cross-chain parity document
│   ├── GETTING_STARTED.md                # Quick-start onboarding guide
│   ├── GOOD_FIRST_ISSUES.md              # Contributor starter issues
│   └── TROUBLESHOOTING.md                # Common issues and solutions
├── website/                              # Next.js documentation site (Vercel)
├── .agents/
│   └── skills/                           # Codex discovery bridge symlinked to skills/*
├── AGENTS.md                             # Canonical agent mission and coordination
├── CLAUDE.md                             # This file
└── package.json                          # Root monorepo (pnpm workspaces)

Read the full file on GitHub · 305 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. 9d ago First seen · 305 lines · 4,054 tokens per session scan A 2caff71883b2

Subscribe to this mod's changes

starknet-agentic CLAUDE.md is an instructions file published in the GitHub repository keep-starknet-strange/starknet-agentic (80 stars, last pushed today), licensed MIT. It adds 4,054 tokens to every session, about $0.0203 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens