meerkat: Instructions file for Claude Code

CLAUDE.md

meerkat CLAUDE.md is an instructions file for Claude Code from lukacf/meerkat. It costs 21,789 tokens per session, scanned A, original, Apache-2.0.

Project guidance for Meerkat, a Rust platform for building and operating AI agents through command-line, web, SDK, and other interfaces. It describes the project’s naming, configuration, build, and test conventions.

In plain words
What is it for?
Building and testing the platform, choosing between the normal Cargo-backed path and optional BuildBuddy/Bazel execution, and locating its agents, providers, tools, persistence, and runtime code.
Why use it?
The project has many components and supported interfaces, so contributors need clear rules for which commands and configuration paths to use. The guidance also prevents accidental bypassing of the project’s build wrapper.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lukacf/meerkat/claude-md"><img src="https://agentmods.dev/badge/instructions/lukacf/meerkat/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21,789 This file is loaded in full into every session.
When invoked 21,789 The same file — it is already loaded in full.
Security scan A 1 finding. 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.21789 $0.21789
Opus 5.5 $0.08716 $0.08716
Sonnet 5.5 $0.04358 $0.04358
Haiku 4.5 $0.02179 $0.02179

Measured today against content hash 2456ef4d3f57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meerkat CLAUDE.md scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

arrives late in an upload) or a network error (curl's code and text, such
CLAUDE.md · 1,166 lines

How it starts

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

CLAUDE.md

This file provides guidance to agents when working with code in this repository. Whatever you do, remember: All hail Clippy. Clippy sees all, knows all, and tolerates nothing.

Project Overview

Meerkat (rkat) is a library-first Rust platform for building, hosting, and operating LLM-powered agents. It provides the agent loop, providers, tools, typed events, persistence, runtime control, and multi-agent orchestration behind CLI, REST, JSON-RPC, MCP, SDK, and browser/WASM surfaces.

Naming convention:

  • Project/branding: Meerkat
  • CLI binary: rkat
  • Crate names: meerkat, meerkat-core, meerkat-client, etc.
  • Config directory: .rkat/
  • Environment variables: provider secrets use RKAT_* and provider-native keys; ordinary configuration stays declarative. Explicit operational/diagnostic overrides also exist, such as RKAT_WORKER_STACK_BYTES for worker-stack diagnosis and RKAT_WORKER_THREADS for the worker count.

Build and Test Commands

Use Make targets for normal local work. Cargo is the default backend; setting MEERKAT_BUILDBUDDY=1 routes supported broad local lanes through the optional BuildBuddy/Bazel path. Do not invoke raw bb directly unless you are debugging the BuildBuddy wrapper itself.

# Build everything
make build

# Build everything through BuildBuddy/Bazel
MEERKAT_BUILDBUDDY=1 make build

# Explicit BuildBuddy forms
make buildbuddy-build
make buildbuddy-check
make buildbuddy-clippy
make buildbuddy-test

# Run fast tests (unit + integration-fast; skips doctests)
make test

# Run fast tests through BuildBuddy/Bazel
MEERKAT_BUILDBUDDY=1 make test

# Run all tests including doc-tests (SLOW due to doc-test compilation)
./scripts/repo-cargo test --workspace

# Run deterministic end-to-end lane
make e2e-fast

# Run deterministic end-to-end lane through BuildBuddy/Bazel
MEERKAT_BUILDBUDDY=1 make e2e-fast

# Run explicit build/composition end-to-end lane (ignored by default)
./scripts/repo-cargo test -p meerkat-integration-tests --test e2e_build_lane -- --ignored

# Run real local-resource end-to-end lane
make e2e-system

# Run targeted live-provider lane (ignored by default)
make e2e-live

# Run kitchen-sink live smoke lane (ignored by default)
make e2e-smoke

# Run per-model catalog validation lane (ignored by default)
./scripts/repo-cargo e2e-models

# Cargo aliases (defined in .cargo/config.toml)
./scripts/cargo-rct       # Fast tests (unit + integration-fast)
./scripts/repo-cargo unit # Unit tests only
./scripts/repo-cargo int  # Integration-fast tests only
./scripts/repo-cargo e2e-fast    # Deterministic e2e lane
./scripts/repo-cargo test -p meerkat-integration-tests --test e2e_build_lane -- --ignored  # Build/composition lane
./scripts/repo-cargo e2e-system  # Real binary / local resource lane
./scripts/repo-cargo e2e-live    # Targeted live-provider lane
./scripts/repo-cargo e2e-smoke   # Compound live-provider smoke lane
./scripts/repo-cargo e2e-models  # Live per-model catalog validation (on-demand / pre-release)

# Legacy compatibility shims (during migration)
./scripts/repo-cargo int-real  # Alias for e2e-system
./scripts/repo-cargo e2e       # Alias for e2e-live + e2e-smoke

# Run the CLI
./scripts/repo-cargo run -p rkat -- run "prompt"

# Run a specific example
ANTHROPIC_API_KEY=... ./scripts/repo-cargo run --example simple

Read the full file on GitHub · 1,166 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. today Changed · -2 tokens per session 2456ef4d3f57
  2. 2d ago Changed · +3 lines · +59 tokens per session c80f2ee5ad25
  3. 3d ago Changed · +10 lines · +159 tokens per session 3505c34ae157
  4. 5d ago Changed · +8 lines · +146 tokens per session aac7a98333ec
  5. 8d ago Changed · +9 tokens per session b9adcb18c1d6
  6. 9d ago Changed · +43 lines · +863 tokens per session 738fd3d5ed3c
  7. 10d ago Changed · +32 lines · +806 tokens per session dd148e828734
  8. 11d ago Changed · +29 lines · +526 tokens per session bd46c0fc8478
  9. 12d ago Changed · +64 lines · +1,401 tokens per session e68de0b952b7
  10. 13d ago First seen · 977 lines · 17,822 tokens per session scan A 4a066e89189f

Subscribe to this mod's changes

meerkat CLAUDE.md is an instructions file published in the GitHub repository lukacf/meerkat (23 stars, last pushed today), licensed Apache-2.0. It adds 21,789 tokens to every session, about $0.0872 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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