ensemble-solving
Generate multiple diverse solutions in parallel and select the best.
Skill by mhattingpete
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mhattingpete-ensemble-solving
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ensemble-solving
What's inside
- Skill 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.
- License
- Apache-2.0
- Instructions
- 163 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- diversification-strategies.md · references/
- evaluation-rubrics.md · references/
SKILL.md (first lines)
# 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):** | Approach | Focus | |----------|-------| | Simplicity | Minimal code, maximum readability | | Performance | Efficient, optimized | | Extensibility | Clean abstractions, easy to extend | **For Architecture (Approach Variation):** | Approach | Focus | |----------|-------| | Top-down | Requirements → Interfaces → Implementation | | Bottom-up | Primitives → Composition → Structure | | Lateral | Analogies from other domains | **For Creative (Persona Variation):** | Approach | Focus | |----------|-------| | Expert | Technical precision, authoritative | | Pragmatic | Ship-focused, practical | | Innovative | Creative, unconventional | ## Evaluation Rubric | Criterion | Base Weight | Description | |-----------|-------------|-------------| | Correctness | 30% | Solves the problem correctly | | Completeness | 20% | Addresses all requirements | | Quality | 20% | How well-crafted | | Clarity | 15% | How understandable | | Elegance | 15% | 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:**
From mhattingpete/claude-skills-marketplace, Apache-2.0.
More from mhattingpete/claude-skills-marketplace
- 0.640score
dashboard-creator
mhattingpete
Create HTML dashboards with KPI metric cards, bar/pie/line charts, progress indicators, and data visualizations.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
flowchart-creator
mhattingpete
Create HTML flowcharts and process diagrams with decision trees, color-coded stages, arrows, and swimlanes.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
technical-doc-creator
mhattingpete
Create HTML technical documentation with code blocks, API workflows, system architecture diagrams, and syntax highlighting.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
timeline-creator
mhattingpete
Create HTML timelines and project roadmaps with Gantt charts, milestones, phase groupings, and progress indicators.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
code-transfer
mhattingpete
Transfer code between files with line-based precision.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
feature-planning
mhattingpete
Break down feature requests into detailed, implementable plans with clear tasks.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
git-pushing
mhattingpete
Stage, commit, and push git changes with conventional commit messages.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
conversation-analyzer
mhattingpete
Analyzes your Claude Code conversation history to identify patterns, common mistakes, and opportunities for workflow improvement.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
architecture-diagram-creator
mhattingpete
Create comprehensive HTML architecture diagrams showing data flows, business objectives, features, technical architecture, and deployment.
SkillDFreshness: D★ 688Claude Code +9 - 0.634score
project-bootstrapper
mhattingpete
Sets up new projects or improves existing projects with development best practices, tooling, documentation, and workflow automation.
SkillDFreshness: D★ 688Claude Code +9 - 0.634score
code-execution
mhattingpete
Execute Python code locally with marketplace API access for 90%+ token savings on bulk operations.
SkillDFreshness: D★ 688Claude Code +9 - 0.634score
code-refactor
mhattingpete
Perform bulk code refactoring operations like renaming variables/functions across files, replacing patterns, and updating API calls.
SkillDFreshness: D★ 688Claude Code +9
Signals
- Stars
- 688
- Forks
- 98
- Open issues
- 4
- Last commit (this folder)
- Jan 14, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mhattingpete
- 0.640score
conversation-analyzer
mhattingpete
Analyzes your Claude Code conversation history to identify patterns, common mistakes, and opportunities for workflow improvement.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
architecture-diagram-creator
mhattingpete
Create comprehensive HTML architecture diagrams showing data flows, business objectives, features, technical architecture, and deployment.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
git-pushing
mhattingpete
Stage, commit, and push git changes with conventional commit messages.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
code-transfer
mhattingpete
Transfer code between files with line-based precision.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
feature-planning
mhattingpete
Break down feature requests into detailed, implementable plans with clear tasks.
SkillDFreshness: D★ 688Claude Code +9 - 0.640score
dashboard-creator
mhattingpete
Create HTML dashboards with KPI metric cards, bar/pie/line charts, progress indicators, and data visualizations.
SkillDFreshness: D★ 688Claude Code +9
Cite this page
ensemble-solving skill. Agent Mart. https://agentmart.dev/skills/mhattingpete-ensemble-solving (last updated 2026-10-24)