rulegraph AGENTS.md

rulegraph AGENTS.md is an instructions file for Codex, OpenCode from sandeep-alluru/rulegraph. It costs 133 tokens per session, scanned A, a copy of groundcrew AGENTS.md, MIT.

Project instructions for rulegraph, a tool that turns written rules into a rulebook for resolving game decisions. The file gives coding assistants project context and development commands.

In plain words
What is it for?
Use it when working on rulegraph so an assistant knows the intended purpose and how to run its tests, lint checks, and type checks.
Why use it?
It gives coding assistants shared guidance about the project, testing, linting, and type checking. Much of the project-specific guidance is still marked as unfinished.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sandeep-alluru/rulegraph/agents-md
Clone the repo
git clone --depth 1 https://github.com/sandeep-alluru/rulegraph

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sandeep-alluru/rulegraph/agents-md.svg)](https://agentmods.dev/instructions/sandeep-alluru/rulegraph/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sandeep-alluru/rulegraph/agents-md"><img src="https://agentmods.dev/badge/instructions/sandeep-alluru/rulegraph/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 133 This file is loaded in full into every session.
When invoked 133 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 80% copy Near-identical to another mod 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.00133 $0.00133
Opus 5 $0.00067 $0.00067
Sonnet 5 $0.00027 $0.00027
Haiku 4.5 $0.00013 $0.00013

Measured 4d ago against content hash 53b13e55a1c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

rulegraph 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 4d 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

This is a copy

80% identical to groundcrew AGENTS.md — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 31 lines

What it actually says

rulegraph — Agent Context

This file describes the project architecture for AI coding assistants (Claude Code, Cursor, Copilot).

What this project does

Natural-language rulebook compiler for game arbitration

Module map

src/rulegraph/
├── # TODO: fill in module map

Key invariants

  • TODO: document invariants that must not be broken

Testing

make test       # full test suite
make lint       # ruff check + format
make typecheck  # mypy

What NOT to change without careful thought

  • TODO: list protected areas

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. 4d ago First seen · 31 lines · 133 tokens per session scan A 53b13e55a1c8

Subscribe to this mod's changes

rulegraph AGENTS.md is an instructions file published in the GitHub repository sandeep-alluru/rulegraph (0 stars, last pushed 18d ago), licensed MIT. It adds 133 tokens to every session, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 80% identical to groundcrew AGENTS.md, differing in 6 lines, and is treated as a copy.

Related

Other instructions, from other repositories

transformers copilot-instructions.md

Copilot instructions for huggingface/transformers, covering copilot-instructions.md guide for hugging face transformers, core project structure, coding conventions for hugging face transformers, copying and inheritance and testing.

huggingface/transformers · 773 tokens

m_flow AGENTS.md

AGENTS.md instructions for FlowElement-xinliuyuansu/m_flow, covering m-flow — developer & agent reference, 1. repository map, extension points, 2. local development and python backend (requires python 3.10 – 3.13).

FlowElement-xinliuyuansu/m_flow · 1,075 tokens

llm-wiki-agent GEMINI.md

Gemini CLI instructions for SamurAIGPT/llm-wiki-agent, covering llm wiki agent — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

SamurAIGPT/llm-wiki-agent · 1,590 tokens

remnic AGENTS.md

AGENTS.md instructions for joshuaswarren/remnic, covering remnic - agent guide, architecture boundaries (non-negotiable), upstream references, adapter implementation rules and openclaw compatibility window.

joshuaswarren/remnic · 31,441 tokens

LeanKG AGENTS.md

AGENTS.md instructions for FreePeak/LeanKG, covering leankg — agent context, build & test, cli quick reference, mandatory: docker mcp project paths and tool discovery prefer-order.

FreePeak/LeanKG · 1,842 tokens

ontology-atlas AGENTS.md

AGENTS.md instructions for wlsdks/ontology-atlas, covering agents.md — ontology-atlas, product and non-negotiable architecture, start here, structure and routes and operating gates and skills.

wlsdks/ontology-atlas · 2,685 tokens