investigate

investigate is a skill for Claude Code, Codex from victusfate/scaffold. It costs 85 tokens per session (136 once invoked), scanned A, original, MIT.

A debugging procedure for finding the cause of bugs, failed tests, CI failures, or unexpected behavior before changing code.

In plain words
What is it for?
Use it to investigate failures, make a fix only after evidence supports it, and add a regression test—a test that prevents the same bug from returning.
Why use it?
It reduces guesswork by requiring reproduction, comparison with working code, and testing one possible cause at a time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to investigate failures, make a fix only after evidence supports it, and add a regression test—a test that prevents the same bug from returning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/victusfate/scaffold/investigate
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.

Any agent
npx skills add victusfate/scaffold --skill investigate
Clone the repo
git clone --depth 1 https://github.com/victusfate/scaffold

Made for: Claude Code, Codex.

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/skills/victusfate/scaffold/investigate/github.svg)](https://agentmods.dev/skills/victusfate/scaffold/investigate)
Your own site
<a href="https://agentmods.dev/skills/victusfate/scaffold/investigate"><img src="https://agentmods.dev/badge/skills/victusfate/scaffold/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/skills/victusfate/scaffold/investigate"><img src="https://agentmods.dev/badge/skills/victusfate/scaffold/investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 136 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.00085 $0.00136
Opus 5.5 $0.00034 $0.00054
Sonnet 5.5 $0.00017 $0.00027
Haiku 4.5 $0.00009 $0.00014

Measured 10d ago against content hash 4818ead90e3f, 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 10d 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 · 12 lines

What it actually says

Read and follow the complete skill instructions in skills/investigate.md.

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. 10d ago First seen · 12 lines · 85 tokens per session scan A 4818ead90e3f

Subscribe to this mod's changes

investigate is a skill published in the GitHub repository victusfate/scaffold (6 stars, last pushed 2d ago), licensed MIT. It adds 85 tokens to every session and 136 once invoked, about $0.0003 per session on Opus 5.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-10-06.

Related

Other skills, from other repositories

debug

Systematic root-cause debugging — reproduce, isolate, hypothesize, fix with TDD.

andreibesleaga/GABBE · 20 tokens

Pair Programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

amangit1314/repo-rag · 61 tokens

engineering-workflow

A Chinese-language workflow for reliable software development. It describes exploring the problem, making a plan, using TDD (test-driven development, where tests are written before the code), debugging methodically, reviewing code, and verifying the result.

TencentCloud/Octop · 47 tokens

ai-discover

Read-only discovery step of the auto-improvement loop. One bounded agent turn per cycle reads the focus files (Read/Grep/Glob only, no shell, no subagents) and replies with a JSON array of testable surfaces {file, line, symbol, rule, message, hypothesis}; the spine authors fixes and verifies them. Discovery only — no…

kirodotdev/KiroCrew · 83 tokens

behavior-contract

Bug condition/postcondition formalization as testable Behavior Contracts. Defines invariants that must be preserved across fixes.

a5c-ai/babysitter · 25 tokens

evidence-audit

Evidence-led audit/fix rounds for any codebase in any language. Finds only defects that a runnable proof reproduces on current code, applies the narrowest in-scope patch, verifies with a second proof, promotes high-risk proofs to permanent regression tests, and reports exact validation results. Use whenever the user…

WrongStack/WrongStack · 152 tokens