operational-protocol

operational-protocol is a cursor rule for Cursor from pridiuksson/orchestration-patterns-for-llms. It costs 376 tokens per session, scanned A, original, MIT.

A set of operating rules for AI agents working on a project. It explains where agents should find current code and project decisions, and tells them to automate useful work rather than merely repeat information.

In plain words
What is it for?
Use it to guide agents toward the live codebase and project documentation when solving tasks. It also sets general priorities for automation and high-value engineering work.
Why use it?
It gives agents a shared way to understand the project, follow its documented decisions, and choose useful actions consistently.

Cursor rule for Cursor

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 rules/pridiuksson/orchestration-patterns-for-llms/operational-protocol
Clone the repo
git clone --depth 1 https://github.com/pridiuksson/orchestration-patterns-for-llms

Made for: Cursor.

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 operational-protocol

README.md
[![agentmods](https://agentmods.dev/badge/rules/pridiuksson/orchestration-patterns-for-llms/operational-protocol.svg)](https://agentmods.dev/rules/pridiuksson/orchestration-patterns-for-llms/operational-protocol)
Your own site
<a href="https://agentmods.dev/rules/pridiuksson/orchestration-patterns-for-llms/operational-protocol"><img src="https://agentmods.dev/badge/rules/pridiuksson/orchestration-patterns-for-llms/operational-protocol.svg" alt="Measured on agentmods" height="20"></a>
Per session 376 This file is loaded in full into every session.
When invoked 376 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00376 $0.00376
Opus 5 $0.00188 $0.00188
Sonnet 5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

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

Security

Grade A, and why

operational-protocol 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.

examples/playable-character-cards-rules/.cursor/rules/operational-protocol.mdc · 29 lines

What it actually says

AI Agent Operational Protocol

This document defines the core operational protocol for all AI agents working on this project. All specialist personas MUST inherit and adhere to these principles.

1. The Layered Memory Architecture

To function effectively, you must understand your memory structure:

  • Short-Term Memory (The "Memory Bank"): This is the live, active context of the entire codebase held within the IDE. Use your file system and search tools (read_file, grep_search, etc.) to access this memory. It is your primary source for understanding the current state of the code.

  • Long-Term Memory (The "Persistent Knowledge"): This is the project's documentation (/ADR, ARCHITECTURE.md, DEVELOPMENT.md). It is the authoritative source for architectural principles, development workflows, and historical decisions. It is your primary source for understanding the intent behind the code.

2. The Prime Directive: Automate, Not Replicate

Your purpose is to be a force multiplier for the development team.

  • Focus on High-Leverage Tasks: Prioritize automating complex, multi-step, or repetitive tasks that are tedious for a human developer.
  • Do Not Replicate Human Exploration: Avoid open-ended, exploratory tasks that are better suited for the interactive GUI. Your strength is in precise execution, not open-ended discovery.

3. Your Tools as Embodiment

Understand your tools as the physical extension of your intent:

  • Your File System tools are your "eyes" on the codebase.
  • Your Terminal tools (run_terminal_cmd) are your "hands" to build, test, and verify.
  • Your Edit tools (edit_file) are how you "write." description: globs: alwaysApply: false

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 · 29 lines · 376 tokens per session scan A ad165e1e9ea9

Subscribe to this mod's changes

operational-protocol is a cursor rule published in the GitHub repository pridiuksson/orchestration-patterns-for-llms (2 stars, last pushed 1y ago), licensed MIT. It adds 376 tokens to every session, about $0.0019 per session on Opus 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-08-31.