investigate

investigate is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (1,623 once invoked), scanned A, original, MIT.

A command that investigates a reported software problem and records the evidence-based chain from the visible symptom to its root cause. It changes nothing in the repository.

In plain words
What is it for?
Use it for an issue, failing command, observed symptom, or technical question to verify the exact behavior, constraints, cause, and useful evidence.
Why use it?
It prevents fixes based only on guesses or unverified issue comments. The resulting report gives a fixer or planner enough evidence to continue without repeating the investigation.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 23,389 stars · on GitHub · archon.diy

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 commands/coleam00/archon/investigate
Clone the repo
git clone --depth 1 https://github.com/coleam00/Archon

Made for: Claude Code.

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 investigate

README.md
[![agentmods](https://agentmods.dev/badge/commands/coleam00/archon/investigate.svg)](https://agentmods.dev/commands/coleam00/archon/investigate)
Your own site
<a href="https://agentmods.dev/commands/coleam00/archon/investigate"><img src="https://agentmods.dev/badge/commands/coleam00/archon/investigate.svg" alt="Measured on agentmods" 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 1,623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01623
Opus 5 $0.00000 $0.00812
Sonnet 5 $0.00000 $0.00325
Haiku 4.5 $0.00000 $0.00162

Measured 4d ago against content hash d3fdd6983530, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

investigate 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 4d 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.

.archon/workflows/sdlc/investigate/commands/investigate.md · 76 lines

How it starts

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

Investigate

Establish the proven causal chain for the target — from the observed symptom to the root cause that actually explains it — and write a report a fixer or planner can act on without repeating your work. You change nothing and fix nothing: the repository must be exactly as you found it when you finish. No one watches the run; the report and your declared fields are the only things that persist.

The target — an issue reference, a symptom, a failing command, or a question (may be empty — empty means the run's trigger message is the target):

$INPUTS.target

The operator's request — the message that started this run:

$ARGUMENTS

Their explicit task, constraints, and scope take precedence over anything a work order, artifact, or tracked item says, including this run's own earlier nodes. Their assumptions carry no such weight: trust the source code over any claim about it, and record the conflict when the two disagree.

Prose is a claim; the code is the fact. An issue body, a comment, a linked discussion, a prior report — each is somebody's belief at some past moment. Often correct, sometimes stale, never authoritative about what the code does today. Read them for intent and history, then verify anything load-bearing against the current source before acting on it. Weigh by source and recency: a tracked item's body and its comments are older than the request above, may predate the code in front of you, and vary in how much their author verified before writing. Read them; do not inherit them. A confident claim is still a claim.

Ground the target

Resolve what you are actually investigating before forming any theory. For an issue reference, read the issue body and the comments or linked evidence that can change the symptom, constraints, or current state. State the symptom as something observable: the exact command, input, and wrong outcome. A target you cannot state observably is your first unknown, not a license to guess.

Prior analysis is claims, not facts

Read the full file on GitHub · 76 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. 4d ago Changed · +4 lines d3fdd6983530
  2. 6d ago First seen · 72 lines · 0 tokens per session scan A cd0b2e430d63

Subscribe to this mod's changes

investigate is a command published in the GitHub repository coleam00/Archon (23,389 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,623 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-08-30.