Sandbox
@OmidZamani/dspy-skills

Claude Code skills for DSPy workflows

This is a Claude Code plugin that packages focused DSPy skills for building LLM applications systematically. The skills cover signatures, module design, evaluation, optimizer choice, retrieval pipelines, agent tools, deployment, and observability, with each skill living in its own folder under `skills/`.

123 stars13 forksPythonUpdated 2mo ago
Who it's for

Builders who use Claude Code to create DSPy-based LLM apps, retrieval pipelines, and agents.

What it delivers

You can reuse task-specific guidance instead of figuring out DSPy patterns from scratch each time.

What it does

Signature design

Guides typed inputs and structured outputs with `dspy-signature-designer`.

Module and pipeline design

Covers reusable `dspy.Module` patterns, RAG pipelines, multi-hop retrieval, and agent builders.

Evaluation and optimization

Includes skills for baselines, metrics, optimizer selection, MIPROv2, GEPA, SIMBA, and fine-tuning bootstrap.

Production and debugging

Adds guidance for cache hardening, save/load, usage tracking, async, streaming, inspection, callbacks, and MLflow tracing.

Plugin packaging

Ships as a Claude Code plugin through `.claude-plugin/plugin.json` and `.claude-plugin/marketplace.json`.

How to get it

  1. 1Run
    /plugin marketplace add OmidZamani/dspy-skills
    /plugin install dspy-skills@dspy-skills-marketplace

README

DSPy Skills Collection

A Claude Code plugin containing 22 focused skills for programming, optimizing, evaluating, and deploying LLM applications with DSPy.

Stable DSPy baseline: 3.2.1, released May 5, 2026. Install the stable series with:

pip install -U "dspy>=3.2.1,<3.3"

DSPy 3.3.0b1 is a prerelease published May 28, 2026. See prerelease notes before opting in.

Skills Index

Start Here

SkillUse it for
dspy-signature-designerTyped signatures and structured outputs
dspy-custom-module-designReusable dspy.Module architecture
dspy-evaluation-suiteMetrics, baselines, and comparisons
dspy-optimizer-selectionChoosing among DSPy's optimizer families

Retrieval and Data

SkillUse it for
dspy-rag-pipelineRAG and multi-hop retrieval pipelines
dspy-embedding-retrievalEmbedder, Embeddings, FAISS, and local corpora
dspy-haystack-integrationOptimizing Haystack-backed pipelines

Agents and Reasoning

SkillUse it for
dspy-react-agent-builderReAct tool agents
dspy-mcp-tool-integrationMCP tools in DSPy agents
dspy-reasoning-modulesRLM, ProgramOfThought, CodeAct, and Parallel
dspy-advanced-module-compositionEnsembles and composed modules

Optimizers

SkillUse it for
dspy-bootstrap-fewshotFast demo bootstrapping
dspy-miprov2-optimizerInstruction and demo search
dspy-gepa-reflectiveReflective instruction optimization
dspy-simba-optimizerMini-batch introspective optimization
dspy-finetune-bootstrapWeight optimization and distillation
dspy-better-togetherSequencing prompt and weight optimizers
dspy-optimize-anythingGEPA optimization for text artifacts outside DSPy

Production and Interfaces

SkillUse it for
dspy-output-refinement-constraintsRefine and BestOfN constraints
dspy-adapters-multimodalAdapters, native tools, image, audio, and file inputs
dspy-production-deploymentCache hardening, save/load, usage tracking, async, and streaming
dspy-debugging-observabilityInspection, callbacks, and MLflow tracing

Typical Workflow

  1. Define typed inputs and outputs with dspy-signature-designer.
  2. Build a module, RAG pipeline, or agent.
  3. Establish a baseline with dspy-evaluation-suite.
  4. Choose an optimizer with dspy-optimizer-selection.
  5. Harden the runtime with dspy-production-deployment.

Optional Dependencies

# Bayesian search for MIPROv2
pip install -U "dspy[optuna]>=3.2.1,<3.3"

# MCP tool integration
pip install -U "dspy[mcp]>=3.2.1,<3.3"

# Large local embedding corpora
pip install faiss-cpu

# optimize_anything
pip install -U "gepa>=0.1.1,<0.2"

Install as a Claude Code Plugin

/plugin marketplace add OmidZamani/dspy-skills
/plugin install dspy-skills@dspy-skills-marketplace

Documentation

Validate Changes

python3 scripts/validate_repo.py
python3 -m compileall -q examples skills/dspy-haystack-integration/examples

License

MIT License. See LICENSE.

Files in the repo

Repository payload16 top-level entries
  • .claude
  • .claude-plugin
  • .github
  • docs
  • examples
  • scripts
  • skills
  • .gitattributes
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • requirements-extras.txt
  • requirements.txt

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k