Borrowing it
Nothing to install: this file belongs to timbal-ai/timbal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/timbal-ai/timbal/main/CLAUDE.mdgit clone --depth 1 https://github.com/timbal-ai/timbalWrote 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/timbal-ai/timbal/claude-md)<a href="https://agentmods.dev/instructions/timbal-ai/timbal/claude-md"><img src="https://agentmods.dev/badge/instructions/timbal-ai/timbal/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.
<a href="https://agentmods.dev/instructions/timbal-ai/timbal/claude-md"><img src="https://agentmods.dev/badge/instructions/timbal-ai/timbal/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.11843 | $0.11843 |
| Opus 5.5 | $0.04737 | $0.04737 |
| Sonnet 5.5 | $0.02369 | $0.02369 |
| Haiku 4.5 | $0.01184 | $0.01184 |
Grade A, and why
timbal 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 13d 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 — 733 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.
Commands
Development and Testing
- Install dependencies:
uv sync --dev(from repo root —pyproject.tomlis at root) - Run all tests:
uv run pytest(from repo root) - Run single test:
uv run pytest python/tests/core/test_agent.py::TestClass::test_method - Linting:
uv run ruff check - Format:
uv run ruff format - Fix lint:
uv run ruff check --fix - Line length: 120 chars (configured in
pyproject.toml)
Benchmarks
- LangGraph benchmarks:
uv pip install -r benchmarks/langchain/requirements.txt, thenuv run --no-sync python benchmarks/langchain/bench_agent.py(or the other standalonebench_*.pyscripts). JavaScript dependencies:npm ci --prefix benchmarks/langgraph_js. - Quick mode: pass
--quick; full mode is the default.bench_revision.pyemits repeated-comparison samples as JSON. - Current agent API:
bench_agent.py --agent-api currentbenchmarkslangchain.agents.create_agent; the default retains legacycreate_react_agentfor historical comparisons. Keep the same environment/harness and switch onlyPYTHONPATHwhen comparing Timbal revisions.
Repository Layout
timbal/
├── python/
│ ├── timbal/ # Main package
│ │ ├── __init__.py # Top-level exports: Agent, Workflow
│ │ ├── core/
│ │ │ ├── runnable.py # Base class for all executable components
│ │ │ ├── agent.py # Agent execution engine
│ │ │ ├── workflow.py # DAG workflow engine
│ │ │ ├── tool.py # Tool wrapper
│ │ │ ├── tool_set.py # ToolSet ABC for runtime tool resolution
│ │ │ ├── mcp.py # MCPServer — MCP servers as tool sources
│ │ │ ├── llm/ # Multi-provider LLM dispatch (router, registry, clients, retry + one module per API)
│ │ │ ├── models.py # Model strings + context window lookup
│ │ │ └── test_model.py # Offline TestModel for testing
│ │ ├── state/
│ │ │ ├── __init__.py # get_run_context, get_call_id, etc.
│ │ │ ├── context.py # RunContext definition
│ │ │ ├── background.py # Session-scoped background-task store
│ │ │ └── tracing/
│ │ │ ├── providers/
│ │ │ │ ├── base.py # TracingProvider ABC + Exporter ABC
│ │ │ │ ├── in_memory.py # Default in-memory provider
│ │ │ │ ├── jsonl.py # JSONL file provider
│ │ │ │ └── platform.py # Timbal platform provider
│ │ │ └── exporters/
│ │ │ └── otel.py # OTelExporter (fire-and-forget OTLP/HTTP)
│ │ ├── types/
│ │ │ ├── message.py # Message with role + content list
│ │ │ ├── file.py # File type with auto content detection
│ │ │ ├── content/ # TextContent, ToolUseContent, FileContent, etc.
│ │ │ └── events/ # StartEvent, DeltaEvent, OutputEvent
│ │ ├── collectors/ # Output processing; TimbalCollector is default
│ │ └── tools/ # Built-in tool library (Bash, Slack, Gmail, etc.)
│ └── tests/
│ └── core/ # Test files mirroring package structure
├── benchmarks/
│ ├── README.md # General benchmark guide
│ └── langchain/ # Timbal vs LangChain/LangGraph benchmarks
├── planning/ # In-progress feature plans (gitignored)
└── pyproject.toml # Root package config + dev deps
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.
- 13d ago Changed · +6 lines · +2,160 tokens per session 274a2d6a7a47
- 16d ago Changed · +2 lines · +182 tokens per session 19d3715a297a
- 1mo ago Changed · +2 lines · +231 tokens per session 4c336636005f
- 1mo ago Changed · +2 lines · +143 tokens per session 2f9d7f341cf3
- 1mo ago Changed · +12 lines · +1,399 tokens per session 87470b1d4e8e
- 2mo ago Changed · +1 lines · +9 tokens per session aecc25b79209
- 2mo ago Changed · +18 lines · +351 tokens per session 74ef4f03cc18
- 2mo ago First seen · 690 lines · 7,368 tokens per session scan A 96f1a53fdae7
timbal CLAUDE.md is an instructions file published in the GitHub repository timbal-ai/timbal (48 stars, last pushed yesterday), licensed Apache-2.0. It adds 11,843 tokens to every session, about $0.0474 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.
timbal CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| timbal CLAUDE.mdtimbal-ai/timbal | Instructions file | 48 | yesterday | Apache-2.0 | A | 11,843 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |