Borrowing it
Nothing to install: this file belongs to mettamatt/code-reasoning. 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/mettamatt/code-reasoning/main/AGENTS.mdgit clone --depth 1 https://github.com/mettamatt/code-reasoningWrote 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/mettamatt/code-reasoning/agents-md)<a href="https://agentmods.dev/instructions/mettamatt/code-reasoning/agents-md"><img src="https://agentmods.dev/badge/instructions/mettamatt/code-reasoning/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/mettamatt/code-reasoning/agents-md"><img src="https://agentmods.dev/badge/instructions/mettamatt/code-reasoning/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.00438 | $0.00438 |
| Opus 5.5 | $0.00175 | $0.00175 |
| Sonnet 5.5 | $0.00088 | $0.00088 |
| Haiku 4.5 | $0.00044 | $0.00044 |
Grade A, and why
code-reasoning 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- code-reasoning CLAUDE.md — 89% identical, 4 lines differ
What it actually says
AGENTS.md (Coding Assistant Brief)
This file provides guidance to Codex CLI when working with code in this repository.
Naming Convention Note
This project was originally forked from the Sequential Thinking MCP Server but has been renamed to Code Reasoning MCP Server to better reflect its specialized focus on programming tasks. The tool has been renamed from "sequentialthinking" to "code-reasoning" for consistency. All configuration must use "code-reasoning" as the key - the "sequential-thinking" configuration key is not supported. The class previously named "SequentialThinkingServer" has been renamed to "CodeReasoningServer" for consistency.
Build/Test/Lint Commands
- Build:
npm run build - Start:
npm run start,npm run debug - Test:
npm run test(runs ESLint) - Lint:
npm run lint,npm run lint:fix - Format:
npm run format,npm run format:check - Validation:
npm run validate(runs format, lint:fix, and build)
Code Style Guidelines
- Parameters: snake_case (e.g.,
thought_number, notthoughtNumber) - Imports: ES Modules with .js extension
- Types: Strict TypeScript with explicit types; avoid
anywhere possible - Error Handling: Use structured logging with Logger class
- Logging: Use logger.error/info/debug instead of console.log
- Formatting: Prettier with singleQuotes, tabWidth: 2, printWidth: 100
- Variables: Use descriptive names, camelCase for variables/functions
Always run npm run lint and npm run format before committing changes.
Documentation Locations
- Main documentation: README.md
- Detailed examples: docs/examples.md
- Configuration options: docs/configuration.md
- Prompt system: docs/prompts.md
- Testing framework: docs/testing.md
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.
- 2mo ago First seen · 37 lines · 438 tokens per session scan A da3b342a7770
code-reasoning AGENTS.md is an instructions file published in the GitHub repository mettamatt/code-reasoning (257 stars, last pushed 9mo ago), licensed MIT. It adds 438 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-08-30.
code-reasoning AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-reasoning AGENTS.mdmettamatt/code-reasoning | Instructions file | 257 | 9mo ago | MIT | A | 438 | 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 | yesterday | 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 |