Research lookup

From vitaclaw/vitaclaw · View interactive version

Research lookup is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. Look up current research information using Perplexity's Sonar Pro Search or Sonar Reasoning Pro models through OpenRouter. Automatically selects the best model based on query complexity. Search academic papers, recent studies, technical documentation, and general research information with citations.

How to use this skill

Skill file

Research Information Lookup

Overview

This skill enables real-time research information lookup using Perplexity's Sonar models through OpenRouter. It intelligently selects between Sonar Pro Search (fast, efficient lookup) and Sonar Reasoning Pro (deep analytical reasoning) based on query complexity. The skill provides access to current academic literature, recent studies, technical documentation, and general research information with proper citations and source attribution.

When to Use This Skill

Use this skill when you need:

Visual Enhancement with Scientific Schematics

When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.

If your document does not already contain schematics or diagrams:

For new documents: Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.

How to generate schematics:

python scripts/generate_schematic.py "your diagram description" -o figures/output.png

The AI will automatically:

When to add schematics:

For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.


Core Capabilities

1. Academic Research Queries

Search Academic Literature: Query for recent papers, studies, and reviews in specific domains:

Query Examples:
- "Recent advances in CRISPR gene editing 2024"
- "Latest clinical trials for Alzheimer's disease treatment"
- "Machine learning applications in drug discovery systematic review"
- "Climate change impacts on biodiversity meta-analysis"

Expected Response Format:

2. Technical and Methodological Information

Protocol and Method Lookups: Find detailed procedures, specifications, and methodologies:

Query Examples:
- "Western blot protocol for protein detection"
- "RNA sequencing library preparation methods"
- "Statistical power analysis for clinical trials"
- "Machine learning model evaluation metrics"

Expected Response Format:

3. Statistical and Data Information

Research Statistics: Look up current statistics, survey results, and research data:

Query Examples:
- "Prevalence of diabetes in US population 2024"
- "Global renewable energy adoption statistics"
- "COVID-19 vaccination rates by country"
- "AI adoption in healthcare industry survey"

Expected Response Format:

4. Citation and Reference Assistance

Citation Finding: Locate relevant papers and studies for citation in manuscripts:

Query Examples:
- "Foundational papers on transformer architecture"
- "Seminal works in quantum computing"
- "Key studies on climate change mitigation"
- "Landmark trials in cancer immunotherapy"

Expected Response Format:

Automatic Model Selection

This skill features intelligent model selection based on query complexity:

Model Types

1. Sonar Pro Search (perplexity/sonar-pro-search)

2. Sonar Reasoning Pro (perplexity/sonar-reasoning-pro)

Complexity Assessment

The skill automatically detects query complexity using these indicators:

Reasoning Keywords (triggers Sonar Reasoning Pro):

Complexity Scoring:

Practical Result: Even a single strong reasoning keyword (compare, explain, analyze, etc.) will trigger the more powerful Sonar Reasoning Pro model, ensuring you get deep analysis when needed.

Example Query Classification:

✅ Sonar Pro Search (straightforward lookup):

✅ Sonar Reasoning Pro (complex analysis):

Manual Override

You can force a specific model using the force_model parameter:

# Force Sonar Pro Search for fast lookup
research = ResearchLookup(force_model='pro')

# Force Sonar Reasoning Pro for deep analysis
research = ResearchLookup(force_model='reasoning')

# Automatic selection (default)
research = ResearchLookup()

Command-line usage:

# Force Sonar Pro Search
python research_lookup.py "your query" --force-model pro

# Force Sonar Reasoning Pro
python research_lookup.py "your query" --force-model reasoning

# Automatic (no flag)
python research_lookup.py "your query"

Technical Integration

OpenRouter API Configuration

This skill integrates with OpenRouter (openrouter.ai) to access Perplexity's Sonar models:

Model Specifications:

API Requirements:

Academic Mode Configuration:

Response Quality and Reliability

Source Verification: The skill prioritizes:

Citation Standards: All responses include:

Query Best Practices

1. Model Selection Strategy

For Simple Lookups (Sonar Pro Search):

For Complex Analysis (Sonar Reasoning Pro):

Pro Tip: The automatic selection is optimized for most use cases. Only use force_model if you have specific requirements or know the query needs deeper reasoning than detected.

2. Specific and Focused Queries

Good Queries (will trigger appropriate model):

Poor Queries:

3. Structured Query Format

Recommended Structure:

[Topic] + [Specific Aspect] + [Time Frame] + [Type of Information]

Examples:

4. Follow-up Queries

Effective Follow-ups:

Integration with Scientific Writing

This skill enhances scientific writing by providing:

  1. Literature Review Support: Gather current research for introduction and discussion sections
  2. Methods Validation: Verify protocols and procedures against current standards
  3. Results Contextualization: Compare findings with recent similar studies
  4. Discussion Enhancement: Support arguments with latest evidence
  5. Citation Management: Provide properly formatted citations in multiple styles

Error Handling and Limitations

Known Limitations:

Error Conditions:

Fallback Strategies:

Usage Examples

Example 1: Simple Literature Search (Sonar Pro Search)

Query: "Recent advances in transformer attention mechanisms 2024"

Model Selected: Sonar Pro Search (straightforward lookup)

Response Includes:

Example 2: Comparative Analysis (Sonar Reasoning Pro)

Query: "Compare and contrast the advantages and limitations of transformer-based models versus traditional RNNs for sequence modeling"

Model Selected: Sonar Reasoning Pro (complex analysis required)

Response Includes:

Example 3: Method Verification (Sonar Pro Search)

Query: "Standard protocols for flow cytometry analysis"

Model Selected: Sonar Pro Search (protocol lookup)

Response Includes:

Example 4: Mechanism Explanation (Sonar Reasoning Pro)

Query: "Explain the underlying mechanism of how mRNA vaccines trigger immune responses and why they differ from traditional vaccines"

Model Selected: Sonar Reasoning Pro (requires causal reasoning)

Response Includes:

Example 5: Statistical Data (Sonar Pro Search)

Query: "Global AI adoption in healthcare statistics 2024"

Model Selected: Sonar Pro Search (data lookup)

Response Includes:

Performance and Cost Considerations

Response Times

Sonar Pro Search:

Sonar Reasoning Pro:

Cost Optimization

Automatic Selection Benefits:

Manual Override Use Cases:

Best Practices:

  1. Trust the automatic selection for most use cases
  2. Review query results - if Sonar Pro Search doesn't provide sufficient depth, rephrase with reasoning keywords
  3. Use batch queries strategically - combine simple lookups to minimize total query count
  4. For literature reviews, start with Sonar Pro Search for breadth, then use Sonar Reasoning Pro for synthesis

Security and Ethical Considerations

Responsible Use:

Academic Integrity:

Complementary Tools

In addition to research-lookup, the scientific writer has access to WebSearch for:

When to use which tool:

| Task | Tool |

|------|------|

| Find academic papers | research-lookup |

| Literature search | research-lookup |

| Deep analysis/comparison | research-lookup (Sonar Reasoning Pro) |

| Look up DOI/metadata | WebSearch |

| Verify publication year | WebSearch |

| Find journal volume/pages | WebSearch |

| Current events/news | WebSearch |

| Non-scholarly sources | WebSearch |

Summary

This skill serves as a powerful research assistant with intelligent dual-model selection:

Whether you need quick fact-finding or deep analytical synthesis, this skill automatically adapts to deliver the right level of research support for your scientific writing needs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.