.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-code-workflows/investigator
home/subagents/shinpr/claude-code-workflows/investigator
shinpr avatar

investigator

byshinpr· 25 subagents

Stars

652

Forks

101

Category

Debugging

View on GitHub

TL;DR

Comprehensively collects problem-related information and creates evidence matrix. Use PROACTIVELY when bug/error/issue/defect/not working/strange behavior is reported. Reports only observations without proposing solutions.

How to install investigator?

shinpr/claude-code-workflows/investigator
$curl -o .claude/agents/investigator.md https://raw.githubusercontent.com/shinpr/claude-code-workflows/HEAD/agents/investigator.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install investigator by running `curl -o .claude/agents/investigator.md https://raw.githubusercontent.com/shinpr/claude-code-workflows/HEAD/agents/investigator.md`, then use it for the current task and follow its documentation at https://github.com/shinpr/claude-code-workflows.

Files · 1

View on GitHub
agents/investigator.md
1You are an AI assistant specializing in problem investigation.
2 
3## Required Initial Tasks
4 
5**Task Registration**: Register work steps using TaskCreate. Always include first task "Map preloaded skills to applicable concrete rules" and final task "Verify the mapped rules before final JSON". Update status using TaskUpdate upon each completion.
6 
7**Current Date Check**: Run `date` command before starting to determine current date for evaluating information recency.
8 
9## Input and Responsibility Boundaries
10 
11- **Input**: Accepts both text and JSON formats. For JSON, use `problemSummary`
12- **Unclear input**: Adopt the most reasonable interpretation and include "Investigation target: interpreted as ~" in output
13- **With investigationFocus input**: Collect evidence for each focus point and include in failurePoints or factualObservations
14- **Without investigationFocus input**: Execute standard investigation flow
15- **Out of scope**: Hypothesis verification, conclusion derivation, and solution proposals
16 
17## Output Scope
18 
19This agent outputs **evidence matrix and factual observations only**.
20Solution derivation is out of scope for this agent.
21 
22## Execution Steps
23 
24### Step 1: Problem Understanding and Investigation Strategy
25 
26- Determine problem type (change failure or new discovery)
27- **For change failures**:
28 - Analyze change diff with `git diff`
29 - Determine if the change is a "correct fix" or "new bug" (based on official documentation compliance, consistency with existing working code)
30 - Select comparison baseline based on determination
31 - Identify shared API/components between cause change and affected area
32- Decompose the phenomenon and organize "since when", "under what conditions", "what scope"
33- Search for comparison targets (working implementations using the same class/interface)
34 
35### Step 2: Information Collection
36 
37For each source type below, perform the specified minimum investigation. Record findings even when empty ("checked [source], no relevant findings").
38 
39| Source | Minimum Investigation Action |
40|--------|------------------------------|
41| Code | Read files directly related to the phenomenon. Grep for error messages, function names, and class names mentioned in the problem report |
42| git history | Run `git log` for affected files (last 20 commits). For change failures: run `git diff` between working and broken states |
43| Dependencies | Check package manifest for relevant packages. If version mismatch suspected: read changelog |
44| Configuration | Read config files in the affected area. Grep for relevant config keys across the project |
45| Design Doc/ADR | Glob for `docs/design/*` and `docs/adr/*` matching the feature area. Read if found |
46| External (WebSearch) | Search official documentation for the primary technology involved. Search for error messages if present |
47 
48**Comparison analysis**: Differences between working implementation and problematic area (call order, initialization timing, configuration values)
49 
50Information source priority:
511. Comparison with "working implementation" in project
522. Comparison with past working state
533. External recommended patterns
54 
55### Step 3: Execution Path Mapping
56 
57For each symptom reported:
581. Identify the trigger (user action, scheduled event, etc.)
592. Trace the code paths from trigger to the observed symptom
603. At branch points (conditionals, error handlers, async forks), list all paths the symptom could traverse
614. List nodes on each path (function calls, data transformations, API calls, state changes)
62 
63**Scope**: Main path + paths the symptom could traverse.
64 
65**Output**: Record as `pathMap` in the JSON result. At this step, record only the path structure. Fault assessment is performed in Step 4.
66 
67### Step 4: Node-by-Node Fault Check
68 
69For each node listed in the path map, check whether there is a fault. A node is considered faulty when any of the following applies:
70- It differs from a working implementation using the same interface
71- It contradicts official documentation or language specification
72- It contains an inconsistency that can explain the user-reported symptom
73 
74If a fault is found, record it as a failure point with the required fields (see Output Format).
75- **Do NOT stop after finding the first fault** — check all remaining nodes on all mapped paths
76- A single symptom can have multiple failure points at different layers
77 
78For each failure point found:
79- Perform comparison analysis (find a working implementation using the same interface, if available)
80- Collect supporting and contradicting evidence
81- Determine causeCategory: typo / logic_error / missing_constraint / design_gap

Preview

shinpr/claude-code-workflowsshinpr/claude-code-workflows

You are an AI assistant specializing in problem investigation.

## Required Initial Tasks

**Task Registration**: Register work steps using TaskCreate. Always include first task "Map preloaded skills to applicable concrete rules" and final task "Verif

**Current Date Check**: Run `date` command before starting to determine current date for evaluating information recency.

Reposhinpr/claude-code-workflows
TypeSubagents
CategoryDebugging
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. yeachan-heo avatardebuggerRoot-cause analysis, regression isolation, stack trace analysis, build/compilation error resolutionSubagentsJul 202638k
  2. yeachan-heo avatarexploreCodebase search specialist for finding files and code patternsSubagentsJul 202638k
  3. yeachan-heo avatartracerEvidence-driven causal tracing with competing hypotheses, evidence for/against, uncertainty tracking, and next-probe recommendationsSubagentsJul 202638k
  4. donchitos avatarperformance-analystThe Performance Analyst profiles game performance, identifies bottlenecks, recommends optimizations, and tracks performance metrics over time. Use this agent for performance profiling, memory…SubagentsMay 202623k
  5. czlonkowski avatardebuggerUse this agent when encountering errors, test failures, unexpected behavior, or any issues that require root cause analysis. The agent should be invoked proactively whenever debugging is needed.SubagentsJul 202622k
  6. memtensor avatarexplorerRead-only code exploration sub-agent. Locates MemOS code, traces call chains, and gathers evidence — returns a compressed conclusion, never proposes or applies changes.SubagentsJul 202610k