Orleans.RateLimiting: Instructions file for Codex

AGENTS.md

Orleans.RateLimiting AGENTS.md is an instructions file for Codex, OpenCode from managedcode/Orleans.RateLimiting. It costs 2,452 tokens per session, scanned A, original, MIT.

A project instruction document for coding agents working in a multi-project .NET solution. It explains the repository layout, which guidance files to read, and how to resolve conflicting rules.

In plain words
What is it for?
Use it to guide agents working on the Orleans rate-limiting solution, including its core, client, server, and test projects.
Why use it?
It gives an agent the project context and order of instructions needed before changing code. This helps prevent edits that ignore local ownership or architecture rules.

Instructions file for CodexOpenCode

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

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/ksemenenko/Developer/Orleans.RateLimiting.

Reuse

Borrowing it

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

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 Orleans.RateLimiting AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/managedcode/orleans.ratelimiting/agents-md"><img src="https://agentmods.dev/badge/instructions/managedcode/orleans.ratelimiting/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,452 This file is loaded in full into every session.
When invoked 2,452 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.02452 $0.02452
Opus 5.5 $0.00981 $0.00981
Sonnet 5.5 $0.00490 $0.00490
Haiku 4.5 $0.00245 $0.00245

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

Security

Grade A, and why

Orleans.RateLimiting 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 19d 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 · 183 lines

How it starts

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

AGENTS.md

Project: ManagedCode.Orleans.RateLimiting Stack: .NET 10, Orleans 10, ASP.NET Core middleware and SignalR, TUnit, Shouldly

Follows MCAF.

Purpose

This file defines how AI agents work in this solution.

  • The root AGENTS.md holds global workflow, shared commands, cross-cutting rules, and repo-level preferences.
  • This is a multi-project solution. Each project root has its own local AGENTS.md.
  • Local files refine ownership, boundaries, entry points, and project-specific risks.

Solution Topology

  • Solution root: /Users/ksemenenko/Developer/Orleans.RateLimiting
  • Solution file: ManagedCode.Orleans.RateLimiting.sln
  • Architecture map: docs/Architecture.md
  • Local agent files:
    • ManagedCode.Orleans.RateLimiting.Core/AGENTS.md
    • ManagedCode.Orleans.RateLimiting.Client/AGENTS.md
    • ManagedCode.Orleans.RateLimiting.Server/AGENTS.md
    • ManagedCode.Orleans.RateLimiting.Tests/AGENTS.md

Rule Precedence

  1. Read this root file first.
  2. Read docs/Architecture.md for non-trivial behaviour or architecture changes.
  3. Read the nearest local AGENTS.md for the project you will edit.
  4. Apply the stricter rule when root and local rules overlap.
  5. Document any exception in the nearest local AGENTS.md, an ADR, or the task plan before relying on it.

Conversations

Record durable user preferences here when they are stable across tasks. Do not record one-off implementation details.

Update this file when the user gives a repeated correction, a permanent workflow change, a lasting preference, or a strong negative signal that a rule was missed.

Global Skills

Use the installed Managed Code Skills catalog entries that match this repo:

  • dotnet — .NET SDK, MSBuild, NuGet, project structure, and package management work.
  • project-setup — SDK pinning, central package management, repo-level build files, and tool manifests.
  • modern-csharp — C# language features and idioms for the configured SDK.
  • microsoft-extensions — dependency injection, options, hosting, logging, and configuration.
  • orleans — grains, grain interfaces, silo/client setup, filters, and serialization.
  • quality-ci — GitHub Actions quality gates, build/test/analyze/coverage workflow work.
  • format, roslynator, analyzer-config, code-analysis — formatting and analyzer alignment.
  • complexity, crap-score — maintainability and complexity review.
  • architecture — architecture map, boundaries, and module-level reasoning.

Read the full file on GitHub · 183 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. 19d ago First seen · 183 lines · 2,452 tokens per session scan A 2710c3be1c6f

Subscribe to this mod's changes

Orleans.RateLimiting AGENTS.md is an instructions file published in the GitHub repository managedcode/Orleans.RateLimiting (30 stars, last pushed 11d ago), licensed MIT. It adds 2,452 tokens to every session, about $0.0098 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-10-02.