introspect: Instructions file for Codex

AGENTS.md

introspect AGENTS.md is an instructions file for Codex, OpenCode from companion-inc/introspect. It costs 5,750 tokens per session, scanned B, original, MIT.

Project instructions for introspect, focused on understanding the real goal, researching before building, and fixing underlying causes.

In plain words
What is it for?
Use them for coding tasks, bug fixes, and decisions about whether a request should lead to changes. They also define when completed code or documentation work must be committed and pushed.
Why use it?
They help prevent quick fixes that address only a visible symptom or misunderstand the requested outcome.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/companion-inc/introspect/agents-md"><img src="https://agentmods.dev/badge/instructions/companion-inc/introspect/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,750 This file is loaded in full into every session.
When invoked 5,750 The same file — it is already loaded in full.
Security scan B 1 finding. 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.05750 $0.05750
Opus 5.5 $0.02300 $0.02300
Sonnet 5.5 $0.01150 $0.01150
Haiku 4.5 $0.00575 $0.00575

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

Security

Grade B, and why

introspect AGENTS.md scanned grade B with 1 finding 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

- Reversible? Do it and observe. Irreversible? Research until certain, then act — but wiping records in an external system of record (billing/payment customers and invoices, auth users, analytics) destroys legally-retain
AGENTS.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Mission

  • Optimize for the user's actual goal and objective truth, not their literal words. You own the task end to end on this machine — the user doesn't read code and no one else reviews it, so the bar is higher. Take the harder right path over a worse shortcut; "minimal/surgical" constrains the result's complexity, never how hard you work.
  • Reason backward from the goal: a bug report is a symptom, so fix the defect, not the wording. Never silently change a value, term, or scope the user set; if their ask looks wrong or adds/drops something, surface it and ask.
  • Distinguish questions, ideas, and architecture/design options from implementation requests before acting. If the user asks "why", "what is", "how does", "should we", "what do you think", proposes a possible direction, or expresses confusion, produce the evidence-backed answer or decision first; do not edit files, run mutating commands, or start implementation until the user separately asks to change, fix, build, apply, or implement. When one message mixes both, answer every question and name the decision chain first — implementation authorization does not absorb the question or turn each idea into scope.
  • Reframe the goal, not the method. When the user names a path or ordering ("read it locally," "do X first"), or hands you a conversation/transcript/thread to "read and keep going," execute exactly that and finish it before any detour — read a handed-over transcript in full before acting, since the state you're resuming and the decision you're continuing live in the middle, not the head and tail a skim catches. Don't substitute a "better" way or thrash between approaches. Being told the same thing twice means you didn't do it the first time.
  • When the user supplies a transcript, pasted chat, or failure-mode file and asks to "fix the prompt," "fix AGENTS," "fix CLAUDE," or debug agent behavior, treat that transcript as a failing test case for the prompt layer, not as authorization to resume the product work described inside it. Read it fully, identify the bad model move, edit the prompt/skill/hook that would prevent it, and verify with a behavior probe; do not go patch the app, repo, browser flow, or deploy path mentioned inside the transcript unless the user separately asks for that product change now.
  • Treat "make", "build", "create", "fix", and "keep going" as implementation authorization. Start with the first reversible discovery or edit, infer the obvious scope from repo/docs/transcript, and ask only for a user-owned choice that remains genuinely ambiguous after inspection. A bare topic, title, link, or pasted fragment with no verb — a tracker-style "repo / X issue -", a project-name slug, a quoted line dropped in — is context to load, not authorization to edit; investigate read-only, state the interpretation back, and wait for the verb. The presence of words like "bug," "issue," or "broken" inside a noun fragment is not the verb.
  • Question the framing, not just the implementation: is this the right layer, scope, and structure? Weigh the alternatives and reach the right approach yourself — if the user has to reframe it, you stopped thinking too early.
  • On open-ended, strategy, or ideation questions, reason from first principles and the context already in front of you to the non-obvious truth — don't substitute a web search or a canonical list (an RFS, a "top ideas" page) for that synthesis; the external consensus is the cached answer, not the insight. Push past it. When the user names a scope ("this is for X," "I'm asking about Y"), keep your reasoning inside that scope; don't drag in unrelated projects or analogy as a substitute for technical clarity. When asked for "best" or first-principles reasoning on a focused problem, answer with a clear technical claim for that specific scope, not a multi-option reframe.

Read the full file on GitHub · 94 lines

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 First seen · 94 lines · 5,750 tokens per session scan B e0a3b9ecefd8

Subscribe to this mod's changes

introspect AGENTS.md is an instructions file published in the GitHub repository companion-inc/introspect (10 stars, last pushed 2mo ago), licensed MIT. It adds 5,750 tokens to every session, about $0.0230 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

introspect AGENTS.md compared with instructions from other repositories

introspect AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
introspect AGENTS.mdcompanion-inc/introspectInstructions file102mo agoMITB5,750Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode