rulegraph copilot-instructions.md

rulegraph copilot-instructions.md is an instructions file for GitHub Copilot from sandeep-alluru/rulegraph. It costs 243 tokens per session, scanned A, a copy of groundcrew copilot-instructions.md, MIT.

A set of GitHub Copilot instructions for rulegraph, a project that turns plain-language rules into a game decision system. It documents the code layout, coding rules, tests, and steps for adding output formats or integrations.

In plain words
What is it for?
Use it when changing rulegraph code, adding an output format, adding a framework integration, or running its Python tests and checks.
Why use it?
It gives Copilot project-specific guidance instead of making it infer the rules from the codebase.

Instructions file for GitHub Copilot

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/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/sandeep-alluru/rulegraph

Made for: GitHub Copilot.

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 copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sandeep-alluru/rulegraph/copilot-instructions.svg)](https://agentmods.dev/instructions/sandeep-alluru/rulegraph/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/sandeep-alluru/rulegraph/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/sandeep-alluru/rulegraph/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 243 This file is loaded in full into every session.
When invoked 243 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 81% 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 $0.00243 $0.00243
Opus 5 $0.00121 $0.00121
Sonnet 5 $0.00049 $0.00049
Haiku 4.5 $0.00024 $0.00024

Measured 4d ago against content hash 2e7cc7997c01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rulegraph copilot-instructions.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

81% identical to groundcrew copilot-instructions.md — 8 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.

.github/copilot-instructions.md · 35 lines

What it actually says

GitHub Copilot Instructions — rulegraph

rulegraph: Natural-language rulebook compiler for game arbitration

Module map

src/rulegraph/
├── # TODO: fill in after implementation

Key invariants

  • TODO: document invariants

Code style

  • Python 3.10+, type-annotated, mypy strict mode
  • Ruff lint rules: E W F I UP B S N SIM RUF PT; ignore S101 (assert in tests), N806
  • No print() in library code — use rich.console.Console
  • All public classes and functions must have docstrings
  • Tests use pytest; CLI tests use click.testing.CliRunner

Adding a new output format

  1. Add to_<format>(result) -> str in report.py
  2. Add format name to --format choices in cli.py
  3. Add tests

Adding a new adapter / integration

  1. Create src/rulegraph/instrument_<framework>.py
  2. Export from __init__.py, add to __all__ alphabetically
  3. Add tests
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 · 35 lines · 243 tokens per session scan A 2e7cc7997c01

Subscribe to this mod's changes

rulegraph copilot-instructions.md is an instructions file published in the GitHub repository sandeep-alluru/rulegraph (0 stars, last pushed 18d ago), licensed MIT. It adds 243 tokens to every session, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. It is 81% identical to groundcrew copilot-instructions.md, differing in 8 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