Agent skill

Ensemble Solving

by mhattingpete in mhattingpete/claude-skills-marketplace

Generate multiple diverse solutions in parallel and select the best.

Apache-2.0Auto-check passedDevelopment

Install Ensemble Solving

skills CLI
$ npx skills add mhattingpete/claude-skills-marketplace --skill ensemble-solving -a claude-code

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

GitHub CLI
$ gh skill install mhattingpete/claude-skills-marketplace ensemble-solving --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/mhattingpete/claude-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engineering-workflow-plugin/skills/ensemble-solving .claude/skills/ensemble-solving && 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-solving
GitHub stars
680
Token cost
~1.3k tokens
SKILL.md length
439 words
Files
3 (incl. references)
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate multiple diverse solutions in parallel and select the best.

  • Works in 3 steps: Classify Task Type → Invoke Ensemble Orchestrator → Present Result
  • Architecture decisions
  • SKILL.md covers When to Use, What It Does, Approach and Diversification Strategies, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ensemble Solving is an agent skill from mhattingpete/claude-skills-marketplace. Generate multiple diverse solutions in parallel and select the best. Use for architecture decisions, code generation with multiple valid approaches, or creative tasks where exploring alternatives improves quality.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/diversification-strategies.md` and `references/evaluation-rubrics.md`).

It sits in Development. The repository describes itself as: Claude Code Skills for software engineering workflows - Git automation, testing, and code review. The licence is Apache-2.0.

When your agent uses it

  • Architecture decisions
  • Code generation with multiple valid approaches
  • Creative tasks where exploring alternatives improves quality

Example prompts

  • “/ensemble-solving”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Classify Task Type
  2. Invoke Ensemble Orchestrator
  3. Present Result

What it can do on your machine

Read from SKILL.md and the folder at commit b5b34bc. 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 Solving loads about 1.3k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 439 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

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 mhattingpete/claude-skills-marketplace at commit b5b34bc, republished under its Apache-2.0 licence (© mhattingpete). 439 words, ~1,250 tokens.

Download SKILL.mdSave it as .claude/skills/ensemble-solving/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
ensemble-solving
description
Generate multiple diverse solutions in parallel and select the best. Use for architecture decisions, code generation with multiple valid approaches, or creative tasks where exploring alternatives improves quality.

Ensemble Problem Solving

Generate multiple solutions in parallel by spawning 3 subagents with different approaches, then evaluate and select the best result.

When to Use

Activation phrases:

  • "Give me options for..."
  • "What's the best way to..."
  • "Explore different approaches..."
  • "I want to see alternatives..."
  • "Compare approaches for..."
  • "Which approach should I use..."

Good candidates:

  • Architecture decisions with trade-offs
  • Code generation with multiple valid implementations
  • API design with different philosophies
  • Naming, branding, documentation style
  • Refactoring strategies
  • Algorithm selection

Skip ensemble for:

  • Simple lookups or syntax questions
  • Single-cause bug fixes
  • File operations, git commands
  • Deterministic configuration changes
  • Tasks with one obvious solution

What It Does

  1. Analyzes the task to determine if ensemble approach is valuable
  2. Generates 3 distinct prompts using appropriate diversification strategy
  3. Spawns 3 parallel subagents to develop solutions independently
  4. Evaluates all solutions using weighted criteria
  5. Returns the best solution with explanation and alternatives summary

Approach

Step 1: Classify Task Type

Determine which category fits:

  • Code Generation: Functions, classes, APIs, algorithms
  • Architecture/Design: System design, data models, patterns
  • Creative: Writing, naming, documentation
Step 2: Invoke Ensemble Orchestrator
Task tool with:
- subagent_type: 'ensemble-orchestrator'
- description: 'Generate and evaluate 3 parallel solutions'
- prompt: [User's original task with full context]

The orchestrator handles:

  • Prompt diversification
  • Parallel execution
  • Solution evaluation
  • Winner selection
Step 3: Present Result

The orchestrator returns:

  • The winning solution (in full)
  • Evaluation scores for all 3 approaches
  • Why the winner was selected
  • When alternatives might be preferred

Diversification Strategies

For Code (Constraint Variation):

ApproachFocus
SimplicityMinimal code, maximum readability
PerformanceEfficient, optimized
ExtensibilityClean abstractions, easy to extend

For Architecture (Approach Variation):

ApproachFocus
Top-downRequirements → Interfaces → Implementation
Bottom-upPrimitives → Composition → Structure
LateralAnalogies from other domains

For Creative (Persona Variation):

ApproachFocus
ExpertTechnical precision, authoritative
PragmaticShip-focused, practical
InnovativeCreative, unconventional
Show full SKILL.md (163 more words)Show less

Evaluation Rubric

CriterionBase WeightDescription
Correctness30%Solves the problem correctly
Completeness20%Addresses all requirements
Quality20%How well-crafted
Clarity15%How understandable
Elegance15%How simple/beautiful

Weights adjust based on task type.

Example

User: "What's the best way to implement a rate limiter?"

Skill:

  1. Classifies as Code Generation
  2. Invokes ensemble-orchestrator
  3. Three approaches generated:
    • Simple: Token bucket with in-memory counter
    • Performance: Sliding window with atomic operations
    • Extensible: Strategy pattern with pluggable backends
  4. Evaluation selects extensible approach (score 8.4)
  5. Returns full implementation with explanation

Output:

## Selected Solution

[Full rate limiter implementation with strategy pattern]

## Why This Solution Won

The extensible approach scored highest (8.4) because it provides
a clean abstraction that works for both simple use cases and
complex distributed scenarios. The strategy pattern allows
swapping Redis/Memcached backends without code changes.

## Alternatives

- **Simple approach**: Best if you just need basic in-memory
  limiting and will never scale beyond one process.

- **Performance approach**: Best for high-throughput scenarios
  where every microsecond matters.

Success Criteria

  • 3 genuinely different solutions generated
  • Clear evaluation rationale provided
  • Winner selected with confidence
  • Alternatives summarized with use cases
  • User understands trade-offs

Token Cost

~4x overhead vs single attempt. Worth it for:

  • High-stakes architecture decisions
  • Creative work where first attempt rarely optimal
  • Learning scenarios where seeing alternatives is valuable
  • Code that will be maintained long-term

Integration

  • feature-planning: Can ensemble architecture decisions
  • code-auditor: Can ensemble analysis perspectives
  • plan-implementer: Executes the winning approach

© mhattingpete, 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

SKILL.md and 2 other files (references) in engineering-workflow-plugin/skills/ensemble-solving of mhattingpete/claude-skills-marketplace.

  • SKILL.md
  • references/diversification-strategies.md
  • references/evaluation-rubrics.md

Open the folder on GitHubat commit b5b34bc

Compare with similar skills

Ensemble Solving 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 Solving compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ensemble Solving this skillmhattingpete/claude-skills-marketplace680—~1.3kAutomated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed

More from mhattingpete/claude-skills-marketplace

All 16 skills in this repo
  • Conversation Analyzer

    mhattingpete/claude-skills-marketplace

    Analyzes your Claude Code conversation history to identify patterns, common mistakes, and opportunities for workflow improvement.

    680 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Architecture Diagram Creator

    mhattingpete/claude-skills-marketplace

    Create comprehensive HTML architecture diagrams showing data flows, business objectives, features, technical architecture, and deployment.

    680 GitHub stars~676 tokensUpdated 2 mo ago
    Auto-check passed
  • Code Transfer

    mhattingpete/claude-skills-marketplace

    Transfer code between files with line-based precision. An agent skill from mhattingpete/claude-skills-marketplace.

    680 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed
  • Dashboard Creator

    mhattingpete/claude-skills-marketplace

    Create HTML dashboards with KPI metric cards, bar/pie/line charts, progress indicators, and data visualizations.

    680 GitHub stars~489 tokensUpdated 2 mo ago
    Auto-check passed
  • Flowchart Creator

    mhattingpete/claude-skills-marketplace

    Create HTML flowcharts and process diagrams with decision trees, color-coded stages, arrows, and swimlanes.

    680 GitHub stars~518 tokensUpdated 2 mo ago
    Auto-check passed
  • Technical Doc Creator

    mhattingpete/claude-skills-marketplace

    Create HTML technical documentation with code blocks, API workflows, system architecture diagrams, and syntax highlighting.

    680 GitHub stars~604 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Ensemble Solving

What does Ensemble Solving do?

Generate multiple diverse solutions in parallel and select the best. Ensemble Solving is an agent skill from mhattingpete/claude-skills-marketplace. Generate multiple diverse solutions in parallel and select the best.

When should I use Ensemble Solving?

Ensemble Solving fits situations like: architecture decisions; code generation with multiple valid approaches; creative tasks where exploring alternatives improves quality.

How do I install Ensemble Solving in Claude Code?

Run `npx skills add mhattingpete/claude-skills-marketplace --skill ensemble-solving -a claude-code`. Or copy the skill folder (engineering-workflow-plugin/skills/ensemble-solving in mhattingpete/claude-skills-marketplace) into .claude/skills/ensemble-solving in your project. Claude Code loads it when a task matches its description.

How do I install Ensemble Solving in Codex?

Run `npx skills add mhattingpete/claude-skills-marketplace --skill ensemble-solving -a codex`. Or copy the skill folder (engineering-workflow-plugin/skills/ensemble-solving in mhattingpete/claude-skills-marketplace) into .agents/skills/ensemble-solving in your project. Codex loads it when a task matches its description.

Can I use Ensemble Solving 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 mhattingpete/claude-skills-marketplace --skill ensemble-solving -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-solving, .gemini/skills/ensemble-solving, .github/skills/ensemble-solving and .opencode/skills/ensemble-solving in your project.

What does Ensemble Solving need to run?

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

Does Ensemble Solving 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 Solving 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 Solving use?

Ensemble Solving 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 Solving use?

About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Ensemble Solving?

Skills that share tags, products or a category with Ensemble Solving: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ensemble Solving?

mhattingpete (a GitHub user) maintains it in mhattingpete/claude-skills-marketplace, which has 680 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on July 25, 2026.

Source: mhattingpete/claude-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.