kitaru: Instructions file for Claude Code

CLAUDE.md

kitaru CLAUDE.md is an instructions file for Claude Code from zenml-io/kitaru. It costs 3,719 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Kitaru, a system for recording, replaying, and improving AI agents in production. They describe the project layout, documentation, website, marketing materials, and development guidance.

In plain words
What is it for?
Use them when editing Kitaru code or docs, locating the right project area, and following its record-replay-improve approach for diagnosing and testing AI agents.
Why use it?
They give a coding agent the project context needed to make consistent changes across Kitaru's Python package, server, client, tests, examples, and documentation.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

Nothing to install: this file belongs to zenml-io/kitaru. 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/zenml-io/kitaru/develop/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/zenml-io/kitaru

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zenml-io/kitaru/claude-md"><img src="https://agentmods.dev/badge/instructions/zenml-io/kitaru/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,719 This file is loaded in full into every session.
When invoked 3,719 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.03719 $0.03719
Opus 5.5 $0.01488 $0.01488
Sonnet 5.5 $0.00744 $0.00744
Haiku 4.5 $0.00372 $0.00372

Measured 3d ago against content hash 1e1eb9e85cb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kitaru 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 3d 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 · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 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.

What is Kitaru?

Kitaru turns an AI agent's traces into insights, checks, and tested fixes. Positioning surfaces (README, docs leads, PyPI, marketing) lead with insights and follow the four steps the Kitaru product page on zenml.io uses: bring your traces (import or record), get insights across every session, turn findings into checks (evaluators, with cohorts, investigations, and experiments behind them), and replay a fix before it ships. Replay is how a fix gets tested, not the headline. The hosted AI engineer that does the reading is the paid layer on top of open-source Kitaru; open-source surfaces mention it once, never as the lead.

Project layout

src/kitaru/           # Python package (src layout) — see src/kitaru/AGENTS.md
  analytics/          # Async analytics client and event source tracking
  api_models/         # Versioned request/response DTOs shared by server and SDK
  client/             # Async SDK making REST calls
  server/             # FastAPI server (API, application, domain, adapters layers)
tests/                # pytest tests — see tests/AGENTS.md
examples/             # Runnable SDK examples: python/ (adapter examples) and typescript/ (SDK + adapter examples)
docs/                 # Three docs surfaces — see "Documentation surfaces" below
  book/               # GitBook source for docs.zenml.io/kitaru (hand-written .md)
  content/docs/       # FumaDocs SDK reference content (generated)
  scripts/            # Node-side doc generation (convert-sdk-docs.mjs)
  app/                # Next.js app routes for the sdkdocs.kitaru.ai reference site
  worker/             # Cloudflare worker: redirect.mjs (kitaru.ai/docs) + routing maps
scripts/              # OpenAPI generation, doc generation, and UI bundle scripts
  generate_openapi.py        # Writes openapi/openapi.json from the FastAPI app
                             # After regenerating, also regenerate the TypeScript
                             # types via `pnpm run generate`
                             # (the typescript CI job fails otherwise)
  check_openapi.sh           # Fails when openapi/openapi.json is out of date
  download-ui.sh             # Bundles stable/prerelease Kitaru UI releases into the package tree
FRONTEND-TESTING.md   # Read first for Kitaru UI bundle/frontend testing,
                       # stable/prerelease release validation, and token boundaries
docker/               # Dockerfiles — see docker/CLAUDE.md for full architecture details
design/               # Design docs, meeting notes (gitignored, never commit)

Read the full file on GitHub · 139 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. 3d ago Changed · +73 tokens per session 1e1eb9e85cb9
  2. 7d ago Changed · -15 lines · -29 tokens per session 540b12357191
  3. 8d ago Changed · +2 lines · +143 tokens per session 26063c498e83
  4. 10d ago Changed · +1 lines · +79 tokens per session eb7fd6c9c125
  5. 1mo ago Changed · -1 lines · -46 tokens per session b9d2c673ad5d
  6. 1mo ago Changed · +73 tokens per session 20ed06d3e646
  7. 1mo ago Changed · -11 lines · +46 tokens per session 61810efa46f2
  8. 2mo ago Changed · +4 lines · +58 tokens per session df77b836176c
  9. 2mo ago First seen · 159 lines · 3,322 tokens per session scan A 4e2b6732e920

Subscribe to this mod's changes

kitaru CLAUDE.md is an instructions file published in the GitHub repository zenml-io/kitaru (317 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,719 tokens to every session, about $0.0149 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

kitaru CLAUDE.md compared with instructions from other repositories

kitaru CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kitaru CLAUDE.mdzenml-io/kitaruInstructions file317yesterdayApache-2.0A3,719Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode