camel: Instructions file for Codex

AGENTS.md

camel AGENTS.md is an instructions file for Codex, OpenCode from apache/camel. It costs 3,535 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for AI coding agents working on Apache Camel, a Java framework for connecting systems and routing data between them. They define project requirements and rules for agent-created commits, comments, and pull requests.

In plain words
What is it for?
Use them when an AI agent edits Apache Camel, creates commits or pull requests, or adds comments to GitHub and issue-tracking discussions.
Why use it?
They reduce inconsistent attribution, excessive pull requests, and changes that do not follow the project’s contribution rules.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code.

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

About the project

Apache Camel is an open-source integration framework for connecting databases, APIs, message brokers, cloud services, and other systems through routes written in Java, YAML, or XML. Developers use it to build and run data-integration workflows with runtimes such as Spring Boot, Quarkus, or the Camel CLI. The catalogue instructions support coding assistants working with Camel.

apache/camel · 6,393 stars · on GitHub · camel.apache.org

Reuse

Borrowing it

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

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 camel AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/apache/camel/agents-md"><img src="https://agentmods.dev/badge/instructions/apache/camel/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,535 This file is loaded in full into every session.
When invoked 3,535 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.03535 $0.03535
Opus 5.5 $0.01414 $0.01414
Sonnet 5.5 $0.00707 $0.00707
Haiku 4.5 $0.00353 $0.00353

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

Security

Grade A, and why

camel 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 8d 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 · 237 lines

How it starts

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

Apache Camel - AI Agent Guidelines

Guidelines for AI agents working on this codebase. Apache Camel is an integration framework supporting routing rules in Java, XML and YAML DSLs. Java 21+, Maven 3.9.12+.

AI Agent Rules of Engagement

These rules apply to ALL AI agents working on this codebase.

Attribution

  • All AI-generated content (GitHub PR descriptions, review comments, JIRA comments) MUST clearly identify itself as AI-generated and mention the human operator. Example: "Claude Code on behalf of [Human Name]"
  • Never guess or hallucinate the operator's name. Look it up with gh api /user --jq '.login'; if the lookup fails, omit the name.
  • AI coding agents MUST be configured to add co-authorship trailers to commits (e.g., Co-authored-by). For Claude Code, enable this via the attribution settings.

PR Volume

  • An agent MUST NOT open more than 10 PRs per day per operator to ensure human reviewers can keep up.
  • Prioritize quality over quantity — fewer well-tested PRs are better than many shallow ones.

Git branch

  • An agent MUST NEVER push commits to a branch it did not create. If a contributor's PR needs changes, suggest them via review comments; do not push to their branch without explicit permission.
  • An agent MUST push branches to its own fork, not to apache/camel (stale upstream branches waste CI time and disk space for all contributors).
  • Give the branch a useful name, with the topic and the issue number if possible.
  • After a PR is merged or rejected, delete the branch. The pr-cleanup-branches.yml workflow only cleans up branches pushed to apache/camel; branches on a fork must be deleted manually.

JIRA Ticket Ownership

  • An agent MUST ONLY pick up Unassigned JIRA tickets, and must not reassign or work on a ticket assigned to a human.
  • Before starting work, assign the ticket to the operator and transition it to "In Progress". CAMEL transition IDs: 4 Start Progress, 5 Resolve Issue, 2 Close Issue. Query the issue's /transitions first: availability depends on the state and the caller (4 is only offered once the issue is assigned to you).
  • Set the fixVersions field before closing a ticket (it cannot be set on a closed issue).

Read the full file on GitHub · 237 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. 8d ago Changed · -470 lines · -5,605 tokens per session e18ce8562f8e
  2. 9d ago Changed · +1 lines · +58 tokens per session 2fa36d3e2ae2
  3. 18d ago Changed · +33 lines · +707 tokens per session c4e0e4234f96
  4. 22d ago Changed d00f6dcd6a9a
  5. 23d ago Changed · +7 lines · +143 tokens per session 6fb90b97d823
  6. 1mo ago Changed · +11 lines · +259 tokens per session 713f061d0239
  7. 1mo ago Changed · +1 lines · +46 tokens per session d6f30481c414
  8. 1mo ago Changed · +10 lines · +139 tokens per session bb9c7e9f4ba0
  9. 2mo ago Changed · +16 lines · +307 tokens per session ce2f8b17f05f
  10. 2mo ago First seen · 628 lines · 7,481 tokens per session scan A c275c79a8803

Subscribe to this mod's changes

camel AGENTS.md is an instructions file published in the GitHub repository apache/camel (6,393 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,535 tokens to every session, about $0.0141 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

camel AGENTS.md compared with instructions from other repositories

camel AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
camel AGENTS.mdapache/camelInstructions file6.4kyesterdayApache-2.0A3,535Codex, OpenCode
graftcode graftcode-java.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA4,669GitHub Copilot
graftcode graftcode-dotnet.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA7,060GitHub Copilot
graftcode graftcode-typescript-node-nextjs.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA8,953GitHub Copilot
graftcode copilot-instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA6,921GitHub Copilot
graftcode graftcode-kotlin.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA4,533GitHub Copilot
graftcode graftcode-php.instructions.mdgrft-dev/graftcodeInstructions file9671mo agononeA4,619GitHub Copilot