When you're facing decisions with legitimate tradeoffs like picking a rate limiter implementation or designing an API, this spawns three parallel subagents with different constraints (simplicity vs performance vs extensibility) and picks the winner based on a weighted rubric. Costs about 4x the tokens of a single attempt, so skip it for obvious stuff like syntax questions or bug fixes. The real value is seeing the alternatives summary afterward. You learn why the token bucket beat the sliding window for your specific context, and when you might want the other approach instead. Best for architecture decisions and code you'll maintain long term.

skills.sh installs
218
GitHub stars
693
last updated
Mar 6, 2026

Install

$ npx -y skills add mhattingpete/claude-skills-marketplace --skill ensemble-solving --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/mhattingpete/claude-skills-marketplace
Categories
Code Review & Quality, Automation & Workflows
License
Apache-2.0
First seen
Jun 11, 2026

More from mhattingpete/claude-skills-marketplace

All 18
1levnikolaevich avatarln-514-test-log-analyzerlevnikolaevich/claude-code-skillsAnalyzes application logs: classifies errors, checks log quality, maps stack traces to source. Use when logs need review after test runs or during development.216skills.sh installs
2yonatangross avatarcommityonatangross/orchestkitCreates commits with Conventional Commits format (feat/fix/docs/refactor/test/chore), automatic scope detection, co-author attribution, and pre-commit hook comp210skills.sh installs
3yonatangross avatarcreate-pryonatangross/orchestkitCreates GitHub pull requests with pre-flight validation, conventional title formatting, and structured summary generation. Runs parallel checks (tests, lint, ty209skills.sh installs
4tw93 avatarwazatw93/wazaEngineering skills for Claude: think (architecture), design (UI), check (code review), hunt (debugging), write (prose), learn (research), read (URL/PDF fetch), 208skills.sh installs
5samhvw8 avatarui-ux-designsamhvw8/dot-claudeUI/UX design reference database. 50+ styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Ta207skills.sh installs
6yonatangross avataraudit-fullyonatangross/orchestkitSingle-pass codebase analysis leveraging a 1M-token context window for comprehensive security scanning, architecture review, and dependency auditing. Loads enti206skills.sh installs