misp-mcp: Instructions file for Codex

AGENTS.md

misp-mcp AGENTS.md is an instructions file for Codex, OpenCode from lidless-labs/misp-mcp. It costs 1,059 tokens per session, scanned A, original, MIT.

Repository instructions for misp-mcp, including how agents should work in the project and what counts as finished. They require agents to read project guidance, safety rules, and notes from earlier sessions before substantial changes.

In plain words
What is it for?
Starting work safely, checking the repository's build and test commands, reporting results, and recording useful session knowledge.
Why use it?
They make the work repeatable and provide evidence that tests and other required checks actually passed. They also require durable knowledge to be handed off between sessions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is lidless-labs/misp-mcp's own configuration. It tells Codex and OpenCode how to work on misp-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 misp-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lidless-labs/misp-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/lidless-labs/misp-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/lidless-labs/misp-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 misp-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lidless-labs/misp-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/lidless-labs/misp-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lidless-labs/misp-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lidless-labs/misp-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 misp-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lidless-labs/misp-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lidless-labs/misp-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,059 This file is loaded in full into every session.
When invoked 1,059 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01059 $0.01059
Opus 5.5 $0.00424 $0.00424
Sonnet 5.5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

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

Security

Grade A, and why

misp-mcp 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 2mo 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.

AGENTS.md · 76 lines

How it starts

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

AGENTS.md - Working In This Repo

This repo is Brigade-wired. These are the operating rules for any agent working here.

Every Session

For substantial work, first gather context:

  1. Read this file - operating rules and the memory handoff contract.
  2. Read the repo's README and CONTRIBUTING (if present) for build, test, and style expectations.
  3. Skim your harness's handoff inbox (.codex/memory-handoffs/) for recent notes from other sessions.
  4. Read SAFETY_RULES.md once. Hard boundaries.

For tiny read-only commands, do the command directly and avoid loading unrelated context. Do not ask permission for normal context gathering.

Definition of Done

Before you report work as complete:

  1. Run the project's checks (tests, linters, type checks, build). If you do not know them, look in README, CONTRIBUTING, pyproject.toml / package.json, or the CI config before guessing.
  2. Report the actual result. Never claim success you did not observe; paste the command you ran and its output.
  3. If a check could not run, say so and name the blocker instead of guessing.
  4. If the session produced durable knowledge, confirm a Memory Handoff was written (see below).

Memory Owner

The configured memory owner is codex. Side harnesses may keep local session context, but durable knowledge must be written as a Memory Handoff in your harness's own inbox (.codex/memory-handoffs/). The memory owner ingests those handoffs into canonical durable memory; reviewed repo-local notes land under .learnings/.

If you are not the memory owner, do not edit SAFETY_RULES.md, rules/, or .learnings/ as canonical memory unless the user explicitly asks for that file edit. Do not create a second canonical memory system.

Memory Handoff (Mandatory)

If a session discovers durable knowledge - architecture decisions, workflow changes, non-obvious fixes, setup gotchas, security findings, reusable commands, durable research, or user preferences - create a handoff at the end of the task.

Read the full file on GitHub · 76 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. 2mo ago First seen · 76 lines · 1,059 tokens per session scan A c8fdd21db7c2

Subscribe to this mod's changes

misp-mcp AGENTS.md is an instructions file published in the GitHub repository lidless-labs/misp-mcp (2 stars, last pushed 8d ago), licensed MIT. It adds 1,059 tokens to every session, about $0.0042 per session on Opus 5.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.

Related

misp-mcp AGENTS.md compared with instructions from other repositories

misp-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
misp-mcp AGENTS.mdlidless-labs/misp-mcpInstructions file28d agoMITA1,059Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode