investigate

A diagnostic procedure for finding the root cause of a reproducible bug or unexplained failure. It separates reproducing the symptom, testing possible causes, and stating the evidence-backed conclusion.

In plain words
What is it for?
Use it to reproduce failures, compare likely explanations, inspect evidence, and recommend a fix without implementing it unless asked.
Why use it?
It keeps investigation focused and avoids changing code before the actual cause is understood.

Skill for Claude CodeCodex

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 skills/bnet47/codexicon/investigate
Any agent
npx skills add bnet47/codexicon --skill investigate
Clone the repo
git clone --depth 1 https://github.com/bnet47/codexicon

Made for: Claude Code, Codex.

Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 360 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 $0.00030 $0.00360
Opus 5 $0.00015 $0.00180
Sonnet 5 $0.00006 $0.00072
Haiku 4.5 $0.00003 $0.00036

Measured 3d ago against content hash 090c520c755c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

.agents/skills/investigate/SKILL.md · 45 lines

What it actually says

Investigate

Announce: "I'm using investigate to identify the root cause before changing behavior."

1. Define the symptom

Capture the expected behavior, actual behavior, environment, and smallest known failing command or interaction. Preserve the exact error text.

2. Reproduce

Run or create the smallest safe reproduction. If reproduction is impossible, gather the strongest available evidence and label conclusions accordingly; do not claim certainty.

3. Form hypotheses

List two to four plausible causes ranked by likelihood. For each, identify the observation that would confirm or reject it.

4. Isolate

Test one hypothesis at a time with read-only inspection or the smallest reversible diagnostic. Avoid changing several variables together. Keep notes on evidence and eliminate contradicted hypotheses.

5. Conclude

State the root cause in one sentence with the causal chain and evidence. Distinguish the initiating defect from downstream symptoms.

If the user asked only to diagnose, stop here and recommend a fix plus verification. If the user asked to fix, implement the smallest root-cause correction, add a regression test, rerun the original reproduction, then run the relevant full checks.

Report

## Investigation: [symptom]

**Reproduction:** `[command]` — [result]
**Root cause:** [one sentence]
**Evidence:** [observations that isolate it]
**Fix:** [implemented change or recommended correction]
**Verification:** [commands and results, if implemented]
**Uncertainty:** [remaining limitation, or none]
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. 3d ago First seen · 45 lines · 30 tokens per session scan A 090c520c755c

Subscribe to this mod's changes

investigate is a skill published in the GitHub repository bnet47/codexicon (5 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 360 once invoked, about $0.0002 per session on Opus 5. 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-31.

Related

Other skills, from other repositories

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

terraform-skill

Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code…

agentscope-ai/QwenPaw · 62 tokens

xlsx

当电子表格文件是主要输入或输出时使用此技能。这意味着用户想要:打开、读取、编辑或修复现有的 .xlsx、.xlsm、.csv 或 .tsv 文件(例如添加列、计算公式、格式化、制图、清理混乱数据);从头创建新的电子表格或从其他数据源创建;或在表格文件格式之间进行转换。当用户通过名称或路径引用电子表格文件时特别触发——即使是随意提及(如"我下载目录里的 xlsx")——并且想对其进行操作或从中生成内容。也适用于将混乱的表格数据文件(格式错误的行、错位的表头、垃圾数据)清理或重构为规范的电子表格。交付物必须是电子表格文件。当主要交付物是 Word 文档、HTML 报告、独立 Python 脚本、数据库管道或 Google Sheets…

agentscope-ai/QwenPaw · 232 tokens

terraform-cli-setup

Terraform CLI 安装与初始化技能。当用户本地未安装 Terraform 时自动完成安装,确保 terraform 命令可用并能执行 init/validate。不负责 Provider 凭证配置,凭证在实际使用时由 terraform-skill 引导。.

agentscope-ai/QwenPaw · 58 tokens

oma-scholar

Scholarly research companion using Knows sidecar spec (.knows.yaml). Generates, validates, reviews, queries, and compares structured research-paper sidecars, and fetches them from knows.academy. Use for academic literature search, survey synthesis, paper authoring assistance, and peer review with token-efficient…

first-fluke/oh-my-agent · 73 tokens

browser_cdp

通过 Chrome DevTools Protocol (CDP) 连接已运行的浏览器,或扫描本机 CDP 端口,用于远程调试与多工具共享浏览器实例。.

mateaix/mateclaw · 44 tokens