OBSMCP: Instructions file for Codex

AGENTS.md

OBSMCP AGENTS.md is an instructions file for Codex, OpenCode from nikzdevz/OBSMCP. It costs 559 tokens per session, scanned A, original, MIT.

A set of project instructions for agents working in a shared code-continuity system backed by obsmcp.

In plain words
What is it for?
Use it to orient agents in the repository, inspect recent activity, maintain shared context, and manage project tasks.
Why use it?
It tells agents which project context files and code-structure checks to read before making changes, reducing missed decisions and duplicated investigation.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nikzdevz/obsmcp/agents-md"><img src="https://agentmods.dev/badge/instructions/nikzdevz/obsmcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 559 This file is loaded in full into every session.
When invoked 559 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.00559 $0.00559
Opus 5.5 $0.00224 $0.00224
Sonnet 5.5 $0.00112 $0.00112
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade A, and why

OBSMCP 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 · 42 lines

What it actually says

AGENTS.md

You are operating in a shared multi-model continuity system backed by obsmcp.

Before doing substantive work, read in this order:

  1. .context/PROJECT_CONTEXT.md
  2. .context/CURRENT_TASK.json
  3. .context/HANDOFF.md
  4. .context/DECISIONS.md
  5. .context/BLOCKERS.json
  6. .context/RELEVANT_FILES.json
  7. .context/SESSION_SUMMARY.md
  8. Check if a Code Atlas exists for this project. Call get_code_atlas_status() via MCP or run ctx.bat atlas status from the shell. If the atlas does not exist, call scan_codebase(). For large or first-time scans, scan_codebase() may return a background job instead of a finished atlas; poll get_scan_job() or wait_for_scan_job() until it completes. The Code Atlas documents every file, function, class, feature, and cross-reference in the project — it gives you a complete structural understanding without reading every source file.
  9. For quick orientation: call get_audit_log(limit=10) to see recent activity.
  10. For sprint planning: use bulk_task_ops to batch-create or batch-update tasks.
  11. For token-efficient context: use generate_compact_context_v2(max_tokens=3000) — includes decision chains, dependency map, session info, and recommended semantic lookups.
  12. For low-latency startup or resumed work, use the cached tiered context and delta tools first:
  • generate_context_profile(profile="fast"|"balanced"|"deep"|"handoff"|"recovery")
  • generate_delta_context(...)
  1. When you need targeted understanding instead of rereading large files, use semantic tools first:
  • describe_module(module_path)
  • describe_symbol(symbol_name, module_path?)
  • describe_feature(feature_name)
  • search_code_knowledge(query)
  • get_symbol_candidates(symbol_name) if a symbol name is ambiguous
  • get_related_symbols(entity_key) to expand from one symbol to its neighbors
  1. For dependency overview: use get_blocked_tasks() and validate_dependencies() to check task readiness.

Rules:

  • Do not assume you are the first or only agent.
  • Continue the current task instead of restarting discovery.
  • Preserve continuity notes, blockers, and decisions.
  • When you finish a meaningful chunk, log work to obsmcp.
  • Before you stop, create a handoff for the next model or tool.

Preferred write paths:

  • MCP tools if available
  • ctx.bat if MCP is not available
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 · 42 lines · 559 tokens per session scan A 675c369e3a16

Subscribe to this mod's changes

OBSMCP AGENTS.md is an instructions file published in the GitHub repository nikzdevz/OBSMCP (0 stars, last pushed 6mo ago), licensed MIT. It adds 559 tokens to every session, about $0.0022 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

OBSMCP AGENTS.md compared with instructions from other repositories

OBSMCP AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
OBSMCP AGENTS.mdnikzdevz/OBSMCPInstructions file06mo agoMITA559Codex, 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