chimera-agent: Instructions file for Codex

AGENTS.md

chimera-agent AGENTS.md is an instructions file for Codex, OpenCode from brcampidelli/chimera-agent. It costs 1,103 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Chimera, a Python agent framework with a Tauri and React desktop application. They explain where project rules live and list requirements for areas such as translations, API routes, security, benchmarks, and testing.

In plain words
What is it for?
Use them as a starting point before changing Chimera code, especially the desktop interface, user-facing features, security-sensitive code, APIs, benchmarks, or tests.
Why use it?
They help contributors avoid project-specific mistakes, such as changing translation keys without care or leaving generated API types out of a route change.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is brcampidelli/chimera-agent's own configuration. It tells Codex and OpenCode how to work on chimera-agent 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 chimera-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to brcampidelli/chimera-agent. 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/brcampidelli/chimera-agent/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/brcampidelli/chimera-agent

Made for: Codex, OpenCode.

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 chimera-agent AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/brcampidelli/chimera-agent/agents-md/github.svg)](https://agentmods.dev/instructions/brcampidelli/chimera-agent/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/brcampidelli/chimera-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/brcampidelli/chimera-agent/agents-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 chimera-agent AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/brcampidelli/chimera-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/brcampidelli/chimera-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,103 This file is loaded in full into every session.
When invoked 1,103 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.01103 $0.01103
Opus 5.5 $0.00441 $0.00441
Sonnet 5.5 $0.00221 $0.00221
Haiku 4.5 $0.00110 $0.00110

Measured 21d ago against content hash 9e8743b0656f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chimera-agent AGENTS.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 21d 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.

AGENTS.md · 92 lines

How it starts

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

Working in this repository

A routing document. It is short on purpose — it tells you where the real rules live and states the few that have bitten us hard enough to be worth repeating.

Chimera is a Python agent framework (chimera/) with a Tauri + React desktop app (apps/desktop/). ~128k lines of Python source, ~146k lines of Python tests, ~7,700 test functions (counted on 2026-10-04 over git ls-files, before parametrisation), mypy strict. The figure here once read 41k / 1848 and stayed for months after it stopped being true; re-count rather than trust it.


Where the rules live

Working on Read first
Desktop UI, styling, motion apps/desktop/DESIGN.md
UI, prompts and bot text: no affective or relational self-claims apps/desktop/DESIGN.md and docs/security.md
Anything user-facing CONTRIBUTING.md
Security-sensitive code SECURITY.md
Benchmarks and claims bench/*/RESULTS.md and the matching PREREGISTRATION.md

Hard rules

Never rename or delete an i18n key. apps/desktop/src/lib/i18n.tsx carries every language the app offers, and the component tests assert on rendered English strings. A rename breaks them silently in all of them at once. Adding keys is free; renaming is not.

A route change and its generated types ship in the same commit. If you touch a FastAPI route in chimera/api/, regenerate both or CI fails on drift:

python -m chimera.api.schema_dump > apps/desktop/openapi.json
npm --prefix apps/desktop run gen:api

Run the full Python suite, not the module you touched. Per-module runs have let regressions reach main here before. On Windows, run it in WSL with scripts/gate_wsl.sh <worktree>. It installs from uv.lock, as CI does: an install that resolves the newest versions once reported a dependency released that afternoon as a regression.

Read the full file on GitHub · 92 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. 21d ago Changed · +1 lines · +45 tokens per session 9e8743b0656f
  2. 22d ago Changed · +2 lines · +54 tokens per session e76faeed3852
  3. 28d ago Changed · +2 lines · +44 tokens per session ed6747ecc6f5
  4. 1mo ago First seen · 87 lines · 960 tokens per session scan A ecdc61492f25

Subscribe to this mod's changes

chimera-agent AGENTS.md is an instructions file published in the GitHub repository brcampidelli/chimera-agent (29 stars, last pushed today), licensed Apache-2.0. It adds 1,103 tokens to every session, about $0.0044 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-30.

Related

Other instructions, from other repositories