Dspy Advanced Module Composition
Use for composing DSPy modules with Ensemble, MultiChainComparison, ensemble voting, sequential pipelines, and multi-program workflows.
Install
/plugin marketplace add OmidZamani/dspy-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add OmidZamani/dspy-skills --skill dspy-advanced-module-compositiongit clone --depth 1 https://github.com/OmidZamani/dspy-skills.git /tmp/dspy-skills
mkdir -p ~/.claude/skills
cp -r /tmp/dspy-skills/skills/dspy-advanced-module-composition ~/.claude/skills/dspy-advanced-module-compositionPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# DSPy Advanced Module Composition ## Goal Compose complex DSPy programs using the Ensemble optimizer, MultiChainComparison for reasoning synthesis, and sequential module patterns. ## When to Use - Need consensus from multiple approaches - Comparing different reasoning strategies - Building robust pipelines with fallbacks - Complex multi-step workflows with branching - Ensemble methods for improved accuracy ## Related Skills - Design modules: [dspy-custom-module-design](../dspy-custom-module-design/SKILL.md) - Define signatures: [dspy-signature-designer](../dspy-signature-designer/SKILL.md) - Evaluate performance: [dspy-evaluation-suite](../dspy-evaluation-suite/SKILL.md) ## Inputs | Input | Type | Description | |-------|------|-------------| | `modules` | `list[dspy.Module]` | Modules to compose | | `composition_type` | `str` | "ensemble", "sequential", "comparison" | ## Outputs | Output | Type | Description | |--------|------|-------------| | `composed_program` | `dspy.Module` | Composed multi-module program | ## Workflow ### Phase 1: Ensemble Voting Combine multiple programs using the Ensemble optimizer:
Details
- Skill name
dspy-advanced-module-composition- Repository
- OmidZamani/dspy-skills
- Path
skills/dspy-advanced-module-composition/SKILL.md- License
- MIT
- Repo updated
- 23 June 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Dspy Advanced Module Composition skill do?
Use for composing DSPy modules with Ensemble, MultiChainComparison, ensemble voting, sequential pipelines, and multi-program workflows.
How do I install the Dspy Advanced Module Composition skill?
Claude Code plugin: /plugin marketplace add OmidZamani/dspy-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Dspy Advanced Module Composition popular?
It lives in OmidZamani/dspy-skills, which has 125 GitHub stars and 13 forks, and is included in 1 curated skill list.
Related skills
Dspy Adapters Multimodal
125OmidZamani/dspy-skills
Use for DSPy adapter selection, JSONAdapter, XMLAdapter, ChatAdapter, native function calling, structured outputs, and multimodal inputs like dspy.Image or dspy.Audio.
Dspy Better Together
125OmidZamani/dspy-skills
Use for BetterTogether, prompt plus weight optimization, fine-tuning sequences, and strategy chains like p -> w -> p.
Dspy Bootstrap Fewshot
125OmidZamani/dspy-skills
Use for BootstrapFewShot, bootstrapped demonstrations, teacher-model demos, and low-data DSPy prompt optimization.
File Organizer
70alexdcd/Mafia-Claude-Skills
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Task Coverage Protocol
117GoogleCloudPlatform/cxas-scrapi
Enforces 100% task and file ingestion coverage via an asynchronous, supervisor-driven state polling mechanism.
Bias Detection Design
207Owl-Listener/ai-design-skills
Designing review workflows to surface and mitigate bias in AI outputs.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.