Cost aware research

From Steffen025/pai-opencode · View interactive version

Cost aware research is an AI agent skill from the GitHub repository Steffen025/pai-opencode. Comprehensive research and content extraction. USE WHEN research, investigate, extract wisdom, analyze content. For OSINT use OSINT skill.

How to use this skill

Skill file

Customization

Before executing, check for user customizations at:

~/.opencode/PAI/USER/SKILLCUSTOMIZATIONS/Research/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

Research Skill

Comprehensive research, analysis, and content extraction system.

MANDATORY: URL Verification

READ: UrlVerificationProtocol.md - Every URL must be verified before delivery.

Research agents hallucinate URLs. A single broken link is a catastrophic failure.


Voice Notification

When executing a workflow, do BOTH:

  1. Send voice notification:

```bash

curl -s -X POST http://localhost:8888/notify \

-H "Content-Type: application/json" \

-d '{"message": "Running the WORKFLOWNAME workflow from the Research skill"}' \

> /dev/null 2>&1 &

```

  1. Output text notification:

```

Running the WorkflowName workflow from the Research skill...

```

Workflow Routing

Route to the appropriate workflow based on the request.

CRITICAL: For due diligence, company/person background checks, or vetting -> INVOKE OSINT SKILL INSTEAD

Research Modes (Primary Workflows)

Trigger: "standard research", "thorough research", "research X from multiple angles"

Trigger: "extensive research" - REQUIRES USER CONFIRMATION

Deep Content Analysis

Content Retrieval

Specific Research Types

Fabric Pattern Processing

Content Enhancement


Quick Reference

READ: QuickReference.md for detailed examples and mode comparison.

| Trigger | Mode | Agents | Cost | Speed |

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

| "research X" (default) | Quick | 1 Claude | $0 FREE | ~10-15s |

| "standard research" | Standard | 3 (Claude+Gemini+Perplexity) | ~$0.01 | ~15-30s |

| "extensive research" | Extensive | 4-15 (flexible) | ~$0.10-0.50 | ~60-120s |


Integration

Feeds Into

Uses


File Organization

Scratch (temporary work artifacts): ~/.opencode/MEMORY/WORK/{current_work}/scratch/

History (permanent): ~/.opencode/History/research/YYYY-MM/YYYY-MM-DD_[topic]/

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.