ix-infrastructure/ix-claude-plugin/ix-investigate
Claude Code and agent skill by ix-infrastructure/ix-claude-plugin
- community
Checking that the SKILL.md file is still in the repository.
Deep dive into a symbol, feature, or bug. Graph-first, minimal code reads, early stopping when sufficient evidence found.
Install
npx vskill@latest install ix-infrastructure/ix-claude-plugin/ix-investigateSKILL.md
Check command -v ix first. If unavailable, use Grep + Read as fallback.
Argument parsing
Strip --save and any following path token from $ARGUMENTS before resolving the target.
- If
--save <path>is present, setSAVE_PATHto that path. - If
--saveis present without a path, auto-generateix-investigate-<target-slug>.mdin cwd (target slug = the target with spaces and slashes replaced by-). - If
--saveis absent,SAVE_PATHis empty — do not write a file.
Pro check (optional)
Do not run ix briefing — you have already been told. The plugin's UserPromptSubmit hook injects an [ix] Session briefing once per TTL whenever Pro is reachable. Seen one this session? Pro is available; read recentDecisions from it. Not seen one? Skip every [Pro] step. Asking costs a whole turn to learn something already in your context.
Goal
Answer: what is this, how does it connect, and what's the execution path? Stop as soon as those three questions can be answered accurately.
Phase 1 — Locate (always)
If multiple matches: use --kind, --path, or --pick N to resolve. Do not proceed until the entity is unambiguous.
If ix locate returns nothing: try ix text $ARGUMENTS --limit 10 --format llm.
Phase 2 — Explain (always)
Extract: role, importance, caller count, callee count, confidence score.
If the resolved entity is a class or module, also run:
This reveals internal structure (members, sub-components) without reading source.
Orphan check: If fan_in = 0 AND fan_out = 0 in the ix explain output:
- Report: "Symbol is a graph orphan — no detected dependencies. Either the graph needs a refresh (
ix map) or the file has no parseable import/call relationships." - Suggest
ix map --silentfrom the project root as the first step (ix maptakes a directory; it rejects a single file). - Stop here — skip Phases 3–5 unless the user specifically asks for source-level inspection.
Evaluate: Is the explanation sufficient to answer the question?
Stop if: explain gave clear role, purpose, and connection summary → skip to Output.
Phase 3 — Connections (run only if caller/callee detail needed)
Run only the directions you need — not both by default:
Stop if: you now know who uses it and what it depends on.
Phase 4 — Trace (run only if execution flow is unclear)
One trace only. Pick the most representative direction (--upstream or --downstream) based on the question.
Stop if: execution path is now clear.
Phase 5 — Code read (last resort only)
Only if the above steps leave a specific implementation question unanswered:
Read the symbol only — never the full file. If the symbol is a class, read the specific method suspected.
Hard limit: One ix read call maximum. If still unclear after reading, surface the ambiguity to the user rather than reading more.
Phase 6 — Design context [Pro]
If Pro is available and recentDecisions from the briefing is non-empty, check for decisions affecting this symbol:
Include any relevant decisions in the output under Design context.
Output
If confidence < 0.7 in ix output, label those claims as [uncertain] and recommend ix map to refresh.
Save step (only if `SAVE_PATH` is non-empty):
- Write the full output above to
SAVE_PATHusing the Write tool. - Confirm to the user:
Saved to <SAVE_PATH>. - Do not write the file if
--savewas not passed.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ix-investigate/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ix-infrastructure/ix-claude-plugin/ix-investigate)