kevinslin/agstack/grok
Claude Code and agent skill by kevinslin/agstack
- community
Checking that the SKILL.md file is still in the repository.
Trace how something works with an investigator subagent and a skeptical reviewer subagent.
Install
npx vskill@latest install kevinslin/agstack/grokSKILL.md
grok
Use this skill when the user asks to deeply understand why a system behaves a certain way, trace an end-to-end flow, explain a confusing interaction, or prove which code path is responsible.
The pattern is two-agent adversarial investigation:
- Investigator: exhaustive evidence gathering and hypothesis testing.
- Reviewer: skeptical validation using 5 Whys until the answer directly addresses the user's question.
Entry Gate
- Restate the exact question being answered.
- Define what would count as a sufficient answer.
- Identify likely evidence classes: source code, docs, tests, logs, runtime behavior, user-visible UI, prior memory, or external system state.
- Spawn exactly two subagents when the tool surface allows it:
- an investigator agent
- a reviewer agent
- Keep the immediate coordination and final answer local. Do not outsource final judgment.
If subagents are unavailable, run the investigator and reviewer roles sequentially yourself and state that limitation.
Investigator Agent
The investigator's job is to prove how the system works, not to produce a plausible explanation.
Prompt the investigator with:
When code changes are allowed only for debugging, tell the investigator to mark them clearly and either revert them before finishing or report exact files for cleanup.
Reviewer Agent
The reviewer does not investigate from scratch unless the investigator's evidence is insufficient. Its job is to attack the answer.
Prompt the reviewer with:
Loop
- Start the investigator first.
- Give the reviewer the investigator's result.
- If the reviewer marks the answer insufficient, send the reviewer objections back to the investigator.
- Repeat until one of these is true:
- the reviewer marks the answer sufficient;
- the remaining gap requires user input or unavailable external state;
- the question is disproven or reframed by evidence.
- Close unused subagents after the loop.
Do not stop after a generic architecture summary. The loop is complete only when the answer explains the observed behavior, identifies the exact producer/consumer boundaries, and accounts for why similar-looking flows do or do not behave the same way.
Final Answer Shape
Lead with the answer, then give the proof trail:
Keep the final concise, but include enough concrete references that the user can audit the claim.
Learning Follow-Up
When the run exposes a reusable agent mistake, missing workflow, or repeated friction, route it through ../ag-learn/SKILL.md after the answer lands. Save a durable learning only when it should change a skill or future workflow.
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 repositoryCheckingactive/grok/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/kevinslin/agstack/grok)