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.
npx agentmods add rules/leancoderkavy/meepo/cursorrulesgit clone --depth 1 https://github.com/leancoderkavy/meepoWhat 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 | $0.00913 | $0.00913 |
| Opus 5 | $0.00456 | $0.00456 |
| Sonnet 5 | $0.00183 | $0.00183 |
| Haiku 4.5 | $0.00091 | $0.00091 |
Grade A, and why
cursorrules 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 2d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Meepo — Cursor Rules
Project
Meepo is a local AI agent for macOS and Windows that connects Claude to your digital life. Rust workspace, 7 crates, 75+ tools, Rust 2024 edition.
Build & Test
cargo build # Build all crates
cargo test --workspace # Run all tests
cargo test -p meepo-core # Single crate
cargo clippy --workspace # Lint
Code Conventions
Rust Style
- Rust 2024 edition — use
letchains,if letchains where appropriate anyhow::Resultfor application code,thiserrorfor library error typestracingmacros for logging:debug!,info!,warn!,error!— neverprintln!in library codeasync_traitfor async trait methodsserdewith#[serde(default)]for optional config fields- Prefer
Arc<T>for shared ownership across async tasks
Tool Implementation
- All tools implement
ToolHandlertrait:name(),description(),input_schema(),execute() - Use
json_schema()helper fromcrate::toolsfor input schemas - Return
anyhow::Result<String>— the string is what Claude sees - Register tools in both
cmd_start()andcmd_mcp_server()inmain.rs - Validate all inputs: check string lengths, sanitize paths, reject invalid characters
- Use
tokio::time::timeout()for external commands (30-300s depending on operation)
Security
- Never hardcode API keys — use
${ENV_VAR}syntax in config - Structs holding secrets get custom
Debugimpls, not#[derive(Debug)] - Validate file paths against allowed directories
- Sanitize branch names, command arguments
- Block path traversal (
..) and SSRF (private IPs)
Platform Code
- OS-specific code behind traits in
meepo-core::platform - Gate with
#[cfg(target_os = "macos")]/#[cfg(target_os = "windows")] - Factory functions return
Box<dyn Trait> - Cross-platform tools (clipboard, app launch) use
arboardandopencrates
Architecture
meepo-cli→meepo-core,meepo-channels,meepo-knowledge,meepo-scheduler,meepo-mcp,meepo-a2a- Leaf crates (
meepo-knowledge,meepo-scheduler) have no internal dependencies - Channel adapters implement
MessageChanneltrait MessageBussplits into receiver +Arc<BusSender>CancellationTokenfor graceful shutdown across all spawned tasks
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.
- 2d ago First seen · 87 lines · 913 tokens per session scan A 9e7cc4d6d5df
cursorrules is a cursor rule published in the GitHub repository leancoderkavy/meepo (3 stars, last pushed 6mo ago), licensed MIT. It adds 913 tokens to every session, about $0.0046 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-31.
Other cursor rules, from other repositories
060-routes-dev
Conventions for developing camofox-browser REST API routes.
cursorrules
See CLAUDE.md for full context. Quick rules.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.