deep-research
This skill should be used when thorough, multi-perspective research with citations is needed. It performs comprehensive research using a diffusion research loop with domain specialization, supporting general web research and specialized domains (geopolitical with GDELT). Auto-detects domain from query or accepts an explicit --domain flag.
What this skill does
<objective> Execute deep, comprehensive research using a multi-agent diffusion loop with domain-aware specialization: 1. Classify query and detect appropriate domain 2. Break down the query into research dimensions using domain config 3. Spawn parallel worker agents appropriate for the domain 4. Synthesize findings into a coherent draft 5. Use domain-specific gap detection to identify missing coverage 6. Iterate until coverage is sufficient 7. Produce a final report with citations in domain-appropriate format </objective> <essential_principles> ## The Diffusion Research Pattern This skill implements **Self-Balancing Test-Time Diffusion** -- starting with a noisy/speculative understanding and iteratively refining through parallel, isolated research workers. 1. **Domain Awareness**: Different research domains require different tools, agents, and evaluation criteria. Auto-detect domain or accept explicit specification. 2. **Worker Isolation**: Each worker receives ONLY their assigned topic. They cannot see other workers' findings, the current draft, or the full brief. This prevents herd behavior. 3. **Gap Detection Objectivity**: Use a separate gap-detector agent (not the orchestrator) to evaluate coverage. This avoids self-evaluation bias. 4. **Conservative Iteration**: Continue if coverage < 70% of core questions or any critical question is unanswered. Stop at diminishing returns. 5. **Quality Over Quantity**: 3-5 well-sourced findings per worker beats 10 weakly-sourced ones. </essential_principles> <domains> ## Available Domains ### General (Default) - **Config**: [references/domains/general.md](./references/domains/general.md) - **Agents**: `deep-research:core:research-worker`, `deep-research:core:gap-detector` - **Tools**: WebSearch, WebFetch ### Geopolitical - **Triggers**: conflict, war, sanctions, bilateral relations, media coverage, GDELT, CAMEO - **Config**: [references/domains/geopolitical.md](./references/domains/geopolitical.md) - **Agents**: Specialized analysts (conflict, sanctions, actors, sentiment, trends) - **Tools**: GDELT MCP tools + WebSearch ### Domain Detection ``` IF query contains (conflict, war, military, sanctions, embargo, bilateral, alliance, media coverage, sentiment, GDELT, CAMEO): → GEOPOLITICAL domain ELSE: → GENERAL domain ``` Override: `/deep-research --domain=geopolitical "query"` </domains> <available_workflows> ## Workflow Variants Load the appropriate workflow for the research mode: | Workflow | When to Use | |----------|-------------| | [references/workflows/quick-research.md](./references/workflows/quick-research.md) | Quick overview, 1 iteration | | [references/workflows/targeted-research.md](./references/workflows/targeted-research.md) | Focused research on specific dimensions | | [references/workflows/background-research.md](./references/workflows/background-research.md) | Autonomous background research | | [references/workflows/geopolitical/conflict-analysis.md](./references/workflows/geopolitical/conflict-analysis.md) | Conflict-specific geopolitical analysis | | [references/workflows/geopolitical/sanctions-research.md](./references/workflows/geopolitical/sanctions-research.md) | Sanctions-focused research | | [references/workflows/geopolitical/narrative-analysis.md](./references/workflows/geopolitical/narrative-analysis.md) | Media narrative analysis | </available_workflows> <algorithm> ## The Research Loop ``` PHASE 0: DOMAIN CLASSIFICATION & REFINEMENT ├── Parse query and detect domain ├── Load domain config from references/domains/ ├── Generate draft research brief ├── Present brief to user via AskUserQuestion (domain, dimensions, depth) ├── Refine based on feedback └── Proceed when confirmed PHASE 1: INITIALIZATION ├── Finalize research brief ├── Select domain-appropriate agents └── Generate initial speculative draft PHASE 2: DIFFUSION LOOP (max 3 iterations) ├── SPAWN WORKERS: 2-5 domain-specific workers in PARALLEL (single message) ├── SYNTHESIZE: Merge findings, resolve contradictions, add citations ├── GAP DETECTION: Launch domain-specific gap-detector └── Decision: CONTINUE (spawn more workers for gaps) or COMPLETE PHASE 3: FINAL REPORT ├── Polish using domain output template from config ├── Compile all sources with descriptions └── Add executive summary ``` **Interactive (default):** Orchestrate directly, can ask questions mid-research. **Background:** Spawn `deep-research:core:research-orchestrator` for autonomous operation. </algorithm> <execution_guide> ## Phase 0: Domain Classification Analyze the query for domain signals. Present a draft research brief with detected domain, proposed dimensions, key questions, and specialist agents (if geopolitical). Validate with user via AskUserQuestion for domain, dimensions, and depth level. ## Phase 1: Spawn Workers Load worker prompt templates from the appropriate domain config file: - **General**: See [references/domains/general.md](./references/domains/general.md) for worker prompt template - **Geopolitical**: See [references/domains/geopolitical.md](./references/domains/geopolitical.md) for specialist agent prompts **Critical**: Spawn ALL workers in a SINGLE message with multiple Task tool calls for true parallel execution. ## Phase 2: Synthesis and Gap Detection After workers return, merge findings into a structured draft with citations. Then launch the domain-specific gap-detector: - **General**: `deep-research:core:gap-detector` - **Geopolitical**: `deep-research:geo:gap-detector-geo` (uses weighted coverage dimensions from domain config) If gaps found, spawn targeted workers for those specific gaps. Maximum 3 iterations. ## Phase 3: Final Report Use domain-specific output template from the domain config file. Save to `research_output/[topic-slug]_[date].md` (or `research_output/geo/` for geopolitical). Required sections: Metadata header, Executive summary, Key findings with sources, Detailed analysis, Methodology note, Complete source list. Additional domain-specific sections are defined in each domain config. </execution_guide> <mid_research_steering> ## Mid-Research Steering | User Says | Action | |-----------|--------| | "Focus more on X" | Add X-related topics to next worker batch | | "Skip Y" | Remove Y from remaining work | | "Go deeper on Z" | Spawn additional worker for Z | | "That's enough" | Skip remaining iterations, produce final report | | "Switch to geopolitical" | Reload domain config, adjust agents | </mid_research_steering> <success_criteria> Research is complete when: - All core questions from the brief are addressed - Coverage score >= 70% (from gap detector) - Key findings are well-sourced (2+ citations each) - Contradictions are noted and explained - Maximum 3 iterations reached Research is NOT complete just because the draft reads well or workers stopped returning new information. Always use the domain-appropriate gap-detector for objective evaluation. </success_criteria>
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.