amelia CLAUDE.md

amelia CLAUDE.md is an instructions file for coding agents from existential-birds/amelia. It costs 955 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Amelia, a Python backend and dashboard project. It documents the commands, code conventions, data-model rules, asynchronous design, and test-first development process.

In plain words
What is it for?
Use it when changing Amelia's backend, command-line interface, dashboard, data models, agents, drivers, or automated tests.
Why use it?
It removes guesswork about how to build, test, lint, and type-check Amelia. TDD, or test-driven development, means writing tests before the code they check.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/existential-birds/amelia/claude-md.svg)](https://agentmods.dev/instructions/existential-birds/amelia/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/existential-birds/amelia/claude-md"><img src="https://agentmods.dev/badge/instructions/existential-birds/amelia/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 955 This file is loaded in full into every session.
When invoked 955 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 $0.00955 $0.00955
Opus 5 $0.00477 $0.00477
Sonnet 5 $0.00191 $0.00191
Haiku 4.5 $0.00096 $0.00096

Measured 4d ago against content hash 2860c56d7fa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

amelia 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.

CLAUDE.md · 66 lines

How it starts

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

CLAUDE.md

Build & Development Commands

This project uses uv for Python and pnpm for the dashboard frontend (dashboard/).

# Backend
uv run ruff check --fix amelia tests   # Lint (auto-fix)
uv run mypy amelia                     # Type check
uv run pytest                          # Full test suite
uv run pytest tests/unit/              # Unit tests only

# Dashboard (run from dashboard/)
pnpm build        # Production build
pnpm test:run     # Tests (CI mode)
pnpm lint:fix     # ESLint auto-fix
pnpm type-check   # TypeScript checking

# Full stack
uv run amelia dev                      # API on :8420, dashboard on :8421

Pre-push hook runs ruff check, mypy, pytest, and pnpm build — all must pass.

Code Conventions

  • Test-Driven Development (TDD) — write tests first, then implementation
  • Python 3.12+ with type hints everywhere
  • Pydantic models for all data structures — not ad-hoc dicts
  • Async throughout — avoid blocking calls in async functions
  • Loguru for logging (logger), not print. Use kwargs for structured fields: logger.info("msg", key=value)
  • Typer for CLI with annotated parameters
  • Raise ValueError with clear messages for validation failures
  • New drivers/agents must conform to interfaces in amelia/core/

Test Conventions

Tests use pytest-asyncio with asyncio_mode = "auto".

  • DRY — extract common setup into fixtures in tests/conftest.py
  • Integration tests (tests/integration/) must use real components — only mock at the external boundary (e.g., HTTP calls to LLM APIs). Never mock internal classes like Architect, Developer, or Reviewer. If you're patching internals, it's a unit test — put it in tests/unit/.
  • High-fidelity mocks — return the same types production code returns (e.g., Pydantic model instances, not .model_dump() dicts)

Browser Automation

Use agent-browser for web automation: agent-browser open <url>, then agent-browser snapshot -i for interactive element refs, then agent-browser click @e1 / agent-browser fill @e2 "text".

Read the full file on GitHub · 66 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. 4d ago First seen · 66 lines · 955 tokens per session scan A 2860c56d7fa8

Subscribe to this mod's changes

amelia CLAUDE.md is an instructions file published in the GitHub repository existential-birds/amelia (21 stars, last pushed 24d ago), licensed Apache-2.0. It adds 955 tokens to every session, about $0.0048 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 instructions, from other repositories

deepagents AGENTS.md

AGENTS.md instructions for langchain-ai/deepagents, covering global development guidelines for the deep agents monorepo, corridor security analysis, development workflow, suppressing ruff rules and pr conventions.

langchain-ai/deepagents · 2,268 tokens

TradingAgents-Telegram CLAUDE.md

Instructions for IvanWng97/TradingAgents-Telegram, covering tradingagents-telegram — architecture reference, layout, architecture (for code reviewers), request lifecycle (manual /watch tap) and state ownership.

IvanWng97/TradingAgents-Telegram · 9,679 tokens

wallfacer CLAUDE.md

Instructions for changkun/wallfacer: If you didn't add a test, you didn't fix a bug. Every bug fix must include a reproducible test that fails without the fix and passes with it. You commit frequently, one small scope diff at a time. Push to main once a full batch of work is complete and verified. Leftover must be…

changkun/wallfacer · 133 tokens

agent-ship CLAUDE.md

Claude Code instructions for Agent-Ship/agent-ship, covering claude.md, project overview, commands, docker development (recommended) and local development (no docker).

Agent-Ship/agent-ship · 6,592 tokens

arc AGENTS.md

AGENTS.md instructions for howells/arc, covering arc, shape, gotchas, editing constraints and search order.

howells/arc · 1,113 tokens

AI-System-Design-Consultant CLAUDE.md

Claude Code instructions for deepanshu2711/AI-System-Design-Consultant, covering claude.md, what this is, running it, load-bearing typos — do not "fix" these paths and agent node pattern.

deepanshu2711/AI-System-Design-Consultant · 674 tokens