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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/companion-inc/introspect/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.02875 $0.02875
Sonnet 5 $0.01150 $0.01150
Haiku 4.5 $0.00575 $0.00575

Measured 6d ago against content hash e0a3b9ecefd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 17d ago), licensed MIT. It adds 5,750 tokens to every session, about $0.0287 per session on Opus 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens