agentsclimarketplace

Multi model oracle

Skill onfire7777/universal-ai-skills-library/skills/multi-model-oracle

Get a merged answer from a configured multi-model pool. Automatically prompt-engineers the query first, queries available models in parallel, and merges results into one best answer. Use when the user wants a best-effort answer, model comparison, multi-model response, oracle answer, or consensus synthesis.From its SKILL.md

Install
npx -y skills add onfire7777/universal-ai-skills-library --skill multi-model-oracle

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.0 KB, 804 tokens by cl100k_base, as published. Nobody here has run it

Multi-Model Oracle

Query a configured frontier-model pool in parallel, with automatic prompt engineering and intelligent response merging. The pipeline: optimize the prompt, query available models, merge into one best-effort answer.

Models

ModelProviderStrengths
Reasoning modelOpenRouter or configured providerNuanced reasoning, creative depth, multi-perspective analysis
Coding modelOpenRouter or configured providerTechnical precision, breadth, systematic coverage, code
Fast synthesis modelOpenAI-compatible providerEfficient prompt engineering, normalization, and merge synthesis

Quick Start

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "Your question here"

Workflow

Step 1: Determine the Query

Accept the query from the user. It can be any type: code, creative writing, analysis, research, reasoning, practical advice, or general questions.

For long or complex prompts, save to a file first:

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py --file /path/to/prompt.txt

Step 2: Run the Oracle

Standard mode (prompt engineering + parallel query + merge):

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "query"

With individual model responses visible:

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "query" --show-individual

With prompt engineering details visible:

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "query" --show-prompts

Raw mode (skip prompt engineering, send query as-is):

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "query" --raw

Save output to file:

python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py "query" -o result.md

Read query from stdin (pipe input):

echo "Your question" | python3 /home/ubuntu/skills/multi-model-oracle/scripts/oracle.py --stdin

Step 3: Deliver the Result

The merged answer is printed to stdout and optionally saved to a file. Present the merged answer to the user. If --show-individual was used, also share the individual responses for comparison.

Pipeline Stages

Stage 1 - Prompt Engineering: Detects query intent (code, creative, analysis, research, reasoning, practical, general), then uses the configured fast synthesis model to create model-specific prompt variants optimized for each model role.

Stage 1.5 - Parallel Prompt Engineering: The model-specific prompt variants are generated in parallel via ThreadPoolExecutor for faster startup.

Stage 2 - Parallel Query: Sends prompts simultaneously via ThreadPoolExecutor. Each model has retry logic (2 retries with exponential backoff) and 180s timeout. If a model fails, the pipeline continues with remaining models.

Stage 3 - Intelligent Merge: Feeds all successful responses to the configured fast synthesis model with a merge prompt that extracts the strongest elements, resolves contradictions, eliminates redundancy, and produces a unified answer that reads as if from a single expert. Has its own retry logic (2 retries) with concatenation fallback if merge fails.

Stage 4 - Output: Formats the final result with metadata (models used, timing, token counts).

Requirements

  • OPENROUTER_API_KEY environment variable for OpenRouter-backed model roles
  • OPENAI_API_KEY environment variable for OpenAI-compatible synthesis models
  • Python packages: requests, openai

Prompt Engineering Reference

For details on the intent detection patterns, model-specific tailoring, and merge strategy, read references/prompt_engineering.md.

What ships with it: 2 files

32.5 KB alongside SKILL.md, 1 of them executable

references/

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.