aidaemon CLAUDE.md

aidaemon CLAUDE.md is an instructions file for coding agents from davo20019/aidaemon. It costs 3,760 tokens per session, scanned A, original, MIT.

Repository instructions for a Rust daemon, including build, test, formatting, linting, feature flags, release checks, and Git safety rules.

In plain words
What is it for?
Use them when building or testing the daemon, enabling browser, Discord, Slack, or encryption features, running quality checks, or preparing a release.
Why use it?
They provide the commands and precautions needed to verify changes without disturbing unrelated work in the repository.

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/davo20019/aidaemon/claude-md
Clone the repo
git clone --depth 1 https://github.com/davo20019/aidaemon

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davo20019/aidaemon/claude-md.svg)](https://agentmods.dev/instructions/davo20019/aidaemon/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/davo20019/aidaemon/claude-md"><img src="https://agentmods.dev/badge/instructions/davo20019/aidaemon/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,760 This file is loaded in full into every session.
When invoked 3,760 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.03760 $0.03760
Opus 5 $0.01880 $0.01880
Sonnet 5 $0.00752 $0.00752
Haiku 4.5 $0.00376 $0.00376

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

Security

Grade A, and why

aidaemon 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 · 418 lines

How it starts

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

AGENTS.md / CLAUDE.md

This is the shared coding-agent guide for this repository. AGENTS.md is a symlink to this file, so keep the content agent-neutral unless a rule truly only applies to one tool.

Build & Run

cargo build
cargo build --release
cargo build --features browser
cargo build --features discord
cargo build --features slack
cargo build --features encryption
cargo build --features "browser,slack,discord"
cargo test
cargo test --all-features
cargo test router
cargo test --lib memory
cargo test integration_tests
cargo test <test_name>
cargo fmt
cargo fmt --check
cargo clippy --all-features -- -D warnings

No rustfmt.toml is present; use default Rust formatting.

The agent loop is a deep async state machine and debug-profile poll frames are large. The daemon runtime already uses an 8 MiB worker stack (src/lib.rs); CI runs tests with RUST_MIN_STACK=8388608 so test threads get the same budget. If a local cargo test aborts with has overflowed its stack, run it with that variable set rather than shrinking a frame by hand; the suite sits within a few percent of libtest's 2 MiB default.

Pre-Commit Checklist

Before committing release-quality code:

  1. cargo fmt
  2. cargo clippy --all-features -- -D warnings
  3. cargo test

For CI parity on broad changes, prefer:

cargo test --all-features
cargo test --lib harness_eval --all-features
cargo build --release --features "browser"

Git Safety

This repository often has active, unrelated work in the tree. Do not clean up, discard, or revert files unless the user explicitly asks for that exact action.

Never run broad destructive commands such as:

git checkout *
git checkout .
git restore .
git reset --hard
git clean -fd

If a change needs to be reverted, inspect the diff first and revert only the specific lines or files you changed. Prefer git diff, git status --short, and targeted patches. When unrelated files are modified, leave them alone.

Read the full file on GitHub · 418 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 · +44 lines · +627 tokens per session 510ee758c392
  2. 5d ago First seen · 374 lines · 3,133 tokens per session scan A 3e4d20ceb41a

Subscribe to this mod's changes

aidaemon CLAUDE.md is an instructions file published in the GitHub repository davo20019/aidaemon (5 stars, last pushed 3d ago), licensed MIT. It adds 3,760 tokens to every session, about $0.0188 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.

Related

Other instructions, from other repositories

lean-ctx AGENTS.md

AGENTS.md instructions for yvgude/lean-ctx, covering context engineering layer, mandatory multi-agent delivery, integration mode: replace, subagent compatibility (cursor / claude code) and cli commands (optimized shell, lower overhead).

yvgude/lean-ctx · 2,223 tokens

openhuman AGENTS.md

AGENTS.md instructions for tinyhumansai/openhuman, covering openhuman, repository layout, runtime scope, ios client (experimental, non-shipping) and commands (from repo root).

tinyhumansai/openhuman · 33,077 tokens

lean-ctx copilot-instructions.md

Copilot instructions for yvgude/lean-ctx, a project described as: Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens…

yvgude/lean-ctx · 253 tokens

openhuman CLAUDE.md

Claude Code instructions for tinyhumansai/openhuman, a project described as: OpenHuman is an open source personal AI for Mac, Windows and Linux — local-first memory, agent orchestration, and deep research.

tinyhumansai/openhuman · 3 tokens

fastagent AGENTS.md

AGENTS.md instructions for fastagent-sh/fastagent, covering fastagent — agent guide, what this is, source of truth, repo map and devx principle stack.

fastagent-sh/fastagent · 10,139 tokens

sema AGENTS.md

AGENTS.md instructions for sema-lisp/sema, covering agents.md — sema (lisp with llm primitives, in rust), build & test, architecture (cargo workspace), key design patterns and writing style — plain technical english (mandatory).

sema-lisp/sema · 7,158 tokens