Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check).

Apache-2.0Auto-check passed

Install Ensemble

skills CLI
$ npx skills add opensage-agent/opensage-adk --skill ensemble -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opensage-agent/opensage-adk ensemble --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opensage-agent/opensage-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/opensage/bash_tools/workflow/ensemble .claude/skills/ensemble && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ensemble
GitHub stars
127
Token cost
~362 tokens
SKILL.md length
110 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
Apache-2.0

At a glance

Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check).

  • SKILL.md covers Usage, Common Use Cases and Requires Sandbox
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ensemble is an agent skill from opensage-agent/opensage-adk. Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check). Replaces the legacy agentensemble tool.

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

Example prompts

  • “/ensemble”

What it can do on your machine

Read from SKILL.md and the folder at commit 54d6470. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ensemble loads about 362 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 110 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~362

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opensage-agent/opensage-adk at commit 54d6470, republished under its Apache-2.0 licence (© opensage-agent). 110 words, ~362 tokens.

Download SKILL.mdSave it as .claude/skills/ensemble/SKILL.md (or your agent's skills folder).
name
ensemble
description
Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check). Replaces the legacy agent_ensemble tool.

Ensemble Pattern

Same question, multiple independent subagents (typically with different models), then reduce. Useful when you want N opinions on a high-stakes call and there's no ground truth — e.g. "is this function vulnerable?".

Usage

models = get_available_models()           # pick 2-5 distinct ones
sids = []
for m in chosen_models:
    r = call_subagent(agent_name="X", request=Q, mode="async", model_name=m)
    sids.append(r.session_id)

for sid in sids:
    wait_for_subagent(sid, timeout=...)

# Read each subagent's final reply from your inbox (each async invocation
# posts its result back as kind="result"). Then majority vote / compare.

Key points:

  • mode="async" is required for parallelism. Sync mode serializes the calls.
  • All chosen models must be in get_available_models(). Unregistered → KeyError.
  • Cost scales linearly with N. Don't ensemble cheap-easy queries.
  • Each async result lands in the caller's inbox; read it after wait_for_subagent.

Common Use Cases

  • Vulnerability triage: 3 models say yes, 1 says no → flag for review
  • Code review on subtle correctness questions
  • Disagreement detection between models on the same prompt

Requires Sandbox

None — pure orchestration.

© opensage-agent, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in src/opensage/bash_tools/workflow/ensemble of opensage-agent/opensage-adk.

Open the folder on GitHubat commit 54d6470

Compare with similar skills

Ensemble next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ensemble compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ensemble this skillopensage-agent/opensage-adk127—~362Automated safety check: PassApache-2.0
Parallel Execution Optimizeraffaan-m/ECC274k1 repos~712Automated safety check: PassMIT
Parallel AutomationComposioHQ/awesome-claude-skills77k3 repos~734Automated safety check: PassNone
Reduced Motionthedaviddias/Front-End-Checklist74k—~534Automated safety check: PassMIT
Parallel WebK-Dense-AI/scientific-agent-skills48k1 repos~2.2kAutomated safety check: NotesMIT
Parallel Debuggingwshobson/agents40k1 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Speed up a task by turning it into a dependency graph of parallel lanes with a lane matrix, batched reads and checks, write surfaces isolated by file, worktree, branch, or service, and a final…

    274k GitHub starsUsed in 1 repo~712 tokens
    DevelopmentAuto-check passed
  • Parallel Automation

    ComposioHQ/awesome-claude-skills

    Automate Parallel tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~734 tokens
    Productivity & AutomationAuto-check passed
  • Reduced Motion

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Respect reduced motion preferences.

    74k GitHub stars~534 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Parallel Web

    K-Dense-AI/scientific-agent-skills

    Uses Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring.

    48k GitHub starsUsed in 1 repo~2.2k tokens
    Research & ScienceAuto-check: notes
  • Parallel Debugging

    wshobson/agents

    Debug complex issues using competing hypotheses with parallel investigation, evidence collection, and root cause arbitration.

    40k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Ensembl Database

    davila7/claude-code-templates

    Query Ensembl genome database REST API for 250+ species. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 10 repos~2.1k tokens
    Research & ScienceAuto-check passed

More from opensage-agent/opensage-adk

All 21 skills in this repo
  • Run Fuzzing Campaign

    opensage-agent/opensage-adk

    Run a fuzzing campaign using AFL++ with optional seeds; supports --custommutatorpath (you can write your own custom mutator and use this to execute).

    127 GitHub stars~542 tokensUpdated 2 mo ago
    Auto-check passed
  • Pool

    opensage-agent/opensage-adk

    Run N tasks under a concurrency cap K via a sliding-window worker pool.

    127 GitHub stars~462 tokensUpdated 2 mo ago
    Auto-check passed
  • Create New Tool

    opensage-agent/opensage-adk

    Scaffold a new bashtools Skill under bashtools/newtools/. An agent skill from opensage-agent/opensage-adk.

    127 GitHub stars~302 tokensUpdated 2 mo ago
    Auto-check passed
  • Extract Crashes

    opensage-agent/opensage-adk

    Extract crash inputs from fuzzing output into a target directory.

    127 GitHub stars~215 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Call Paths

    opensage-agent/opensage-adk

    Get a path in the call graph from a source function to a specified destination function in the codebase.

    127 GitHub stars~272 tokensUpdated 2 mo ago
    Auto-check passed
  • Get Callee

    opensage-agent/opensage-adk

    Tool to get the callee of a function in the codebase by function name and file path.

    127 GitHub stars~223 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Ensemble

What does Ensemble do?

Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check). Ensemble is an agent skill from opensage-agent/opensage-adk. Run the same task on multiple agents/models in parallel and reduce the answers (majority vote or disagreement check).

How do I install Ensemble in Claude Code?

Run `npx skills add opensage-agent/opensage-adk --skill ensemble -a claude-code`. Or copy the skill folder (src/opensage/bash_tools/workflow/ensemble in opensage-agent/opensage-adk) into .claude/skills/ensemble in your project. Claude Code loads it when a task matches its description.

How do I install Ensemble in Codex?

Run `npx skills add opensage-agent/opensage-adk --skill ensemble -a codex`. Or copy the skill folder (src/opensage/bash_tools/workflow/ensemble in opensage-agent/opensage-adk) into .agents/skills/ensemble in your project. Codex loads it when a task matches its description.

Can I use Ensemble in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opensage-agent/opensage-adk --skill ensemble -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ensemble, .gemini/skills/ensemble, .github/skills/ensemble and .opencode/skills/ensemble in your project.

What does Ensemble need to run?

SKILL.md names no scripts, command-line tools or credentials: Ensemble is instructions for the agent only.

Does Ensemble access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ensemble safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ensemble use?

Ensemble is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ensemble use?

About 362 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ensemble?

Skills that share tags, products or a category with Ensemble: Parallel Execution Optimizer (affaan-m/ECC, 274k stars), Parallel Automation (ComposioHQ/awesome-claude-skills, 77k stars), Reduced Motion (thedaviddias/Front-End-Checklist, 74k stars) and Parallel Web (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ensemble?

opensage-agent (a GitHub organization) maintains it in opensage-agent/opensage-adk, which has 127 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on August 4, 2026.

Source: opensage-agent/opensage-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.