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 instructions/dirmacs/daedra/claude-mdgit clone --depth 1 https://github.com/dirmacs/daedraWrote 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.
[](https://agentmods.dev/instructions/dirmacs/daedra/claude-md)<a href="https://agentmods.dev/instructions/dirmacs/daedra/claude-md"><img src="https://agentmods.dev/badge/instructions/dirmacs/daedra/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00695 | $0.00695 |
| Opus 5 | $0.00347 | $0.00347 |
| Sonnet 5 | $0.00139 | $0.00139 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade A, and why
daedra 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 4d 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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
daedra
Self-contained web search MCP server. 14 unkeyed backends with automatic fallback. Mwmbl and Marginalia answer from any IP. Brave HTML may rate-limit. No paid search keys.
Build and test
cargo build --release
cargo test
cargo clippy -- -D warnings
Architecture
Single crate with modular backends: Mwmbl, Brave, Marginalia, Bing RSS, Bing, Google News, Hacker News, Google, Wikipedia, StackExchange, GitHub, Wiby, DDG Instant, DuckDuckGo HTML. SearchProvider runs the fallback chain. Per-backend circuit breakers (BackendHealth), governor keyed rate limits, and classified retry (transient errors only) keep the chain stable.
FetchClient classifies responses as FetchedContent (Html / Pdf / Document / Text / Binary). HTML uses dom_smoothie Readability extraction. PDFs use infer + pdf-inspector (Markdown out). Office/ebook documents use anydoc. Textual SVG/XML/JSON come back verbatim. Zip containers typed as application/zip are sniffed for embedded office formats. Binary types fail with a typed error.
The MCP server (DaedraHandler in server.rs) exposes web_search, visit_page, and crawl_site. search_duckduckgo is a backward-compatibility alias for web_search. Transports: STDIO and SSE (Axum). The moka async cache layer caches results.
Key files
src/main.rs— CLI entrypoint (Commands::run,CheckReporterfor health checks)src/server.rs— MCP server, Axum HTTP/SSE, tool handler methodssrc/lib.rs— Crate root and re-exportssrc/url_classification.rs— Search result URL → content type (data-driven rules)src/tools/backend.rs— SearchProvider, circuit breakers, rate limiters, fallback chain, aggregate failure messagessrc/tools/rss.rs— Machine-format backends: Bing RSS, Google News, HN Algoliasrc/tools/soft_block.rs— Zero-result page classifier for scraper backendssrc/tools/fetch.rs— Page fetch, Readability, PDF, MIME classificationsrc/tools/crawl.rs— Multi-page crawl toolsrc/tools/— Individual backend implementationssrc/cache.rs— moka async cache layersrc/types.rs— Shared schemas. Language and topic detection tables.
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.
- 4d ago First seen · 44 lines · 695 tokens per session scan A dd2f1e48c71b
daedra CLAUDE.md is an instructions file published in the GitHub repository dirmacs/daedra (13 stars, last pushed yesterday), licensed MIT. It adds 695 tokens to every session, about $0.0035 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.
Other instructions, from other repositories
serial-mcp AGENTS.md
AGENTS.md instructions for qarnet/serial-mcp, covering agents.md — serial-mcp, fast truth, commands worth using, focused runs and networked schema drift check.
cortex CLAUDE.md
Claude Code instructions for dinglebear-ai/cortex, covering claude.md — cortex, repo facts, commands, architecture and ports.
axon AGENTS.md
AGENTS.md instructions for dinglebear-ai/axon, a project described as: Self-hosted RAG stack for crawl, scrape, search, ingest, query, and ask workflows with Qdrant, TEI embeddings, Chrome rendering, MCP/CLI/REST, and Gemini synthesis.
axon GEMINI.md
Gemini CLI instructions for dinglebear-ai/axon, a project described as: Self-hosted RAG stack for crawl, scrape, search, ingest, query, and ask workflows with Qdrant, TEI embeddings, Chrome rendering, MCP/CLI/REST, and Gemini synthesis.
axon CLAUDE.md
Claude Code instructions for dinglebear-ai/axon, covering axon cli, repository facts, verification scope guard, generated contract gate and quick start.
cortex AGENTS.md
AGENTS.md instructions for dinglebear-ai/cortex, a project described as: Rust MCP/HTTP log aggregation platform for homelab syslog, Docker logs, OTLP ingest, SQLite/FTS search, and AI transcript correlation.