research
This skill should be used when the user asks to "find papers", "search academic literature", "find citations", "literature search", "find research on", "what does the literature say about", or any request to search for academic papers across multiple sources.
What this skill does
# Academic Literature Search
Multi-source academic search with deduplication, DOI resolution, and journal filtering.
**Always read `${CLAUDE_SKILL_DIR}/../google-scholar/domain-knowledge.local.md` before presenting results.**
## IRON LAW: Always Use the Script
**NEVER run the sources manually in sequence. ALWAYS use the research script. This is not negotiable.**
```bash
uv run python3 "${CLAUDE_SKILL_DIR}/scripts/research.py" "<query>" [--n 50] [--min-citations N]
```
The script parallelizes all sources and DOI resolution automatically. Doing it manually serializes everything and triples wall time.
## Sources
| Source | Tool | Strength | Default |
|--------|------|----------|---------|
| `scholar lookup` | Keyword/citation-ranked | Finance classics, foundational papers | ✅ |
| `consensus` CLI | Empirical corpus, sorted by citations | Accounting/finance empirical literature | ✅ |
| Paperpile bib | Personal library (`My Library.bib`) | Papers already in your collection | ✅ |
| `scholar search` | NL semantic | Law reviews, conceptual literature | opt-in (`--scholar-search`) |
`scholar search` is opt-in because it shares rate limits with `scholar lookup` and 429s when run in parallel. Add `--scholar-search` when you specifically want semantic/NL results.
## Output Schema
The script outputs a JSON array. Each paper has:
```json
{
"title": "...",
"authors": ["..."],
"year": 2023,
"journal": "...", // original journal label (may be SSRN)
"journal_resolved": "...", // CrossRef-resolved journal (present if SSRN label was resolved)
"doi": "...",
"citations": 150,
"takeaway": "...",
"url": "...",
"sources": ["lookup", "consensus"] // all sources that returned this paper
}
```
## LLM Review Step (After Script)
After running the script, read `${CLAUDE_SKILL_DIR}/../google-scholar/domain-knowledge.local.md` and cross-reference each paper's effective journal (use `journal_resolved` if present, else `journal`) against the trusted list:
- ★ = journal matches trusted list
- Papers in `sources: ["lookup", "consensus"]` (multiple sources) = higher confidence
- Papers from `bib` source = already in user's library (flag with 📚)
### Presentation Format
```
★ [Title](url) — Authors (Year), *Journal*, N citations [sources]
> Takeaway: ...
📚 ★ [Title](url) — Authors (Year), *Journal* [in your library]
> Takeaway: ...
```
Trusted papers first (sorted by citations desc), then non-trusted in a collapsed table.
## Red Flags — STOP If You Catch Yourself:
| Action | Why Wrong | Do Instead |
|--------|-----------|------------|
| **Running sources manually instead of using the script** | Serializes work, triples wall time | `uv run python3 research.py "<query>"` |
| **Using `mcp__consensus__search`** | Rate-limited to 3 results | Script uses CLI binary automatically |
| **Presenting before reading domain-knowledge.local.md** | User expects ★ signals | Read it first, always |
| **Using `journal` field when `journal_resolved` is present** | SSRN label hides real venue | Always prefer `journal_resolved` |
## Common Patterns
```bash
# Standard search
uv run python3 "${CLAUDE_SKILL_DIR}/scripts/research.py" "mandatory disclosure"
# With citation floor
uv run python3 "${CLAUDE_SKILL_DIR}/scripts/research.py" "poison pill" --min-citations 50
# More results from Consensus
uv run python3 "${CLAUDE_SKILL_DIR}/scripts/research.py" "corporate governance" --n 100
# Disable streaming (wait for all sources, output pretty-printed JSON)
uv run python3 "${CLAUDE_SKILL_DIR}/scripts/research.py" "mandatory disclosure" --no-stream
```
## Streaming Mode (default)
Without `--stream`, the script waits for all four sources before emitting anything — Consensus takes ~60s, so fast sources (bib <1s, Scholar ~10s) sit idle.
With `--stream`, the script emits one NDJSON line per event as it happens:
```json
{"event": "source", "source": "bib", "papers": [...]}
{"event": "source", "source": "scholar-lookup", "papers": [...]}
{"event": "source", "source": "scholar-search", "papers": [...]}
{"event": "source", "source": "consensus", "papers": [...]}
{"event": "final", "papers": [...]}
```
- `source` events: raw papers from each source as it completes (may have duplicates across sources)
- `final` event: deduplicated + CrossRef-resolved unified set
Process `source` events as they arrive to present early results; use `final` for the complete deduplicated list. Pass `--no-stream` for batch mode (pretty-printed JSON after all sources complete).
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.