skills/golem-powers/_archive/research/SKILL.md
Deep web research orchestrator. Routes research tasks to the best backend — internal subagents, CLI agents (Gemini/Cursor), or the researcher subagent. Use when asked to research, investigate, compare, find alternatives, or deep-dive into any topic. Covers web research, company research, code pattern research, and pre-implementation research.
npx skillsauth add etanhey/golems researchInstall 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.
Multi-backend research orchestrator. Routes to the cheapest effective tool for each task.
| Command | Backend | Cost | Sources | Time | Best For |
|---------|---------|------|---------|------|----------|
| /research "topic" | Researcher subagent | $0 (subscription) | 15-25 | 3-5 min | General web research |
| /research --quick "topic" | WebSearch + WebFetch (inline) | $0 | 5-8 | 1-2 min | Quick lookups |
| /research --deep "topic" | Researcher subagent (max depth) | $0 | 40-80 | 10-20 min | Comprehensive research |
| /research --company "name" | Exa company_research | Free credits | 10-15 | 2-3 min | Company/product intel |
| /research --code "pattern" | CLI agents swarm (Gemini) | $0 | N/A | 3-5 min | Code patterns, library comparison |
| /research --paper "topic" | research-paper-analyst agent | $0 | arXiv | 5-10 min | Academic papers |
| /research --audit "repo/code" | CLI agents (Gemini + Cursor) | $0-20/mo | N/A | 5-10 min | Code audit, pre-PR review |
| /research --external "topic" | CLI agents (Gemini) | $0 | Web | 3-5 min | Offload from Opus context |
| /research --unified "topic" --project <name> | Claude Web + Gemini Drive-backed dispatch | $0 | Shared Drive context | 5-15 min | Paired cross-platform research on identical inputs |
--deep or external research dispatch, run /research-prompt-quality (CHECK-FIRST + GROUND). Do not ship flat or redundant prompts.brain_search(query) may already have what you needTask(subagent_type: "researcher", prompt: "Research: {topic}", run_in_background: true)
docs.local/research/[date]-[slug].mdbrain_digest(content) then delete the fileNo subagent — run directly in current context:
WebSearch queries in parallelWebFetch top 3-5 resultsUse when you need a quick answer, not a report.
For job leads, freelance prospects, meeting prep:
company_research_exa(company_name) — get company overviewweb_search_exa("company_name funding team size tech stack") — deeper intelbrain_search("company_name") — check if we've seen them beforeFor library comparison, pattern discovery, architecture decisions:
brain_search("topic") — past decisions?get_code_context_exa("pattern/library") — real code examplesrun.sh gemini "Compare X vs Y for [use case]" — free, detailed analysisrun.sh cursor "Review this code pattern: ..." — GPT-5.2 perspectiveWhen the main Claude Code session is expensive Opus and you want cheap research:
# Gemini does the research, saves to file (FREE)
~/.claude/commands/cli-agents/scripts/run.sh gemini "Research: {full prompt}" docs.local/research/$(date +%Y%m%d)-research.md
Then read the output file. Gemini is free (1K/day) and good for general research.
For comprehensive research matching Claude Web's 463-source depth:
Task(subagent_type: "researcher", prompt: "COMPREHENSIVE deep research on: {topic}. Target 40+ sources. Run 25+ search queries. Cross-reference all claims.", run_in_background: true)
run.sh gemini "Deep research on {topic} — focus on {angle A}" /tmp/research-gemini.md
brain_store the synthesis for future retrievalExtra eyes before PR loop:
run.sh gemini "Review this diff for bugs, security issues, and missed edge cases: $(git diff main..HEAD)" — freerun.sh cursor "Audit this code change: ..." — GPT-5.2 perspectiveUse this when you want Claude Web and Gemini to research the same question against the same Drive-backed context.
python3 skills/golem-powers/research/_shared/drive-paths.py ensure-project-folders <project>
bash skills/golem-powers/research/scripts/unified-dispatch.sh --project <project> --topic "Compare BrainLayer vs Mem0 for long-term memory"
/claude-desktop-research (was /claude-web-research — renamed 2026-04-30; alias active until 2026-05-30)Drive/Research/<project>/context/Drive/Research/<project>/results/R{NN}-claude-desktop-result.md/gemini-researchDrive/Research/<project>/context/Drive/Research/<project>/results/R{NN}-gemini-result.md/research-ab-test without platform guessing.Example:
/research --unified "Compare BrainLayer vs Mem0 for long-term memory" --project brainlayer
Unified mode is successful only when both dispatches reference the same Drive folder ID and produce pre-attributed paired result paths.
| System | How Research Connects |
|--------|----------------------|
| /large-plan | Research phases auto-route here. Plan scaffold includes research tasks per phase |
| /architectural-conformance-audit | Pre-R0 sprint gate: feed the research output through the audit before any sprint hooks fire. Surfaces cited counter-examples vs impl mismatches |
| /gemini-research | Gemini Deep Research and NotebookLM MCP workflows when the task needs notebook-backed synthesis |
| /jobs pipeline | Company research before applying. --company mode |
| Gems pipeline | Research-backed gem discovery via --paper mode |
| Meeting notes | Pre-meeting research on participants/companies |
| PR loops | Pre-PR code audit via --audit mode |
| BrainLayer | All research results stored for future retrieval |
| Backend | Cost | Limit | |---------|------|-------| | WebSearch/WebFetch | $0 (included in subscription) | Unlimited | | Exa | Free credits (2K one-time) | Then $5/1K | | Gemini CLI | $0 | 1K requests/day | | Researcher subagent | $0 (subscription) | Context window | | Cursor CLI | $20/mo (Cursor Pro) | Unlimited | | research-paper-analyst | $0 (subscription) | Context window |
Default stack is 100% free: WebSearch + Exa free credits + Gemini CLI.
| Type | Location |
|------|----------|
| Quick research | Inline (no file) |
| Standard research | /tmp/research-[slug].md (ephemeral) |
| Worth keeping | docs.local/research/[date]-[slug].md |
| BrainLayer | Auto-stored via brain_store |
When n8n orchestrator is set up (packages/orchestrator), add:
Template exists: n8n deep research workflow
tools
The human-eval UX contract for Phoenix views: turn-by-turn scrollable replay (not a scorecard), hide-but-copyable IDs, collapsed thinking, identity chips, tool filters, tiny frozen starter datasets, mark-wrong-in-thread, mobile-first. Use when: building or reviewing ANY Phoenix/eval view, annotation UI, session replay, or human-grading surface. Triggers: phoenix view, eval UI, annotation view, session replay, human eval UX, grading interface. NOT for: Phoenix data pipelines/ingest (capture scripts have their own specs).
tools
macOS systems specialist — AppKit NSPanel architecture, launchd services, socket activation, MCP bridge resilience, syspolicyd, and high-frequency SwiftUI dashboards. Use when building menu-bar apps, LaunchAgents, debugging syspolicyd/Gatekeeper/TCC, resilient UDS/MCP bridges, or SwiftUI dashboards at 10Hz+.
development
Bulk LLM-judging protocol for fleet-dispatched verdict runs (KG cluster, eval harness). Use when: dispatching or running judge workers (J1/J2/RT), planning bulk-apply from verdict JSONL, or triaging evidence_degraded outputs. Triggers: judge fleet, bulk judge, R3 verdicts, kg-judge, RT gate, evidence_degraded. NOT for: single-item code review, Phoenix view UX (use phoenix-human-view), or non-judge eval pipelines.
development
Quiet-down protocol for sprint close: when the fleet wraps, delete ALL polling crons and monitors, send ONE final dashboard + ONE message, then go SILENT. Use when: fleet wraps, all workers done, overnight queue exhausted, sprint close, Etan asleep/away with nothing approved left. Triggers: fleet wrap, wrap the fleet, stand down, going quiet, sprint close. NOT for: mid-sprint monitoring (keep your loops), spawning a successor (use /session-handoff first).