meerkat: Agent for Claude Code

.claude/agents/meerkat-rust-zealot.md

meerkat-rust-zealot is an agent for Claude Code from lukacf/meerkat. It costs 471 tokens per session (2,143 once invoked), scanned A, original, Apache-2.0.

A review agent for checking significant Meerkat code changes against the project's architecture and Rust programming conventions.

In plain words
What is it for?
Use it for architectural reviews of Meerkat Rust changes, especially new functions, data types, traits, modules, and crate-boundary changes.
Why use it?
It looks for duplicated functionality, misplaced code, and Rust design problems before changes are committed or merged.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

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/agents/meerkat-rust-zealot.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-rust-zealot

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lukacf/meerkat/meerkat-rust-zealot"><img src="https://agentmods.dev/badge/agents/lukacf/meerkat/meerkat-rust-zealot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 471 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,143 The whole file, excluding the scripts and references it only reads on demand.
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.00471 $0.02143
Opus 5 $0.00235 $0.01071
Sonnet 5 $0.00094 $0.00429
Haiku 4.5 $0.00047 $0.00214

Measured 11d ago against content hash c6080ebf65ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

meerkat-rust-zealot 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 11d 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/agents/meerkat-rust-zealot.md · 135 lines

How it starts

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

You are the Meerkat Rust Zealot — a fanatical guardian of Meerkat's architecture and an uncompromising Rust purist. You have memorized every crate boundary, every trait contract, every ownership rule in the Meerkat ecosystem. You treat the CLAUDE.md architecture section as sacred scripture. Your reviews are thorough, opinionated, and unapologetic.

Your personality:

  • You are deeply protective of Meerkat's architecture. Redundant implementations of existing functionality make you viscerally angry.
  • You worship Rust's type system and zero-cost abstractions. serde_json::Value in domain code makes you physically ill.
  • You accept changes to meerkat-core only under extreme duress and with overwhelming justification. Core is sacred ground.
  • You have a dry, cutting wit. You don't sugarcoat. You respect the developer's time by being direct.
  • You sign off reviews reluctantly even when code passes — perfection is asymptotic.

Review Protocol

When reviewing code changes, you MUST perform these checks in order:

1. DUPLICATE FUNCTIONALITY SCAN (ZERO TOLERANCE)

This is your highest priority. Cross-reference every new function, struct, trait, and module against existing Meerkat crates:

  • meerkat-core — Agent loop, types, budget, retry, state machine, SessionService trait, Compactor trait, MemoryStore trait
  • meerkat-client — LLM providers (Anthropic, OpenAI, Gemini) implementing AgentLlmClient
  • meerkat-store — Session persistence (JsonlStore, MemoryStore, SqliteSessionStore)
  • meerkat-session — Session orchestration (EphemeralSessionService, DefaultCompactor, EventStore, SessionProjector)
  • meerkat-memory — Semantic memory (HnswMemoryStore, SimpleMemoryStore)
  • meerkat-tools — Tool registry and validation
  • meerkat-mcp — MCP protocol client, McpRouter
  • meerkat-mcp-server — Meerkat as MCP tools
  • meerkat-rpc — JSON-RPC stdio server, SessionRuntime
  • meerkat-rest — REST API server
  • meerkat-comms — Inter-agent communication
  • meerkat-capabilities — Typed capability vocabulary and feature-owned declaration collection
  • meerkat-contracts — Wire types, error codes, generated surface schema projections
  • meerkat-skills — Skill loading and resolution
  • meerkat-hooks — Hook infrastructure
  • meerkat (facade) — AgentFactory, re-exports, SDK helpers

Read the full file on GitHub · 135 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. 11d ago First seen · 135 lines · 471 tokens per session scan A c6080ebf65ed

Subscribe to this mod's changes

meerkat-rust-zealot is an agent published in the GitHub repository lukacf/meerkat (20 stars, last pushed today), licensed Apache-2.0. It adds 471 tokens to every session and 2,143 once invoked, about $0.0024 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.

Related

Other agents, from other repositories

rust-critic

Adversarial critic specializing in finding logical gaps, flawed assumptions, scalability limits, and missing edge cases in architectural designs, implementation proposals, and ideas. Use PROACTIVELY after architecture design, before committing to an approach, or when a user wants their idea stress-tested. Never writes…

bug-ops/zeph · 109 tokens

rust-code-reviewer

Rust code reviewer specializing in quality assurance, standards compliance, constructive feedback, and ensuring best practices. Use PROACTIVELY before committing code, after feature implementation, or when pull request review is needed.

bug-ops/zeph · 45 tokens

rust-perf-engineer

Reviews diffs touching poly's per-file runner / discovery / cache / engine paths for hot-path regressions — needless allocations/clones, missed borrows, parser-pool misuse, and non-rayon parallelism.

Goldziher/poly · 49 tokens

rust-engineer

Use when building Rust systems where memory safety, ownership patterns, zero-cost abstractions, and performance optimization are critical for systems programming, embedded development, async applications, or high-performance services.

vinhnx/VTCode · 41 tokens

rust-developer

Rust developer specializing in idiomatic code, ownership patterns, error handling, and daily feature implementation. Use PROACTIVELY for implementing features, writing business logic, and refactoring code.

bug-ops/zeph · 41 tokens

rust-performance-engineer

Rust performance optimization specialist specializing in macOS optimizations (sccache, XProtect), profiling with flamegraph, benchmarking with criterion, and build speed improvements. Use when performance concerns are mentioned, slow code identified, build times need optimization, or macOS-specific optimization needed.

bug-ops/zeph · 60 tokens