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/fblgit/claudebench/claude-mdgit clone --depth 1 https://github.com/fblgit/claudebenchWhat 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 | $0.02377 | $0.02377 |
| Opus 5 | $0.01189 | $0.01189 |
| Sonnet 5 | $0.00475 | $0.00475 |
| Haiku 4.5 | $0.00238 | $0.00238 |
Grade A, and why
claudebench 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 2d 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 — 339 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.
Project Overview
ClaudeBench is a Redis-first event-driven system where every handler auto-generates HTTP, MCP, and event interfaces through a single decorator. The architecture enforces localhost-reality: no distributed complexity for single-user tools.
Critical Commands
bun relay # MUST run in background - monitors all system events
bun dev # Start server (:3000) and web (:3001)
bun test:contract # Test external API contracts (specs/001-claudebench/contracts/)
bun test:integration # Test internal Redis/Prisma side effects
Codebase Architecture
Handler-Centric Design
Every feature is a handler in apps/server/src/handlers/{domain}/. The handler IS the feature:
// apps/server/src/handlers/task/task.create.handler.ts
@EventHandler({
event: 'task.create', // Becomes HTTP POST /task/create
inputSchema: taskCreateInput, // Shared schema from schemas/
outputSchema: taskCreateOutput, // Type-safe everywhere
persist: true, // Handler decides PostgreSQL persistence
rateLimit: 10
})
export class TaskCreateHandler {
@Instrumented(0) // Caching TTL (0 = no cache)
@Resilient({ // Per-handler resilience config
rateLimit: { limit: 100, windowMs: 60000 },
timeout: 5000,
circuitBreaker: { threshold: 5, timeout: 30000 }
})
async handle(input: TaskCreateInput, ctx: EventContext) {
// 1. Atomic Redis operations via Lua scripts
const result = await redisScripts.createTask(...);
// 2. Conditional PostgreSQL persistence
if (ctx.persist) {
await ctx.prisma.task.create({ data });
}
// 3. Publish events for observers
await ctx.publish({ type: 'task.created', payload });
return output; // Validated by outputSchema
}
}
Directory Structure Patterns
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.
- 2d ago First seen · 339 lines · 2,377 tokens per session scan A ef36177c2acb
claudebench CLAUDE.md is an instructions file published in the GitHub repository fblgit/claudebench (9 stars, last pushed 11mo ago), licensed MIT. It adds 2,377 tokens to every session, about $0.0119 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-31.
Other instructions, from other repositories
FlowBoard AGENTS.md
Instructions for rasimme/FlowBoard, covering flowboard — agent entry point, start here and where things live.
AllBeads CLAUDE.md
Instructions for thrashr888/AllBeads, covering claude.md, project overview, what allbeads does, current state (v0.2.0) and rust development commands.
leanspec CLAUDE.md
Instructions for codervisor/leanspec, covering claude.md — codervisor project standards, repository overview, coding conventions, general and rust repos (stiglab, ising).
claude-sdd-planner AGENTS.md
AGENTS.md instructions for danweinerdev/claude-sdd-planner, covering sdd planner — agent development guide, what this repository is, build and test, editing rules (the ones that bite) and conventions (single sources of truth).
mcp-redmine-rest CLAUDE.md
Claude Code instructions for alsimoes/mcp-redmine-rest, covering claude.md, what this is, layout (src-layout), tool registration pattern and deliberately missing tools.
repo-continuity AGENTS.md
Instructions for vector233/repo-continuity, covering repository guidelines, repository structure, cross-agent collaboration contract, development workflow and review rules.