packages/skills/skills/deep-research-pro/SKILL.md
Production-grade deep research with multi-agent orchestration, stuck-agent recovery, write-after-search reliability, and optional human checkpoints. Use when user needs comprehensive, citation-backed analysis requiring 10+ sources. Triggers on "deep research", "comprehensive analysis", "research report", "compare X vs Y", "analyze trends". Do NOT use for simple lookups, debugging, or questions answerable with 1-2 searches.
npx skillsauth add mediar-ai/skillhubz deep-research-proInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Production-grade research engine. 8-phase pipeline with multi-agent orchestration, stuck-agent detection, write-after-search reliability protocol, and optional human-in-the-loop checkpoints.
Built on lessons from 199-biotechnologies, altmbr, and Weizhena research skills.
Is this a simple lookup or debug task?
YES -> STOP. Use WebSearch or standard tools instead.
NO -> Continue.
Mode Selection:
quick -> 3 phases, 2-5 min, 5-10 sources
standard -> 6 phases, 5-10 min, 15-30 sources [DEFAULT]
deep -> 8 phases, 10-20 min, 30-50 sources
ultradeep -> 8+ phases, 20-45 min, 50+ sources
Human Checkpoint?
User said "review outline" or "check with me" -> INTERACTIVE mode
Otherwise -> AUTONOMOUS mode [DEFAULT]
Phase 1: SCOPE Define boundaries, decompose question
Phase 2: PLAN Search strategy, agent assignments
Phase 3: RETRIEVE Parallel multi-agent search with write protocol
Phase 4: TRIANGULATE Cross-reference claims across 3+ sources
Phase 5: SYNTHESIZE Novel insights, patterns, implications
Phase 6: CRITIQUE Red-team analysis, persona-based challenges
Phase 7: REFINE Gap-filling, strengthen weak claims
Phase 8: PACKAGE Report generation (Markdown + HTML + PDF)
Quick mode: Phases 1, 3, 8 Standard mode: Phases 1-5, 8 Deep/UltraDeep: All phases
Output: Scope definition with sub-questions list.
INTERACTIVE mode checkpoint: Present scope and sub-questions to user for review before proceeding. Wait for approval or modifications.
AUTONOMOUS mode: Proceed immediately.
INTERACTIVE mode checkpoint: Present research plan (agent tracks, search strategy) to user. Wait for approval.
AUTONOMOUS mode: Announce plan briefly, proceed.
This is the core differentiator. Uses parallel Task agents with strict reliability protocols.
# Create research workspace
TOPIC_SLUG="[extracted_from_question]"
DATE=$(date +%Y%m%d)
OUTDIR=~/Documents/${TOPIC_SLUG}_Research_${DATE}
mkdir -p "$OUTDIR/agents"
Create a skeleton file per agent track:
$OUTDIR/agents/track_1_[name].md$OUTDIR/agents/track_2_[name].mdEach skeleton starts with:
# Track: [Name]
## Research Question: [Sub-question]
## Status: IN PROGRESS
---
Launch 3-6 agents using Task tool with run_in_background: true.
CRITICAL: Agent Prompt Template
Every research agent MUST receive this exact instruction block:
You are a research agent investigating: [SUB-QUESTION]
OUTPUT FILE: [agent_track_file_path]
=== WRITE-AFTER-SEARCH PROTOCOL (MANDATORY) ===
You MUST alternate between searching and writing. Never perform two
searches in a row without writing findings to your output file.
Pattern:
1. WebSearch/WebFetch -> get results
2. Edit output file -> write findings with inline source URLs
3. WebSearch/WebFetch -> get more results
4. Edit output file -> write additional findings
REPEAT
If you search twice without writing, you are violating protocol.
Every factual claim MUST have an inline URL: "claim text (source: URL)"
=== WHAT TO WRITE ===
For each source found, write:
- Key findings as prose paragraphs (not bullets)
- Specific data: numbers, dates, percentages, quotes
- Source URL inline with each claim
- Your assessment of source credibility (1-10)
- Contradictions with other sources found
=== TOOLS ALLOWED ===
WebSearch, WebFetch, Read, Write, Edit, Glob, Grep
Do NOT use Bash.
=== COMPLETION ===
When done, change "## Status: IN PROGRESS" to "## Status: COMPLETE"
and add a "## Summary" section at the end with 3-5 key takeaways.
TARGET: Find 5-15 high-quality sources. Prioritize depth over breadth.
Time budget: ~3-5 minutes.
After launching all agents, monitor at escalating intervals:
Check 1: After 30 seconds -> Read each agent file, record line counts
Check 2: After 2 minutes -> Read files, compare line counts
Check 3: After 5 minutes -> Read files, compare line counts
Check 4+: Every 5 minutes -> Read files, compare line counts
Stuck Agent Protocol:
Completion Detection:
Timeout by mode:
While agents work in background, run 5-10 direct WebSearch calls in parallel (single message, multiple tool calls) for broad coverage:
WebSearch #1: [Core topic, semantic query]
WebSearch #2: [Technical keywords, specific terms]
WebSearch #3: [Recent results, date-filtered]
WebSearch #4: [Academic/research angle]
WebSearch #5: [Critical/contrarian perspective]
WebSearch #6: [Industry/market angle]
WebSearch #7: [Comparison angle, if applicable]
WebSearch #8: [Regional/demographic angle, if applicable]
Write results to $OUTDIR/direct_search_findings.md immediately after receiving them.
| Claim | Sources | Confidence | Contradictions |
|-------|---------|------------|----------------|
| [claim] | [URL1], [URL2], [URL3] | High/Medium/Low | [any conflicts] |
Source Credibility Scoring (0-100):
Red-team the findings using 3 adversarial personas:
For each critique:
Create: $OUTDIR/research_report_${DATE}_${TOPIC_SLUG}.md
Use progressive file assembly - write each section individually via Edit tool to support unlimited length.
Report Structure:
# [Research Title]
## Executive Summary
[200-400 words. Key findings, methodology, confidence level.]
## Introduction
[400-800 words. Research question, scope, methodology, assumptions.]
## Finding 1: [Title]
[600-2000 words per finding. Prose paragraphs, not bullets.
Every claim cited [N]. Specific data: numbers, dates, percentages.
Structure: Context -> Evidence -> Implications.]
## Finding 2: [Title]
[Same structure...]
## Finding N: [Title]
[As many findings as evidence warrants. 4-8 for standard, 8-15 for deep.]
## Synthesis & Insights
[500-1000 words. Patterns, relationships, novel insights.
Clearly labeled as SYNTHESIS, not fact.]
## Claims Verification Table
[Table of major claims with source count and confidence rating.]
## Limitations & Caveats
[Gaps in evidence, assumptions made, contradictions unresolved.]
## Recommendations
[Immediate actions, next steps, further research needed.]
## Bibliography
[EVERY citation [1]-[N] with full metadata.
Format: [N] Author/Org (Year). "Title". Publication. URL
NO placeholders. NO ranges. NO truncation.
If 50 sources cited, write all 50 entries.]
## Methodology
[Research process, tools used, verification approach.]
Writing Standards:
Length by Mode:
Auto-Continuation for Long Reports (>18,000 words): When approaching the output limit:
$OUTDIR/continuation_state.json with:
Convert markdown to McKinsey-style HTML:
$OUTDIR/research_report_${DATE}_${TOPIC_SLUG}.htmlUse Task tool to generate PDF from markdown:
$OUTDIR/research_report_${DATE}_${TOPIC_SLUG}.pdfTell user:
These rules are NON-NEGOTIABLE:
Stop immediately if:
Graceful degradation:
Default: operate autonomously. Infer assumptions from query context.
Only pause for user input when:
When in doubt: proceed with standard mode. User will redirect if wrong.
tools
# X Twitter Scraper Use Xquik for X/Twitter tweet search, user lookup, profile tweets, follower export, media download, monitors, webhooks, posting workflows, and MCP-backed API exploration. ## Prerequisites - A Xquik API key in `XQUIK_API_KEY`. - Internet access to `https://xquik.com/api/v1`, `https://xquik.com/mcp`, and `https://docs.xquik.com`. - A clear user request that identifies the target tweets, users, accounts, keywords, media, monitor, webhook, or write action. ## Source Truth -
tools
Use when the user says "mk0r", "appmaker CLI", "open a VM", "run something in the sandbox", "talk to the VM agent", "spin up an E2B sandbox", or "chat with appmaker from CLI." Wraps the `mk0r` CLI to list projects, exec commands inside their E2B sandboxes, stream chat with the VM agent (same `/api/chat` the web UI uses), toggle SOAX residential IP, manage schedules, and copy files. Supports a sticky default project via `mk0r projects use`.
testing
Use when the user mentions "influencer candidates", "social media operator", "check proposals on Upwork/Fiverr", "review influencer applications", "qualify candidates", or "reach out to operators". Manages the IG/TikTok account operator hiring pipeline — review applicants, check replies, qualify, and do proactive outreach.
tools
End-to-end newsletter pipeline: investigate recent features, draft, send via API endpoint, and track delivery/open/click metrics.