mcp-nexus: Instructions file for Codex

AGENTS.md

mcp-nexus AGENTS.md is an instructions file for Codex, OpenCode from ykq007/mcp-nexus. It costs 159 tokens per session, scanned A, a copy of 1code AGENTS.md, MIT.

Project instructions for mcp-nexus, a software project that uses OpenSpec to manage proposals and plans. OpenSpec is the project's documented process for describing changes, architecture work, and new capabilities before implementation.

In plain words
What is it for?
Use them when planning work, writing a proposal, adding capabilities, changing architecture, or handling major performance or security changes.
Why use it?
They tell an agent when to read the authoritative OpenSpec instructions instead of making assumptions about a large or unclear change.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ykq007/mcp-nexus/agents-md"><img src="https://agentmods.dev/badge/instructions/ykq007/mcp-nexus/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 This file is loaded in full into every session.
When invoked 159 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 100% copy Near-identical to another mod 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.00159 $0.00159
Opus 5.5 $0.00064 $0.00064
Sonnet 5.5 $0.00032 $0.00032
Haiku 4.5 $0.00016 $0.00016

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

Security

Grade A, and why

mcp-nexus 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.

Origin

This is a copy

100% identical to 1code AGENTS.md — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 17 lines

What it actually says

Agent instructions

AGENTS.md is the canonical instruction file for agents working in this repository.

Agent skills

Issue tracker

Issues and specs are tracked in GitHub Issues for ykq007/mcp-nexus. See docs/agents/issue-tracker.md.

Triage labels

Use the canonical Matt Pocock triage labels: needs-triage, needs-info, ready-for-agent, ready-for-human, and wontfix. See docs/agents/triage-labels.md.

Domain docs

This is a multi-context monorepo. Use the root CONTEXT-MAP.md when present to locate package-level CONTEXT.md files and ADRs. See docs/agents/domain.md.

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 Changed · -1 lines · +16 tokens per session 58a82f239e1b
  2. 2mo ago First seen · 18 lines · 143 tokens per session scan A 989371119443

Subscribe to this mod's changes

mcp-nexus AGENTS.md is an instructions file published in the GitHub repository ykq007/mcp-nexus (21 stars, last pushed 2mo ago), licensed MIT. It adds 159 tokens to every session, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to 1code AGENTS.md, differing in 25 lines, and is treated as a copy.

Related

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

mcp-nexus AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-nexus AGENTS.mdykq007/mcp-nexusInstructions file212mo agoMITA159Codex, 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 file143ktodayMITA7,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