Orleans.RateLimiting: Skill for Codex

.codex/skills/managedcode-orleans-graph/SKILL.md

managedcode-orleans-graph is a skill for Codex from managedcode/Orleans.RateLimiting. It costs 51 tokens per session (800 once invoked), scanned A, original, MIT.

A guide for using ManagedCode.Orleans.Graph in a .NET application built with Microsoft Orleans. Orleans is a distributed framework where application objects called grains manage state and behavior; this library represents relationships between them as a graph.

In plain words
What is it for?
Adding, checking, removing, and traversing relationships between Orleans grains in a distributed application.
Why use it?
It helps determine whether connected nodes and traversal are really needed instead of using a simpler table or hierarchy. It also shows how to model nodes, edges, and neighbor queries across grains.

Skill for Codex

Written for Codex: installed under .codex/.

This is managedcode/Orleans.RateLimiting's own configuration. It tells Codex 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 →

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/.codex/skills/managedcode-orleans-graph/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/managedcode/Orleans.RateLimiting

Made for: Codex.

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 managedcode-orleans-graph

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/orleans.ratelimiting/managedcode-orleans-graph"><img src="https://agentmods.dev/badge/skills/managedcode/orleans.ratelimiting/managedcode-orleans-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 The whole file, excluding the scripts and references it only reads on demand.
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.00051 $0.00800
Opus 5.5 $0.00020 $0.00320
Sonnet 5.5 $0.00010 $0.00160
Haiku 4.5 $0.00005 $0.00080

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

Security

Grade A, and why

managedcode-orleans-graph 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.codex/skills/managedcode-orleans-graph/SKILL.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.

ManagedCode.Orleans.Graph

Trigger On

  • integrating ManagedCode.Orleans.Graph into an Orleans-based system
  • modeling graph relationships, edges, or traversal behavior with Orleans grains
  • reviewing graph-oriented distributed workflows on top of Orleans
  • deciding whether a graph abstraction is the right fit vs relational modeling

Workflow

  1. Install the library:
    dotnet add package ManagedCode.Orleans.Graph
    
  2. Confirm the application has a real graph problem — node-to-node relationships, directed/undirected edges, or traversal queries. If the data is tabular or hierarchical, prefer standard Orleans grain patterns instead.
  3. Model graph entities as grains:
    • nodes map to grain identities
    • edges represent relationships between grains
    • traversal operations query across grain boundaries
  4. Implement graph operations:
    // Define a graph grain interface
    public interface IGraphGrain : IGrainWithStringKey
    {
        Task AddEdge(string targetId, string edgeType);
        Task<IReadOnlyList<string>> GetNeighbors(string edgeType);
        Task<bool> HasEdge(string targetId, string edgeType);
        Task RemoveEdge(string targetId, string edgeType);
    }
    
  5. Keep Orleans runtime concerns explicit:
    • grain identity determines the node identity
    • persistence provider stores edge state
    • grain activation lifecycle affects traversal latency
  6. Add traversal logic for multi-hop queries:
    // Breadth-first traversal across grains
    public async Task<IReadOnlyList<string>> TraverseAsync(
        IGrainFactory grainFactory, string startId, string edgeType, int maxDepth)
    {
        var visited = new HashSet<string>();
        var queue = new Queue<(string Id, int Depth)>();
        queue.Enqueue((startId, 0));
    
        while (queue.Count > 0)
        {
            var (currentId, depth) = queue.Dequeue();
            if (!visited.Add(currentId) || depth >= maxDepth) continue;
    
            var grain = grainFactory.GetGrain<IGraphGrain>(currentId);
            var neighbors = await grain.GetNeighbors(edgeType);
            foreach (var neighbor in neighbors)
                queue.Enqueue((neighbor, depth + 1));
        }
        return visited.ToList();
    }
    
  7. Validate that traversal and relationship operations work against real Orleans clusters, not only unit tests with mock grain factories.

Read the full file on GitHub · 92 lines

Files

What ships with it

1 file 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.

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. 2mo ago First seen · 92 lines · 51 tokens per session scan A 9c03ef7dca12

Subscribe to this mod's changes

managedcode-orleans-graph is a skill published in the GitHub repository managedcode/Orleans.RateLimiting (31 stars, last pushed 12d ago), licensed MIT. It adds 51 tokens to every session and 800 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.

Related

managedcode-orleans-graph compared with skills from other repositories

managedcode-orleans-graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
managedcode-orleans-graphmanagedcode/Orleans.RateLimitingSkill3112d agoMITA51Codex
detecting-api-enumeration-attacksxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A32Claude Code, Codex
implementing-api-abuse-detection-with-rate-limitingxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A43Claude Code, Codex
implementing-cloud-waf-rulesxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A78Claude Code, Codex
api-connector-builderericrisco/rsc-harnessSkill7093d agoMITA80Claude Code, Codex
csharp-dotnetericrisco/rsc-harnessSkill7093d agoMITA89Claude Code, Codex
aspiremanagedcode/dotnet-skillsSkill530todayMITA145Claude Code, Codex