shepherdjerred/monorepo/deep-research
Claude Code and agent skill by shepherdjerred/monorepo
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "deep research", "research this topic", "investigate thoroughly", "do a deep dive on", "comprehensive research on", "find everything about", "survey the landscape of", "compare approaches to", "write a report on", "gather information about", or wants multi-source investigation with synthesis and citations. Also triggers on "what are the best practices for", "how do others solve", or "state of the art in" when the user clearly wants breadth and depth beyond a simple answer.
Install
npx vskill@latest install shepherdjerred/monorepo/deep-researchSKILL.md
Deep Research
Conduct thorough, multi-source research on a topic with iterative investigation, cross-verification, and structured synthesis into a cited report.
Overview
Deep research goes beyond a single search query. It decomposes a question into sub-topics, investigates each through multiple sources, identifies gaps, iterates to fill them, and synthesizes findings into a structured report with citations. The process is designed for transparency — the user sees the plan, approves it, and can steer the investigation.
Task Tracking
Use TaskCreate and TaskUpdate throughout the research process to give the user visibility into progress. This is mandatory — do not skip task creation.
- At the start of Phase 2, create a task for each sub-question from the research plan (e.g., "Investigate: [sub-question]"). Use
activeFormto show what's happening in the spinner (e.g., "Investigating [sub-question]"). - At the start of each subsequent phase (Draft, Adversarial Review, Editorial Synthesis, Deliver), create a task for that phase.
- Mark tasks `in_progress` when you begin working on them and
completedwhen done. - For sub-agents, create their tasks before launching them so the user can see parallel work in progress.
Keep task subjects short and specific. The description field should include enough context to understand scope.
Effort Levels
Research intensity is controlled by an effort parameter: low, medium (default), high, or ultra. This acts as an exponential multiplier across the entire process.
| Parameter | Low | Medium | High | Ultra | |
|---|---|---|---|---|---|
| Sub-questions | 3-5 | 5-7 | 8-12 | 15-20 | |
| Parallel agents | 2 | 3-4 | 6-8 | 10+ | |
| Sources per question | ~4 | ~8 | ~15 | ~25+ | |
| Iteration rounds (max) | 2 | 3 | 4 | 6 | |
| Adversarial review | Lightweight (no source verification) | Full | Full + source verification | Full + multiple reviewers + source verification | |
| Output format | Markdown + PDF | Markdown + PDF | Markdown + PDF | Markdown + PDF (detailed) | |
| Report length | 3-5 pages | 6-12 pages | 15-25 pages | 30+ pages |
Determining effort:
- "quick research", "brief overview" → low
- No qualifier (default) → medium
- "thorough", "comprehensive", "deep dive" → high
- "exhaustive", "leave no stone unturned", explicit "ultra" → ultra
- User can also specify explicitly (e.g.,
/deep-research high: topic)
All parameters in the workflow below (sub-question count, agent count, iteration limits, etc.) must follow the effort level table. When launching sub-agents, pass the effort level so they calibrate their depth accordingly.
Core Workflow
Execute these phases in order. Do not skip Phase 1 or Phase 2.
Phase 1: Plan (Interactive)
Before any searching, decompose the user's question:
- Clarify scope — If the query is ambiguous, ask 1-2 focused questions (not more) to narrow down what the user actually needs. Skip if the intent is already clear.
- Decompose into sub-questions — Break the topic into sub-questions per the effort level table. Each should target a distinct angle (e.g., "how does X work?", "what are alternatives to X?", "what do practitioners say about X?").
- Identify source types — For each sub-question, note where to look: official docs, GitHub repos, HN discussions, academic papers, blog posts, Wikipedia, etc.
- Present the plan — Show the user the research plan as a numbered list of sub-questions with source strategies. Ask for approval or modifications before proceeding.
Phase 2: Investigate (Iterative)
For each sub-question, execute this loop:
Search strategy:
- Start with
WebSearchfor broad discovery - Use lightpanda for full page content extraction per global instructions
- Fall back to
WebFetchif lightpanda fails on a particular URL - For detailed search strategies and source evaluation heuristics, read
references/research-patterns.md - Use
Agenttool to parallelize independent sub-question investigations — launch multiple research sub-agents for unrelated sub-questions simultaneously - For GitHub-specific research, use
gh search repos,gh search code, and browse READMEs directly
Source priorities (per user preferences):
- GitHub repositories and READMEs
- Hacker News discussions and comments
- Wikipedia
- Official documentation and first-party sources
- Technical blog posts and articles
- Academic papers (when relevant)
Per-source extraction:
- Extract key claims, data points, and quotes
- Note the source URL and a brief credibility assessment
- Flag disagreements between sources explicitly
Gap analysis after each round:
- List what is now known vs. what remains unanswered
- If significant gaps remain, formulate new search queries targeting those gaps
- Limit iterations to the maximum specified by the effort level table — after reaching the limit, synthesize with what is available and note remaining unknowns
Context management:
- After extracting findings from a source, distill them into bullet points — do not carry full page content forward
- Use a running findings list organized by sub-question
- When context grows large, summarize completed sub-questions to free up space
Phase 2.5: Cross-Agent Reconciliation
When multiple agents investigated overlapping sub-questions, reconcile before drafting:
- Identify contradictions — Compare agent findings on the same topic. Flag any claims where agents disagree.
- Resolve or escalate — For each contradiction:
- If one agent cited a primary source and the other cited a secondary source, prefer the primary
- If both have equal sourcing, do a targeted follow-up search to break the tie
- If unresolvable, note explicitly as contested in the draft
- Merge findings — Create a unified findings list organized by sub-question (not by agent) before proceeding to the draft
Phase 3: Draft Report
Compile findings into a structured markdown draft report:
Synthesis principles:
- Cross-verify claims that appear in multiple sources; note conflicts
- Distinguish between widely-agreed facts and individual opinions
- Lead with what matters most to the user's original question
- Include direct quotes sparingly — only when they are particularly insightful
- Every factual claim should trace to at least one numbered source
Phase 4: Adversarial Review
After drafting the report, perform an adversarial review scaled to the effort level (see effort table: lightweight at low, full at medium, full + source verification at high, full + multiple reviewers at ultra). This is a separate, critical pass whose sole job is to find problems. The adversary has no attachment to the draft — it exists to stress-test it.
Launch a review sub-agent with this mandate:
Act as a skeptical, adversarial reviewer of the following research report. Your job is to find every weakness, not to be polite. Evaluate:1. Factual accuracy — Are any claims unsupported, exaggerated, or contradicted by the cited sources? Are citations used correctly or do they misrepresent the source?2. Missing perspectives — What important angles, counterarguments, or stakeholder viewpoints are absent? What would a knowledgeable critic say is missing?3. Logical gaps — Are there non-sequiturs, unwarranted conclusions, or leaps in reasoning? Does the evidence actually support the takeaways?4. Source quality — Are any sources low-credibility, outdated, or over-relied upon? Is the source diversity sufficient?5. Bias detection — Does the report favor one side without acknowledging trade-offs? Is it selling a conclusion rather than presenting evidence?6. Staleness risk — Are any claims likely outdated given the current date? Are there fast-moving areas where the findings may already be wrong?Return a structured critique with severity ratings (critical / major / minor) for each issue found. Be specific — cite the exact claim or section that is problematic and explain why.
You have access to WebSearch, WebFetch, and Bash (for lightpanda). For any claim you flag aspotentially inaccurate or exaggerated, spot-check it by visiting the cited source URL orsearching for counter-evidence. Do not rely solely on logical analysis — verify at least the3 most critical factual claims directly.
The adversary must NOT:
- Suggest rewording for style or tone
- Praise the report
- Hedge its criticisms
Phase 5: Editorial Synthesis
Take the original draft report and the adversarial critique, and produce the final report. This is an editorial pass, not a rubber stamp.
For each adversarial finding:
| Severity | Action | |
|---|---|---|
| Critical | Must be resolved — correct the claim, add the missing evidence, or remove the unsupported assertion. If resolution requires additional research, do a targeted follow-up search. | |
| Major | Should be resolved — add the missing perspective, strengthen the sourcing, or add a caveat. | |
| Minor | Use judgment — fix if straightforward, otherwise note in Open Questions. |
Editorial principles:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 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 repositoryCheckingpackages/dotfiles/dot_agents/skills/deep-research/SKILL.md
Popularity
- 7-day trend score
- 5
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/shepherdjerred/monorepo/deep-research)