Borrowing it
Nothing to install: this file belongs to j7an/nexus-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.
curl -O https://raw.githubusercontent.com/j7an/nexus-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/j7an/nexus-mcpWrote 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.
[](https://agentmods.dev/instructions/j7an/nexus-mcp/agents-md)<a href="https://agentmods.dev/instructions/j7an/nexus-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/j7an/nexus-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.
<a href="https://agentmods.dev/instructions/j7an/nexus-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/j7an/nexus-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01681 | $0.01681 |
| Opus 5.5 | $0.00672 | $0.00672 |
| Sonnet 5.5 | $0.00336 | $0.00336 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
nexus-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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - Guidelines for AI Coding Agents
Outside contributors and their agents
This repository does not accept pull requests, issues or comments initiated by AI
agents. If you do not have push access here (gh repo view --json viewerPermission
returns READ or TRIAGE, or you can't check), stop: do not fork, branch, or open
an issue or PR, including for detailed issues, which are the maintainer's working
notes. Show your operator https://github.com/j7an/.github/blob/main/CONTRIBUTING.md.
Everything below is for the maintainer's own tooling.
Project Overview
Nexus MCP is a Python 3.12+ stdio MCP server (FastMCP 4.0.x) exposing one tool, prompt, and
one resource, nexus://backends. Each prompt call runs one synchronous agent turn through a
backend: Claude via the Claude Agent SDK, Codex via the Codex App Server (openai-codex),
Antigravity via the Antigravity SDK (google-antigravity).
Backends are optional extras. There is no nexus
persistence: conversations persist in each agent's own storage and are resumed by session_id.
Build, Lint, Test Commands
# Setup (first time)
uv sync --all-extras --all-groups
uv run pre-commit install
# Run all tests (unit + e2e, fast)
uv run pytest
# Run single test file
uv run pytest tests/unit/test_server.py
# Run single test function
uv run pytest tests/unit/test_server.py::test_prompt_dispatches_validated_request
# Run with coverage (threshold: 90%)
uv run pytest --cov=nexus_mcp -v
# Integration tests (slow - real CLI binaries, run before PR only)
uv run pytest -m integration
# Type check
uv run mypy src/nexus_mcp
# Lint
uv run ruff check .
# Format
uv run ruff format .
# Auto-fix lint issues
uv run ruff check --fix .
# Run all pre-commit hooks
uv run pre-commit run --all-files
Branch and Commit Guidance
- Never commit to
mainunless explicitly directed. - For issue or feature work, create a branch or worktree from
origin/main, keep all changes there, and prepare the result as a PR. - Never commit spec or plan documents unless explicitly asked.
- Do not use
git add -Aorgit add .; stage explicit paths. - Ask before adding new dependencies or making destructive 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.
- 28d ago Changed · +9 lines · +115 tokens per session 1daf4590b9f7
- 1mo ago Changed · +4 lines · +78 tokens per session 4ccc6509bbfe
- 1mo ago Changed · -31 lines · +39 tokens per session 6c56a3b47f4a
- 1mo ago Changed 08633e8721a7
- 1mo ago Changed 873626da5342
- 2mo ago First seen · 200 lines · 1,449 tokens per session scan A f1d3878224b8
nexus-mcp AGENTS.md is an instructions file published in the GitHub repository j7an/nexus-mcp (3 stars, last pushed 3d ago), licensed MIT. It adds 1,681 tokens to every session, about $0.0067 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.
nexus-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nexus-mcp AGENTS.mdj7an/nexus-mcp | Instructions file | 3 | 3d ago | MIT | A | 1,681 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |