dtyq/magic/deep-research
Claude Code and agent skill by dtyq/magic
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Read this skill when the user asks for a research report, deep research, industry report, analysis report, whitepaper, or any substantive document deliverable; or when the topic requires multi-source retrieval and cross-validation (competitive analysis, market analysis, industry research, deep dive, landscape survey); or when the user is unsatisfied with the depth of an existing answer. Keyword signals: research, deep research, deep dive, analysis, investigate, report, survey, industry analysis…
Install
npx vskill@latest install dtyq/magic/deep-researchSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as dtyq/magic/deep-research.
Deep Research Skill
Turn vague questions into verifiable, actionable, evidence-backed research outcomes, with polished HTML report as default deliverable.
References (Read On Demand)
Each file maps to an independent condition — combine as needed:
- New research or deepening existing content -> reference/research-workflow.md (full workflow, including gap diagnosis for deepening)
- Delivering an HTML report -> reference/report-template.html (whether new or restructured)
Non-Negotiable Rules
- Plan and confirm before heavy execution: show the plan draft, then use
ask_userunder the interaction rules below. No heavy retrieval before user approval. - Minimize user typing: use interactive questions with useful choices and sensible preference defaults; do not present a text questionnaire or require answer codes.
- Every major claim needs evidence: traceable to sources; include counter-evidence or uncertainty notes.
- Default deliverable is HTML report: follow template rules for structure, citations, and visual quality.
Immediate Actions After Trigger
Step 1: Quick pre-search
Run one web_search call with 2-3 queries in parallel from different angles (e.g. "what is X" + "X current debates" + "X use cases"). No deep reading — just enough to understand the topic's shape and key concerns so the plan and questions are sharper.
Step 2: Output the research plan draft
Include at least: objective and boundary, key question breakdown (3-7), source strategy, deliverable outline, expected depth mode.
Step 3: Send kickoff questions with ask_user
Keep the plan in the assistant message. In one direct ask_user call, include:
- Scope questions (≤3): unresolved choices that genuinely affect this research, customized from the pre-search rather than a fixed template. Reference dimensions (pick what applies): depth / time range / geography / source preference / angle of focus. Omit questions already answered by the user.
- Optional add-ons (exactly 3): cross-domain or adjacent angles surfaced by the pre-search, outside the natural research scope but potentially valuable. Use one
confirmquestion per angle; include only explicitly accepted add-ons. Do not put core research requirements here. - A final
confirmquestion asking whether to begin with the displayed plan and the user's selections. This is separate from the scope questions; omit itsdefaultattribute.
Write questions and options in the user's language. Before the call, briefly explain that deep research takes longer than a quick answer because it involves multiple search rounds and cross-checking.
Step 4: Continue from the user's answer
Let the tool pause and resume the task. Apply the shared interaction rules below before beginning retrieval.
Interaction Rules (New Research, Deepening, and Follow-ups)
- Call
ask_userdirectly as the interactive main agent, never throughrun_sdk_snippet,tool.call, or a subagent. Send the questions as XML inquestions. Omittimeoutby default so the user can take the time needed. Usetimeout=60only for a simple confirm or single-select question where every question has a safe default; never use it for input, multi-question forms, or decisions that materially change the research direction. - Use
confirmfor yes/no,selectfor one choice,multi_selectfor independent choices with suitablemin/max, andinputonly for exact custom text without useful candidates. Each<question>asks one question; its<option>children are candidate answers. Explain option differences briefly. The system adds Other automatically. Set preference defaults to actual answer text, not letter codes; never default to approval to start research or restructure a report. - After calling, wait for the final tool
content; do not poll or start dependent retrieval in the same tool batch. Read the result status, answers in question order, and anyremark. A pending result is not an answer. - An
answeredresult authorizes execution only when the user agrees to begin and any remarks are consistent with that agreement. Apply the chosen scope. If the user requests a revised plan, update it and confirm the revision throughask_userbefore executing it. If a critical answer remains ambiguous, ask only the single most important follow-up. timeout,skipped, tool failure, or a policy skip does not grant approval, even when preference defaults are returned. Without prior explicit authorization, retain the plan, state that research has not started, and stop the dependent step. Do not automatically reissue the card or fall back to a text questionnaire. A refusal to begin also stops execution.- If the user explicitly says to skip questions and proceed with defaults, state assumptions and begin without asking again. Do not equate silence or refusal to execute with this instruction.
- If
ask_useris unavailable or forbidden in the current context (including subagents and non-interactive sources), do not attempt it repeatedly. Continue only when existing authorization and information suffice; otherwise explain the unresolved decision and stop that step. Subagents return unresolved questions to the parent agent. For invalid question arguments, correct them using the tool's error message and retry the direct call.
When User Says "Too Shallow" / "Lacks Evidence" (Scenario B: Deepen Existing Content)
This is deepening mode, not a new report. Enter deepening mode instead of superficial rewriting.
Read reference/research-workflow.md, especially Phase 6's gap diagnosis. Inspect the existing content and the user's feedback, then show a concise deepening plan. In one direct ask_user call, collect only unresolved decisions:
- Biggest gap: insufficient evidence / vague conclusions / missing counterpoints / recommendations that cannot be acted on.
- Focus: data and facts / reasoning and methodology / industry cases and comparisons.
- For an existing HTML report (regardless of origin), use
confirmto ask whether to restructure it using the full deep-research template, unless the user already made this choice. No automatic approval default. - Confirm whether to begin the displayed deepening plan, following the shared interaction rules.
Use selection questions for gaps and focus, allowing multiple choices when appropriate. Do not ask the user to repeat feedback already provided; for example, "too little evidence and vague conclusions" answers the gap question.
If template restructuring is approved, read reference/report-template.html and restructure to it. Otherwise deepen within the existing format. Non-HTML content keeps its format. After approval to begin, retrieve evidence for weak areas and rewrite only affected sections, unless the user approved template restructuring.
Minimal Execution Pseudoflow
Output Style
- Planning and kickoff: concise, friendly, decision-ready
- Report phase: conclusion-first, evidence-transparent, method-reproducible
- Interaction: use
ask_userfor concise, clickable questions; ask more only when needed
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbackend/super-magic/agents/skills/deep-research/SKILL.md
Popularity
- Repository stars
- 5,088
- Repository forks
- 569
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 May 2026, 6 months ago.
Extension points
pluginCustom plugin integration
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/dtyq/magic/deep-research)