Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Investigate

ASecurity

Investigates a bug or unexpected behavior from reproduction to root cause with a panel of independent hypothesis agents, then fixes it only when the request asks for a fix. Use when invoked explicitly to debug, diagnose, or fix a reported failure.

4 stars
0 votes
0 copies
0 views
Added 9/29/2026
ai-agentsgosecurity

Works with

terminal

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add GeiserX/agent-skills --skill investigate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Investigate?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Investigate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/geiserx-investigate-agent-skills/badge)](https://www.skillsdirectory.com/skills/geiserx-investigate-agent-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: investigate
description: Investigates a bug or unexpected behavior from reproduction to root cause with a panel of independent hypothesis agents, then fixes it only when the request asks for a fix. Use when invoked explicitly to debug, diagnose, or fix a reported failure.
disable-model-invocation: true
---

# investigate

Investigate the reported behavior from reproduction to root cause. Fix it only when the request authorizes a change.

The task is the text given with this invocation.

---

## Authorization

Infer the terminal condition from the request:

- diagnose, explain, audit, or identify cause: investigate and report; do not edit;
- investigate and fix, debug this, resolve, or equivalent change intent: diagnose first, then implement and verify the smallest root-cause fix;
- ambiguity that would materially change behavior: finish the diagnosis, recommend a fix, and ask one focused question before editing.

Read applicable repository instructions and preserve staged, unstaged, untracked, and concurrent user work.

## Reproduce before fixing

1. State the observed behavior, expected behavior, environment, and trigger.
2. Reproduce with the smallest reliable case. Capture exact logs, state transitions, inputs, outputs, and relevant versions without exposing secrets or sensitive data.
3. If reproduction is impossible, identify the missing condition and use the strongest available trace or static evidence. Do not present speculation as a root cause.

## Adaptive hypothesis panel

Scale by uncertainty and blast radius:

- trivial: investigate directly or use 1 specialist;
- modest: 2-3 agents;
- normal: 4-7 agents;
- broad, cross-system, intermittent, security-sensitive, or high-risk: 8-12+ agents.

Choose independent lenses such as execution tracing, debugger/reproduction, data/state, recent history, concurrency, environment/operations, security, architecture, and test gaps. Orthogonality and independence matter more than reaching a count. Launch independent agents concurrently in one dispatch. Never use nested agents.

Tiers: hypothesis investigators run on your default model; the agents that try to falsify the leading hypothesis, and the root-cause synthesis, run on your strongest model. Pin the model on every agent; an unpinned agent inherits whatever the session runs on.

Require competing hypotheses. Each hypothesis must include:

- a causal mechanism and predicted observation;
- evidence for and against;
- a falsifying probe;
- confidence and affected scope.

Run the cheapest discriminating probes first. Update the ranking from observed evidence, not votes.

## Root-cause gate

Call a cause established only when it explains the reproduction, the causal path is evidenced, plausible alternatives have been falsified or bounded, and changing the cause predicts removal of the failure.

Before any authorized fix, add or identify a root-cause test that fails for the demonstrated mechanism, not merely the visible symptom. When a deterministic automated test is impractical, record a repeatable validation procedure and why.

## Fix and verify

For authorized changes:

1. Apply the smallest fix at the causal boundary.
2. Run the root-cause test and focused regression tests.
3. Check adjacent invariants suggested by the blast radius.
4. Use an independent reviewer or verifier for consequential changes; the author does not self-approve.

If evidence disproves the leading hypothesis, return to hypothesis ranking rather than patching symptoms. Do not broaden into unrelated cleanup.

Report reproduction, evidence, hypotheses considered, established root cause and confidence, fix authorization, changed files if any, and fresh verification results.

Attribution

GeiserXGeiserX
View sourceSee grades on GitHubMore from GeiserX →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →