meerkat CLAUDE.md

meerkat CLAUDE.md is an instructions file for coding agents from lukacf/meerkat. It costs 11,226 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

Install

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.

agentmods
npx agentmods add instructions/lukacf/meerkat/claude-md
Clone the repo
git clone --depth 1 https://github.com/lukacf/meerkat

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,226 This file is loaded in full into every session.
When invoked 11,226 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.11226 $0.11226
Opus 5 $0.05613 $0.05613
Sonnet 5 $0.02245 $0.02245
Haiku 4.5 $0.01123 $0.01123

Measured today against content hash f0bd9c6cb684, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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

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 · 649 lines

How it starts

The opening of the file, as written. The whole thing — 649 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: API keys only (RKAT_* secrets and provider-native keys)

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 meerkat-cli -- run "prompt"

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

Read the full file on GitHub · 649 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 · +29 tokens per session f0bd9c6cb684
  2. 5d ago First seen · 649 lines · 11,197 tokens per session scan A cc94ebd8b3dc

Subscribe to this mod's changes

meerkat CLAUDE.md is an instructions file published in the GitHub repository lukacf/meerkat (20 stars, last pushed today), licensed Apache-2.0. It adds 11,226 tokens to every session, about $0.0561 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.