peterponyu/oh-my-copilot/sciomc

Claude Code and agent skill by peterponyu/oh-my-copilot

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

[OMCP] Orchestrate parallel scientist agents for comprehensive analysis with AUTO mode

Install

npx vskill@latest install peterponyu/oh-my-copilot/sciomc

SKILL.md

Research Skill

Orchestrate parallel scientist agents for comprehensive research workflows with optional AUTO mode for fully autonomous execution.

Overview

Research is a multi-stage workflow that decomposes complex research goals into parallel investigations:

  1. Decomposition - Break research goal into independent stages/hypotheses
  2. Execution - Run parallel scientist agents on each stage
  3. Verification - Cross-validate findings, check consistency
  4. Synthesis - Aggregate results into comprehensive report

Usage Examples

/omcp:sciomc <goal> # Standard research with user checkpoints
/omcp:sciomc AUTO: <goal> # Fully autonomous until complete
/omcp:sciomc status # Check current research session status
/omcp:sciomc resume # Resume interrupted research session
/omcp:sciomc list # List all research sessions
/omcp:sciomc report <session-id> # Generate report for session
Quick Examples
/omcp:sciomc What are the performance characteristics of different sorting algorithms?
/omcp:sciomc AUTO: Analyze authentication patterns in this codebase
/omcp:sciomc How does the error handling work across the API layer?

Research Protocol

Stage Decomposition Pattern

When given a research goal, decompose into 3-7 independent stages:

markdown
## Research Decomposition
**Goal:** <original research goal>
### Stage 1: <stage-name>
-**Focus:** What this stage investigates
-**Hypothesis:** Expected finding (if applicable)
-**Scope:** Files/areas to examine
-**Tier:** LOW | MEDIUM | HIGH
### Stage 2: <stage-name>
...
Parallel Scientist Invocation

Fire independent stages in parallel via Task tool:

// Stage 1 - Simple data gathering
[Delegate to the scientist agent]
// Stage 2 - Standard analysis
[Delegate to the scientist agent]
// Stage 3 - Complex reasoning
[Delegate to the scientist agent]
Smart Model Routing

CRITICAL: Always pass `model` parameter explicitly!

Task ComplexityAgentModelUse For
Data gatheringscientist (model=haiku)haikuFile enumeration, pattern counting, simple lookups
Standard analysisscientistsonnetCode analysis, pattern detection, documentation review
Complex reasoningscientistopusArchitecture analysis, cross-cutting concerns, hypothesis validation
Routing Decision Guide
Research TaskTierExample Prompt
"Count occurrences of X"LOW"Count all usages of useState hook"
"Find all files matching Y"LOW"List all test files in the project"
"Analyze pattern Z"MEDIUM"Analyze error handling patterns in API routes"
"Document how W works"MEDIUM"Document the authentication flow"
"Explain why X happens"HIGH"Explain why race conditions occur in the cache layer"
"Compare approaches A vs B"HIGH"Compare Redux vs Context for state management here"
Verification Loop

After parallel execution completes, verify findings:

// Cross-validation stage
[Delegate to the scientist agent]

AUTO Mode

AUTO mode runs the complete research workflow autonomously with loop control.

Loop Control Protocol
[RESEARCH + AUTO - ITERATION {{ITERATION}}/{{MAX}}]
Your previous attempt did not output the completion promise. Continue working.
Current state: {{STATE}}
Completed stages: {{COMPLETED_STAGES}}
Pending stages: {{PENDING_STAGES}}
Promise Tags
TagMeaningWhen to Use
[PROMISE:RESEARCH_COMPLETE]Research finished successfullyAll stages done, verified, report generated
[PROMISE:RESEARCH_BLOCKED]Cannot proceedMissing data, access issues, circular dependency
AUTO Mode Rules
  1. Max Iterations: 10 (configurable)
  2. Continue until: Promise tag emitted OR max iterations
  3. State tracking: Persist after each stage completion
  4. Cancellation: /omcp:cancel or "stop", "cancel"
AUTO Mode Example
/omcp:sciomc AUTO: Comprehensive security analysis of the authentication system
[Decomposition]
- Stage 1 (LOW): Enumerate auth-related files
- Stage 2 (MEDIUM): Analyze token handling
- Stage 3 (MEDIUM): Review session management
- Stage 4 (HIGH): Identify vulnerability patterns
- Stage 5 (MEDIUM): Document security controls
[Execution - Parallel]
Firing stages 1-3 in parallel...
Firing stages 4-5 after dependencies complete...
[Verification]
Cross-validating findings...
[Synthesis]
Generating report...
[PROMISE:RESEARCH_COMPLETE]

Parallel Execution Patterns

Independent Dataset Analysis (Parallel)

When stages analyze different data sources:

// All fire simultaneously
[Delegate to the scientist agent]
[Delegate to the scientist agent]
[Delegate to the scientist agent]
Hypothesis Battery (Parallel)

When testing multiple hypotheses:

// Test hypotheses simultaneously
[Delegate to the scientist agent]
[Delegate to the scientist agent]
[Delegate to the scientist agent]
Cross-Validation (Sequential)

When verification depends on all findings:

// Wait for all parallel stages
[stages complete]
// Then sequential verification
[Delegate to the scientist agent]
Concurrency Limit

Maximum 20 concurrent scientist agents to prevent resource exhaustion.

If more than 20 stages, batch them:

Batch 1: Stages 1-5 (parallel)
[wait for completion]
Batch 2: Stages 6-7 (parallel)

Session Management

Directory Structure
.omcp/research/{session-id}/
state.json # Session state and progress
stages/
stage-1.md # Stage 1 findings
stage-2.md # Stage 2 findings
...
findings/
raw/ # Raw findings from scientists
verified/ # Post-verification findings
figures/
figure-1.png # Generated visualizations
...
report.md # Final synthesized report
State File Format
json
{
"id": "research-20240115-abc123",
"goal": "Original research goal",
"status": "in_progress | complete | blocked | cancelled",
"mode": "standard | auto",
"iteration": 3,
"maxIterations": 10,
"stages": [
{
"id": 1,
"name": "Stage name",
"tier": "LOW | MEDIUM | HIGH",
"status": "pending | running | complete | failed",
"startedAt": "ISO timestamp",
"completedAt": "ISO timestamp",
"findingsFile": "stages/stage-1.md"
}
],
"verification": {
"status": "pending | passed | failed",
"conflicts": [],
"completedAt": "ISO timestamp"
},
"createdAt": "ISO timestamp",
"updatedAt": "ISO timestamp"
}
Session Commands
CommandAction
/omcp:sciomc statusShow current session progress
/omcp:sciomc resumeResume most recent interrupted session
/omcp:sciomc resume <session-id>Resume specific session
/omcp:sciomc listList all sessions with status
/omcp:sciomc report <session-id>Generate/regenerate report
/omcp:sciomc cancelCancel current session (preserves state)

Tag Extraction

Scientists use structured tags for findings. Extract them with these patterns:

Finding Tags
[FINDING:<id>] <title>
<evidence and analysis>
[/FINDING]
[EVIDENCE:<finding-id>]
- File: <path>
- Lines: <range>
- Content: <relevant code/text>
[/EVIDENCE]
[CONFIDENCE:<level>] # HIGH | MEDIUM | LOW
<reasoning for confidence level>
Extraction Regex Patterns
javascript
// Finding extraction
const findingPattern = /\[FINDING:(\w+)\]\s*(.*?)\n([\s\S]*?)\[\/FINDING\]/g;
// Evidence extraction
const evidencePattern = /\[EVIDENCE:(\w+)\]([\s\S]*?)\[\/EVIDENCE\]/g;
// Confidence extraction
const confidencePattern = /\[CONFIDENCE:(HIGH|MEDIUM|LOW)\]\s*(.*)/g;
// Stage completion
const stageCompletePattern = /\[STAGE_COMPLETE:(\d+)\]/;
// Verification result
const verificationPattern = /\[(VERIFIED|CONFLICTS):?(.*?)\]/;
Evidence Window

When extracting evidence, include context window:

[EVIDENCE:F1]
- File: /src/auth/login.ts
- Lines: 45-52 (context: 40-57)
- Content:
```typescript
// Lines 45-52 with 5 lines context above/below
```
[/EVIDENCE]
Quality Validation

Findings must meet quality threshold:

Quality CheckRequirement
Evidence presentAt least 1 [EVIDENCE] per [FINDING]
Confidence statedEach finding has [CONFIDENCE]
Source citedFile paths are absolute and valid
ReproducibleAnother agent could verify

Report Generation

Report Template
markdown
# Research Report: {{GOAL}}
**Session ID:** {{SESSION_ID}}
**Date:** {{DATE}}
**Status:** {{STATUS}}
## Executive Summary
{{2-3 paragraph summary of key findings}}
## Methodology
### Research Stages
| Stage | Focus | Tier | Status |
|-------|-------|------|--------|
{{STAGES_TABLE}}
### Approach
{{Description of decomposition rationale and execution strategy}}
## Key Findings
### Finding 1: {{TITLE}}
**Confidence:** {{HIGH|MEDIUM|LOW}}
{{Detailed finding with evidence}}
#### Evidence
{{Embedded evidence blocks}}
### Finding 2: {{TITLE}}
...
## Visualizations
{{FIGURES}}
## Cross-Validation Results
{{Verification summary, any conflicts resolved}}
## Limitations
-{{Limitation 1}}
-{{Limitation 2}}
-{{Areas not covered and why}}
## Recommendations
1.{{Actionable recommendation}}
2.{{Actionable recommendation}}
## Appendix
### Raw Data
{{Links to raw findings files}}
### Session State
{{Link to state.json}}
Figure Embedding Protocol

Scientists generate visualizations using this marker:

[FIGURE:path/to/figure.png]
Caption: Description of what the figure shows
Alt: Accessibility description
[/FIGURE]

Report generator embeds figures:

markdown
## Visualizations
![Figure 1: Description](figures/figure-1.png)
*Caption: Description of what the figure shows*
![Figure 2: Description](figures/figure-2.png)
*Caption: Description of what the figure shows*
Figure Types
TypeUse ForGenerated By
Architecture diagramSystem structurescientist
Flow chartProcess flowsscientist
Dependency graphModule relationshipsscientist
TimelineSequence of eventsscientist
Comparison tableA vs B analysisscientist

Configuration

Optional settings in .claude/settings.json:

json
{
"omc": {
"research": {
"maxIterations": 10,
"maxConcurrentScientists": 5,
"defaultTier": "MEDIUM",
"autoVerify": true,
"generateFigures": true,
"evidenceContextLines": 5
}
}
}

Cancellation

/omcp:cancel

Or say: "stop research", "cancel research", "abort"

Progress is preserved in .omcp/research/{session-id}/ for resume.

Troubleshooting

Stuck in verification loop?

  • Check for conflicting findings between stages
  • Review state.json for specific conflicts
  • May need to re-run specific stages with different approach

Scientists returning low-quality findings?

  • Check tier assignment - complex analysis needs HIGH tier
  • Ensure prompts include clear scope and expected output format
  • Review if research goal is too broad

AUTO mode exhausted iterations?

  • Review state to see where it's stuck
  • Check if goal is achievable with available data
  • Consider breaking into smaller research sessions

Missing figures in report?

  • Verify figures/ directory exists
  • Check [FIGURE:] tags in findings
  • Ensure paths are relative to session directory

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/peterponyu/oh-my-copilot/sciomc/badge)](https://verified-skill.com/skills/peterponyu/oh-my-copilot/sciomc)

Something wrong with this skill or its page? Tell us.