rocketmq-rust: Instructions file for Codex

AGENTS.md

rocketmq-rust AGENTS.md is an instructions file for Codex, OpenCode from mxsm/rocketmq-rust. It costs 2,820 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for working on RocketMQ Rust, including which folders belong to the main Rust workspace and which are separate projects.

In plain words
What is it for?
Use them when modifying RocketMQ Rust code, dashboard components, examples, fixtures, or standalone projects.
Why use it?
They clarify which rules apply to each part of the repository and identify the correct project boundaries for builds and checks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md.

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

About the project

RocketMQ-Rust is a Rust reimplementation of Apache RocketMQ, a distributed message-queue system for sending and processing messages between applications. It is for Rust developers who need messaging middleware compatible with the RocketMQ protocol.

mxsm/rocketmq-rust · 1,538 stars · on GitHub · rocketmqrust.com

Reuse

Borrowing it

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

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 rocketmq-rust AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mxsm/rocketmq-rust/agents-md"><img src="https://agentmods.dev/badge/instructions/mxsm/rocketmq-rust/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,820 This file is loaded in full into every session.
When invoked 2,820 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.02820 $0.02820
Opus 5.5 $0.01128 $0.01128
Sonnet 5.5 $0.00564 $0.00564
Haiku 4.5 $0.00282 $0.00282

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

Security

Grade A, and why

rocketmq-rust 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 3d 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 · 161 lines

How it starts

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

AGENTS.md

Scope and precedence

  • Direct user instructions take precedence over repository and skill guidance.
  • Root engineering rules apply throughout the repository. The nearest AGENTS.md selects local commands and exceptions; its validation profile replaces the root fallback rather than accumulating full profiles.
  • Apply only instructions relevant to the files and behavior being changed. Resolve routine choices within the authorized scope and continue; ask only when missing information materially changes the outcome.
  • If an instruction actually blocks authorized work, identify its file and explain the specific conflict.

Repository map

The root Cargo.toml [workspace].members list owns the main Cargo workspace. Root Cargo commands do not build standalone Cargo or Node projects; follow the matching local guide when working in these paths:

Path Role / local guide
rocketmq-dashboard/rocketmq-dashboard-common/ Root workspace member; this guide
rocketmq-dashboard/rocketmq-dashboard-storage/ Native Dashboard storage
fuzz/ Fuzz targets
rocketmq-example/ Standalone examples
rocketmq-macros/tests/fixtures/renamed-consumer/ Renamed dependency fixture
rocketmq-ai/rocketmq-mcp/ Feature-composed MCP entrypoint
rocketmq-ai/rocketmq-mcp-query/ Read-only queries and diagnostics
rocketmq-ai/rocketmq-mcp-control/ Isolated mutation control
rocketmq-ai/rocketmq-mcp-auth/ Shared MCP JWKS verification
rocketmq-ai/rocketmq-sre/ Standalone SRE workspace
rocketmq-ai/rocketmq-sre/ui/ SRE frontend
rocketmq-ai/rocketmq-sre/sdk/typescript/ Read-only TypeScript SDK
rocketmq-dashboard/rocketmq-dashboard-gpui/ Standalone native dashboard
rocketmq-dashboard/rocketmq-dashboard-tauri/ Tauri frontend
rocketmq-dashboard/rocketmq-dashboard-tauri/src-tauri/ Tauri backend
rocketmq-dashboard/rocketmq-dashboard-web/ Web dashboard boundary
rocketmq-dashboard/rocketmq-dashboard-web/backend/ Web backend
rocketmq-dashboard/rocketmq-dashboard-web/frontend/ Web frontend
rocketmq-website/ Docusaurus site
rocketmq-website/examples/first-message/ Standalone first-message tutorial

Read the full file on GitHub · 161 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. 3d ago Changed · +1 lines · +32 tokens per session 9f1d252d16fe
  2. 22d ago Changed · +10 lines · +211 tokens per session c6f25aaf6f6e
  3. 24d ago Changed · +1 lines · +39 tokens per session 78a630384902
  4. 27d ago Changed · +1 lines · +36 tokens per session d1b02c2dd4eb
  5. 1mo ago Changed · +3 lines · +78 tokens per session 4550dfc63865
  6. 1mo ago Changed · +1 lines · +33 tokens per session f2294e731a5c
  7. 1mo ago Changed · -160 lines · -1,971 tokens per session e8656ce32a63
  8. 2mo ago Changed · +8 lines · +116 tokens per session 04d5505ac85d
  9. 2mo ago First seen · 296 lines · 4,246 tokens per session scan A d0a2ae8a1f15

Subscribe to this mod's changes

rocketmq-rust AGENTS.md is an instructions file published in the GitHub repository mxsm/rocketmq-rust (1,538 stars, last pushed today), licensed Apache-2.0. It adds 2,820 tokens to every session, about $0.0113 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

rocketmq-rust AGENTS.md compared with instructions from other repositories

rocketmq-rust AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rocketmq-rust AGENTS.mdmxsm/rocketmq-rustInstructions file1.5ktodayApache-2.0A2,820Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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