investigate

investigate is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (2,318 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.

Good fit Use it for an issue, failing command, observed symptom, or technical question to verify the exact behavior, constraints, cause, and useful evidence.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/investigate
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,735 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.

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/github.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/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 investigate

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/investigate"><img src="https://agentmods.dev/badge/commands/coleam00/archon/investigate.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 2,318 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.02318
Opus 5.5 $0.00000 $0.00927
Sonnet 5.5 $0.00000 $0.00464
Haiku 4.5 $0.00000 $0.00232

Measured 5d ago against content hash a21369abb562, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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 · 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.

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 · 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. 5d ago Changed a21369abb562
  2. 6d ago Changed · +5 lines e5a15883d6f3
  3. 16d ago Changed · +4 lines 2a2da8eaf87d
  4. 1mo ago Changed · +9 lines fff22951dedd
  5. 1mo ago Changed · +4 lines d3fdd6983530
  6. 1mo 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,735 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,318 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.