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.
npx agentmods add instructions/rezaho/marsys/ai_agent_guidelinesgit clone --depth 1 https://github.com/rezaho/MARSYSWrote 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/instructions/rezaho/marsys/ai_agent_guidelines)<a href="https://agentmods.dev/instructions/rezaho/marsys/ai_agent_guidelines"><img src="https://agentmods.dev/badge/instructions/rezaho/marsys/ai_agent_guidelines.svg" alt="Measured on agentmods" 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 | $0.01706 | $0.01706 |
| Opus 5 | $0.00853 | $0.00853 |
| Sonnet 5 | $0.00341 | $0.00341 |
| Haiku 4.5 | $0.00171 | $0.00171 |
Grade A, and why
AI_Agent_Guidelines 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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Agent Development Guidelines for MARSYS Repository
These guidelines MUST be followed by any AI agent generating or modifying code within this repository. They complement Contributing_Rules.instructions.md and Framework_Development_Guide.instructions.md. Failure to adhere to these guidelines may result in incorrect, incoherent, or structurally unsound code.
1. Mandatory Pre-computation Analysis & Contextual Understanding
1.1. Vigilant Code Exploration:
- Before modifying any existing file or writing new code that interacts with other modules, an agent MUST thoroughly examine all directly relevant source files.
- If a file A imports a module, class, or function from file B (e.g., from marsys.module_b import MyClass), the agent MUST request to read and understand the relevant sections of file B (e.g., src/module_b.py) before making changes to file A or implementing interactions with MyClass.
- For any task involving a specific class or function, the agent MUST locate its definition and analyze its existing usages (e.g., using list_code_usages) to understand its role, expected inputs/outputs, and interaction patterns.
- Agents MUST utilize tools like read_file, semantic_search, grep_search, and list_code_usages proactively and extensively to gather this understanding. Do NOT rely solely on provided snippets or prior knowledge without verification against the current codebase.
1.2. Assumption Declaration: - If, after diligent effort, certain aspects of the codebase remain unclear or unverified, the agent MUST explicitly state any assumptions made about that code before proceeding. If critical information is missing, the agent SHOULD request clarification.
2. Structured Planning & Architectural Integrity
2.1. Mandatory Pre-Implementation Plan:
- Before generating any code for modifications or new features, an agent MUST formulate and present a concise plan.
- This plan MUST include:
- A list of all files to be created.
- A list of all files to be modified.
- A clear justification for the choice of these files, explicitly referencing the project's established directory structure and module responsibilities (e.g., "New data processing utilities should be in src/utils/data_processing.py, not directly within an agent's file unless strictly local and private to that agent.").
- A brief description of the intended changes or additions for each affected file.
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.
- 4d ago First seen · 94 lines · 1,706 tokens per session scan A 1930a2341e7d
AI_Agent_Guidelines is an instructions file published in the GitHub repository rezaho/MARSYS (23 stars, last pushed 15d ago), licensed Apache-2.0. It adds 1,706 tokens to every session, about $0.0085 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-30.
Other instructions, from other repositories
daydreams CLAUDE.md
Instructions for daydreamsai/daydreams, covering claude.md, common development commands, package management, testing and documentation.
pydantic-ai AGENTS.md
AGENTS.md instructions for pydantic/pydantic-ai, covering your primary responsibility is to the project and its users, gathering context on the task, ensuring the task is ready for implementation, philosophy and requirements of all contributions.
open-multi-agent AGENTS.md
AGENTS.md instructions for open-multi-agent/open-multi-agent, covering agents.md, repository map, commands, working rules and validation by change type.
waku-agent CLAUDE.md
Instructions for ShenSeanChen/waku-agent, covering waku-agent — working conventions, architecture map (file ↔ diagram box), rules and commands.
openfang AGENTS.md
AGENTS.md instructions for RightNow-AI/openfang, a project described as: Open-source Agent Operating System.
fullstack-langgraph-nextjs-agent copilot-instructions.md
Instructions for agentailor/fullstack-langgraph-nextjs-agent, covering ai agent instructions, architecture overview, core agent system, data flow and essential development commands.