mscodebase-intelligence: Command for OpenCode

.opencode/command/README.md

README is a command for OpenCode from ManSio/mscodebase-intelligence. It costs 0 tokens per session (378 once invoked), scanned A, original, MIT.

A set of six repository commands for moving work through research, experiments, audits, attacks, post-mortems, and honest completion. Each command produces a checkable result and guards against a specific false conclusion.

In plain words
What is it for?
Use it to structure an investigation, test a claim, challenge a design, learn from an incident, and report what is actually verified.
Why use it?
It turns good investigation and delivery practices into repeatable procedures that travel with the code. This avoids relying on personal memory or commands stored only on one computer.

Command for OpenCode

Written for OpenCode: installed under .opencode/.

This is ManSio/mscodebase-intelligence's own configuration. It tells OpenCode how to work on mscodebase-intelligence 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 mscodebase-intelligence configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/verification/run_all.py.

Reuse

Borrowing it

Nothing to install: this file belongs to ManSio/mscodebase-intelligence. 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/ManSio/mscodebase-intelligence/main/.opencode/command/README.md
Clone the repo
git clone --depth 1 https://github.com/ManSio/mscodebase-intelligence

Made for: 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 README

README.md
[![agentmods](https://agentmods.dev/badge/commands/mansio/mscodebase-intelligence/readme/github.svg)](https://agentmods.dev/commands/mansio/mscodebase-intelligence/readme)
Your own site
<a href="https://agentmods.dev/commands/mansio/mscodebase-intelligence/readme"><img src="https://agentmods.dev/badge/commands/mansio/mscodebase-intelligence/readme/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 README

Your own site · 80×15
<a href="https://agentmods.dev/commands/mansio/mscodebase-intelligence/readme"><img src="https://agentmods.dev/badge/commands/mansio/mscodebase-intelligence/readme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00378
Opus 5.5 $0.00000 $0.00151
Sonnet 5.5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured 26d ago against content hash c592250ce87e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

README 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 26d 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.

.opencode/command/README.md · 37 lines

What it actually says

Agent command entry points

Six commands, one per phase of the protocol. They are procedures, not prose: each ends in something checkable, and each refuses the specific false conclusion that phase usually produces.

command phase the false conclusion it exists to prevent
/research learn treating a summary of a source as the source
/experiment measure reporting a number with no control that had to fail
/audit verify claims authoring the denominator and getting 100% by construction
/redteam attack shipping because the tests pass
/postmortem learn from failure a fix with no guard, which is a coincidence
/done close honestly a ✅ with no statement of where it was verified

Why they live in the repository

A command file that lives only in ~/.config is lost with the machine, overwritten by a reinstall, and invisible to the next person. These travel with the code they govern, and the gates they invoke (tools/verification/) are versioned in the same commit history. A command pointing at a guard that was never committed would be a procedure that cannot be run by anyone else.

Invoked paths

The gates are called by real path in /experiment, /audit and /done:

python tools/verification/run_all.py
python tools/verification/gates.py --gate population --input '{"population": N, "computed_rate": R}'
python tools/verification/g5_denominator.py

Those paths are relative to the repository root, which is where an agent working in this project already is. A command that names a path which does not exist is worse than no command.

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. 26d ago First seen · 37 lines · 0 tokens per session scan A c592250ce87e

Subscribe to this mod's changes

README is a command published in the GitHub repository ManSio/mscodebase-intelligence (3 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 378 tokens. 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-10-04.