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/sharpninja/mcpserver/agents-mdgit clone --depth 1 https://github.com/sharpninja/McpServerWhat 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.01993 | $0.01993 |
| Opus 5 | $0.00996 | $0.00996 |
| Sonnet 5 | $0.00399 | $0.00399 |
| Haiku 4.5 | $0.00199 | $0.00199 |
Grade A, and why
McpServer 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 yesterday.
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 — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Instructions
Session Start
- Read
AGENTS-README-FIRST.yamlin the repo root for the current API key and endpoints. - For specific operational steps (session bootstrap, session log turn workflow, and helper command sequence), follow
AGENTS-README-FIRST.yaml.
On every subsequent user message:
- Follow
AGENTS-README-FIRST.yamlfor specific operational instructions. - Complete the user's request.
Rules
templates/prompt-templates.yaml(default-marker-prompt) is the source of truth for specific agent instructions.AGENTS-README-FIRST.yamlis the rendered runtime instruction set.- Keep this file focused on durable workspace policy and conventions; avoid duplicating marker-file operational procedures.
- Use helper modules for session log and TODO operations. Do not make raw API calls.
- Persist session log updates immediately after each meaningful change (turn creation, action append, decision, requirement, blocker, file/context update). Do not defer saves.
- Capture rich turn detail: interpretation, response, status, actions (type/status/filePath), contextList, filesModified, designDecisions, requirementsDiscovered, blockers, and relevant processing dialog.
- Follow workspace conventions in
.github/copilot-instructions.mdfor build, test, and architecture guidance. - Use only
pwsh.exefor shell commands and script execution; do not usepowershell.exe. - When you need API schemas, module examples, or compliance rules, load them from
docs/context/or usecontext_search. - Do not fabricate information. If you made a mistake, acknowledge it. Distinguish facts from speculation.
- Prioritize correctness over speed. Do not ship code you have not verified compiles and is logically sound.
- When writing session logs or other audit records, agents must identify themselves accurately using their real agent identity in Pascal-Case. Do not use placeholder, legacy, or misleading sourceType values.
- Never edit YAML by appending, replacing, or removing text lines. Deserialize the complete document into an object, mutate the object, serialize it, and save it. Use
plugins/core/lib-ps/yaml-object-mutation.ps1for PowerShell work.
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.
- yesterday First seen · 155 lines · 1,993 tokens per session scan A 18a62a877a6d
McpServer AGENTS.md is an instructions file published in the GitHub repository sharpninja/McpServer (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 1,993 tokens to every session, about $0.0100 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.
Other instructions, from other repositories
ai-workflow AGENTS.md
Instructions for cunhaax/ai-workflow, covering ai workflow template, rules — non-negotiable, project overview, commands and architecture.
trackly-cli CLAUDE.md
Claude Code instructions for trackly-app/trackly-cli, covering trackly-cli, tech stack, backend production source of truth, directory structure and key commands.
com-example-config-AsyncTestConfig
Instructions for PIsberg/vibetags, covering copilot instructions for asynctestconfig and immutable type.
pupila CLAUDE.md
Instructions for FranRom/pupila, covering claude.md, where things live, stack, run locally and repo layout.
claude-bridge AGENTS.md
Instructions for kadaba/claude-bridge, covering agents.md — using claude-bridge from any ai coding cli, two independent channels, 1. coordination (the conversation), 2. file transfer (the bytes) — same for every tool and workflows.
UsageAtlas AGENTS.md
Instructions for SRX9/UsageAtlas, covering repository guidelines and coding approach.