Borrowing it
Nothing to install: this file belongs to lidless-labs/cortex-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/lidless-labs/cortex-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/lidless-labs/cortex-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/lidless-labs/cortex-mcp/agents-md)<a href="https://agentmods.dev/instructions/lidless-labs/cortex-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lidless-labs/cortex-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/lidless-labs/cortex-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lidless-labs/cortex-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.00450 | $0.00450 |
| Opus 5.5 | $0.00180 | $0.00180 |
| Sonnet 5.5 | $0.00090 | $0.00090 |
| Haiku 4.5 | $0.00045 | $0.00045 |
Grade A, and why
cortex-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 11d 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.
What it actually says
Repository instructions
GitHub agent attribution
Every issue body, pull request body, and GitHub comment an agent writes or edits on Solomon's behalf in this repository ends with this block. Keep the human author identity. Use the actual model, harness, and client. Credit only work performed, include the provider if a model name is ambiguous, and list each review pass. Report the exact checks and observed results above the block. Credit verification to the model that ran the checks.
Sent on behalf of Solomon by <orchestrator model> via <harness> in <client>
Models used:
- Implementation/build: <model> via <harness>, or none
- Test/verification: <model> via <harness> (checks: listed above), or not run
- Review: <model> via <harness> for each pass, or none
Every agent-written review comment and review summary on Solomon's behalf also includes Review by <model> via <harness> in <client>.
Working on cortex-mcp
Run npm ci after checkout and ./scripts/verify before submitting changes. The script runs the type checker, the offline tests and the build in the same order as CI.
The MCP entry point lives in src/index.ts. src/client.ts wraps the Cortex API. Tool modules live in src/tools/ and are registered by the entry point. Update the README tool table and count when adding or removing a tool.
Keep ordinary tests offline with mocks or loopback servers. Use placeholders in examples. Live tests require an explicitly configured disposable Cortex instance. Test mutations also require CORTEX_TEST_MUTATIONS=true, CORTEX_MODE=write and CORTEX_ALLOW_DESTRUCTIVE=1.
Preserve the read-only default, CORTEX_MODE=write for state changes, CORTEX_ALLOW_DESTRUCTIVE=1 and explicit confirmation for destructive tools, CORTEX_FILE_BASE_DIR for local file analysis, and CORTEX_MAX_FANOUT for bulk analysis. Apply API access checks in the client so both tools and command-line entry points enforce them.
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.
- 11d ago First seen · 26 lines · 450 tokens per session scan A 6fa856c720fc
cortex-mcp AGENTS.md is an instructions file published in the GitHub repository lidless-labs/cortex-mcp (1 stars, last pushed 2d ago), licensed MIT. It adds 450 tokens to every session, about $0.0018 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-11-23.
cortex-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cortex-mcp AGENTS.mdlidless-labs/cortex-mcp | Instructions file | 1 | 2d ago | MIT | A | 450 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |