aidaemon: Instructions file for Claude Code

CLAUDE.md

aidaemon CLAUDE.md is an instructions file for Claude Code from davo20019/aidaemon. It costs 3,851 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

This is davo20019/aidaemon's own configuration. It tells Claude Code how to work on aidaemon 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 aidaemon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davo20019/aidaemon. 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/davo20019/aidaemon/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/davo20019/aidaemon

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davo20019/aidaemon/claude-md/github.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/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 aidaemon CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/davo20019/aidaemon/claude-md"><img src="https://agentmods.dev/badge/instructions/davo20019/aidaemon/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,851 This file is loaded in full into every session.
When invoked 3,851 The same file — it is already loaded in full.
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.03851 $0.03851
Opus 5.5 $0.01540 $0.01540
Sonnet 5.5 $0.00770 $0.00770
Haiku 4.5 $0.00385 $0.00385

Measured 1mo ago against content hash 70aac26c10be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.md · 424 lines

How it starts

The opening of the file, as written. The whole thing — 424 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 · 424 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. 1mo ago Changed · +6 lines · +91 tokens per session 70aac26c10be
  2. 2mo ago Changed · +44 lines · +627 tokens per session 510ee758c392
  3. 2mo 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 (6 stars, last pushed yesterday), licensed MIT. It adds 3,851 tokens to every session, about $0.0154 per session on Opus 5.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

aidaemon CLAUDE.md compared with instructions from other repositories

aidaemon CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aidaemon CLAUDE.mddavo20019/aidaemonInstructions file6yesterdayMITA3,851Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode