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.
curl -O https://raw.githubusercontent.com/managedcode/Orleans.RateLimiting/main/.codex/skills/orleans/SKILL.mdgit clone --depth 1 https://github.com/managedcode/Orleans.RateLimitingWrote 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.
[](https://agentmods.dev/skills/managedcode/orleans.ratelimiting/orleans)<a href="https://agentmods.dev/skills/managedcode/orleans.ratelimiting/orleans"><img src="https://agentmods.dev/badge/skills/managedcode/orleans.ratelimiting/orleans/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.
<a href="https://agentmods.dev/skills/managedcode/orleans.ratelimiting/orleans"><img src="https://agentmods.dev/badge/skills/managedcode/orleans.ratelimiting/orleans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.02998 |
| Opus 5.5 | $0.00016 | $0.01199 |
| Sonnet 5.5 | $0.00008 | $0.00600 |
| Haiku 4.5 | $0.00004 | $0.00300 |
Grade A, and why
orleans 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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- dotnet-orleans — 100% identical, 4 lines differ
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft Orleans
Trigger On
- building or reviewing
.NETcode that usesMicrosoft.Orleans.*,Grain,IGrainWith*,UseOrleans,UseOrleansClient,IGrainFactory,JournaledGrain,ITransactionalState, or Orleans silo/client builders - testing Orleans code with
InProcessTestCluster,Aspire.Hosting.Testing,WebApplicationFactory, or shared AppHost fixtures - modeling high-cardinality stateful entities such as users, carts, devices, rooms, orders, digital twins, sessions, or collaborative documents
- choosing between grains, streams, broadcast channels, reminders, stateless workers, persistence providers, placement strategies, transactions, event sourcing, and external client/frontend topologies
- deploying or operating Orleans with Redis, Azure Storage, Cosmos DB, ADO.NET, .NET Aspire, Kubernetes, Azure Container Apps, or built-in/dashboard observability
- designing grain serialization contracts, versioning grain interfaces, configuring custom placement, or implementing grain call filters and interceptors
Workflow
-
Decide whether Orleans fits. Use it when the system has many loosely coupled interactive entities that can each stay small and single-threaded. Do not force Orleans onto shared-memory workloads, long batch jobs, or systems dominated by constant global coordination.
-
Model grain boundaries around business identity. Prefer one grain per user, cart, device, room, order, or other durable entity. Never create unique grains per request — use
[StatelessWorker]for stateless fan-out. Grain identity types:IGrainWithGuidKey— globally unique entitiesIGrainWithIntegerKey— relational DB integrationIGrainWithStringKey— flexible string keysIGrainWithGuidCompoundKey/IGrainWithIntegerCompoundKey— composite identity with extension string
-
Design coarse-grained async APIs. All grain interface methods must return
Task,Task<T>, orValueTask<T>. UseIAsyncEnumerable<T>for streaming responses. Avoid.Result,.Wait(), blocking I/O, lock-based coordination. UseTask.WhenAllfor parallel cross-grain calls. Apply[ResponseTimeout("00:00:05")]on interface methods when needed.
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- manifest.json 95 B
- references/anti-patterns.md 16 KB
- references/configuration-api.md 25 KB
- references/examples.md 4.3 KB
- references/grain-api.md 23 KB
- references/grains.md 7.2 KB
- references/hosting.md 7.1 KB
- references/implementation.md 20 KB
- references/official-docs-index.md 15 KB
- references/patterns.md 20 KB
- references/persistence-api.md 12 KB
- references/serialization-api.md 7.5 KB
- references/streaming-api.md 11 KB
- references/testing-patterns.md 8.0 KB
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.
- 2mo ago First seen · 186 lines · 39 tokens per session scan A 5b4d2fa91f0e
orleans is a skill published in the GitHub repository managedcode/Orleans.RateLimiting (31 stars, last pushed 12d ago), licensed MIT. It adds 39 tokens to every session and 2,998 once invoked, about $0.0002 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.
orleans compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orleansmanagedcode/Orleans.RateLimiting | Skill | 31 | 12d ago | MIT | A | 39 | Codex |
| verifybravodev-hub/appointme | Skill | 50 | 6d ago | MIT | A | 25 | Claude Code |
| api-harnesssabbour/agentweaver | Skill | 8 | yesterday | MIT | A | 0 | Claude Code, Codex |
| cratis-platform-verify-service-handoffCratis/AI | Skill | 4 | yesterday | MIT | A | 119 | Claude Code, Codex |
| api-testingvikisingh23/neuraforge-ai | Skill | 4 | 9d ago | Apache-2.0 | A | 17 | Claude Code |
| implementing-api-rate-limiting-and-throttlingxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 114 | Claude Code, Codex |
| detecting-api-enumeration-attacksxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |