mcp: Instructions file for Codex

AGENTS.md

mcp AGENTS.md is an instructions file for Codex, OpenCode from tabnas/mcp. It costs 7,369 tokens per session, scanned C, original, MIT.

Project instructions for tabnas/mcp, a TypeScript MCP server and command-line tool with six operations for parsing, validating, testing, and describing plugins. MCP is a standard that lets AI clients call external tools.

In plain words
What is it for?
Use it when developing or reviewing tabnas/mcp, especially its parsing, grammar validation, error explanation, testing, plugin listing, and plugin description operations.
Why use it?
It explains the repository structure, design rules, and security boundary so changes remain consistent with the project's engine and validation behaviour.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is tabnas/mcp's own configuration. It tells Codex and OpenCode how to work on mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ln -s ../../../../parser/ts node_modules/@tabnas/parser.

View source ↗ tabnas/mcp
Reuse

Borrowing it

Nothing to install: this file belongs to tabnas/mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tabnas/mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tabnas/mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tabnas/mcp/agents-md/github.svg)](https://agentmods.dev/instructions/tabnas/mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tabnas/mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/tabnas/mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tabnas/mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/tabnas/mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,369 This file is loaded in full into every session.
When invoked 7,369 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.07369 $0.07369
Opus 5.5 $0.02948 $0.02948
Sonnet 5.5 $0.01474 $0.01474
Haiku 4.5 $0.00737 $0.00737

Measured 1mo ago against content hash 73c8e1556225, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

mcp AGENTS.md scanned grade C with 1 finding 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules
AGENTS.md · 511 lines

How it starts

The opening of the file, as written. The whole thing — 511 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agents Guide — mcp

Core principle: dependencies change only on explicit instruction

Dependencies may only be changed by explicit instruction from the maintainer. This covers every dependency this repository declares, in every runtime and every manifest:

  • package.json dependencies, peerDependencies and devDependencies, and their lockfiles;
  • go.mod require and replace lines, their versions, and go.sum;
  • Cargo.toml dependency tables and Cargo.lock;
  • any other manifest here, nested test modules included.

Adding, removing, re-pointing or re-versioning any of them is a dependency change.

  • A dependency never arrives as a side effect. Watch for an import, go mod tidy, npm install, cargo update, a stamped template, or a fix for something else. If a change would alter a dependency, stop and ask before making it. Do not make it and explain afterwards.
  • An explicit instruction names the change, for example "bump the parser requirement in X to 0.12" or "cascade the parser release". A goal is not an instruction for its means. "Make CI green", "ship the C library" or "fix the build" does not authorise a dependency change, however direct the route through one looks.
  • This repository's own version sites are not dependencies. They include the root entry of its own lockfile. A release bump moves them.
  • Versions track the latest release. Every dependency is kept at its latest published version, and none is held on an older one. That is the maintainer's standing instruction, so moving a dependency to its latest version needs no further one. Holding a dependency back, or adding, removing or re-pointing one, still does.

Core principle: transient tasks report progress

Every transient task produces status output at least every 30 seconds, with an estimate of how far through it is, as a percentage, where one can be made. This is the maintainer's instruction. A transient task is any work that runs for a while and then ends: a build, a test or conformance sweep, an install or a fetch, a release, a wait on CI, a benchmark, a script or loop you write, and anything sent to the background.

Read the full file on GitHub · 511 lines

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. 1mo ago Changed · +2 lines · +54 tokens per session 73c8e1556225
  2. 1mo ago Changed · +1 lines · +9 tokens per session 8a00ef06a578
  3. 1mo ago Changed · +67 lines · +936 tokens per session 2e2fd3de3b4d
  4. 1mo ago Changed · +3 lines · +56 tokens per session 6a0608569c75
  5. 1mo ago Changed · +154 lines · +2,039 tokens per session 2084185208b1
  6. 2mo ago First seen · 284 lines · 4,275 tokens per session scan C 94f11d0f65d5

Subscribe to this mod's changes

mcp AGENTS.md is an instructions file published in the GitHub repository tabnas/mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 7,369 tokens to every session, about $0.0295 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp AGENTS.md compared with instructions from other repositories

mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp AGENTS.mdtabnas/mcpInstructions file01mo agoMITC7,369Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot