Production-grade DSPy 3.2.x skills for coding agents. A synthesized, spec-compliant pack of five agent skills that turns Claude Code, Codex CLI, and any other agentskills.io-compatible agent into a DSPy expert.
> /plugin marketplace add intertwine/dspy-agent-skills> /plugin install dspy-agent-skills@dspy-agent-skills
What's inside
Production-grade DSPy 3.2.x skills for coding agents. A synthesized, spec-compliant pack of five agent skills that turns Claude Code, Codex CLI, and any other agentskills.io-compatible agent into a DSPy expert.
SKILL.md + deep reference.md)example_*.py scripts with offline --dry-runBetterTogether chaining example| Skill | When it auto-invokes |
|---|---|
dspy-fundamentals | Any new DSPy code: Signatures, Modules, Predict/ChainOfThought/ReAct, save/load |
dspy-evaluation-harness | Writing metrics, splitting dev/val sets, calling dspy.Evaluate |
dspy-gepa-optimizer | Optimizing/compiling DSPy programs with dspy.GEPA |
dspy-rlm-module | Long context, codebase QA, recursive exploration via dspy.RLM |
dspy-advanced-workflow | End-to-end builds โ orchestrates the other four |
/plugin marketplace add intertwine/dspy-agent-skills
/plugin install dspy-agent-skills@dspy-agent-skills
npx skills)npx skills add intertwine/dspy-agent-skills --list
npx skills add intertwine/dspy-agent-skills --skill '*' -a codex -y
The Vercel skills CLI currently expects a GitHub owner/repo, URL, well-known HTTPS endpoint, or local path as its source. The bare form npx skills add dspy-agent-skills is not resolvable unless the upstream CLI adds a source alias, so use intertwine/dspy-agent-skills.
git clone https://github.com/intertwine/dspy-agent-skills
cd dspy-agent-skills
./scripts/install.sh # symlinks into ~/.claude/skills/ and ~/.agents/skills/
Flags: --claude-only, --codex-only, --copy (copy instead of symlink), --uninstall, --dry-run.
Drop skills/* into ~/.claude/skills/ (Claude Code) or ~/.agents/skills/ (Codex CLI). See docs/installation.md for all options.
In your agent, say:
"Build a DSPy sentiment classifier, optimize it with GEPA, and save the artifact."
The agent auto-loads dspy-advanced-workflow, which chains the other skills and outputs a full baseline โ GEPA โ export pipeline. No further prompting needed.
Three runnable demos under examples/ exercise every skill against real LMs and ship with committed baseline vs. GEPA-optimized numbers plus explicit 3.1.3 vs. 3.2.0 comparison notes.
| Example | Artifact DSPy | Task LM | Baseline | Optimized | ฮ | Status |
|---|---|---|---|---|---|---|
| 01-rag-qa | 3.2.0 | Ministral 3B 2512 | 80.47 | 100.00 | +19.53 | Clean comparison refreshed on 2026-04-28 |
| 02-math-reasoning | 3.2.0 | Ministral 3B 2512 | 85.00 | 93.33 | +8.33 | Refreshed on 2026-04-21 |
| 03-invoice-extraction | 3.1.3 | Liquid LFM 2.5 1.2B (free) | 0.833 | 0.931 | +0.098 | Historical artifact retained |
The refreshed 01 and 02 artifacts use the paid pair openrouter/mistralai/ministral-3b-2512 + openrouter/qwen/qwen3-30b-a3b-instruct-2507. 03 stays on its historical DSPy 3.1.3 artifact because a clean DSPy 3.2.0 baseline on the same Liquid/Nemotron pair already reached 0.944, leaving little useful headroom for a replacement GEPA artifact. See examples/README.md and each example's version_comparison.md for the exact commands and caveats.
Every API claim is grounded in:
# Run validation suite
uv run --with pytest python -m pytest tests/ -v
# Smoke-test every example offline (no API key needed)
for f in skills/*/example_*.py; do uv run --with dspy python "$f" --dry-run; done
# Validate the current DSPy API surface used by these skills
env -u UV_EXCLUDE_NEWER uv run --with dspy==3.2.1 python scripts/check_dspy_surface.py
# Live GEPA run (requires OPENAI_API_KEY)
cd skills/dspy-advanced-workflow
OPENAI_API_KEY=... uv run --with dspy python example_pipeline.py --auto light
If uv run --with dspy resolves an older DSPy release instead of the current 3.2.1 wheel, check whether UV_EXCLUDE_NEWER or a stale package mirror is hiding the new release. The exact 3.2.1 override we validated for this repo is:
env -u UV_EXCLUDE_NEWER uv run --with dspy==3.2.1 python -c 'import dspy; print(dspy.__version__)'
dspy.RLM examples (Pyodide sandbox)dspy-agent-skills/
โโโ .claude-plugin/
โ โโโ plugin.json
โ โโโ marketplace.json
โโโ skills/
โ โโโ dspy-fundamentals/{SKILL.md, reference.md, example_qa.py}
โ โโโ dspy-evaluation-harness/{SKILL.md, reference.md, example_metric.py}
โ โโโ dspy-gepa-optimizer/{SKILL.md, reference.md, example_gepa.py}
โ โโโ dspy-rlm-module/{SKILL.md, reference.md, example_rlm.py}
โ โโโ dspy-advanced-workflow/{SKILL.md, reference.md, example_pipeline.py}
โโโ scripts/install.sh # dual-target installer
โโโ tests/ # spec validators
โโโ docs/{installation,usage,CHANGELOG}.md
โโโ README.md LICENSE .gitignore
v0.2.3 โข Targets DSPy 3.2.x
MIT โ see LICENSE.
Draft contributors: Bryan Young (@intertwine) with Grok (xAI). Validation, spec-alignment, and dual-agent packaging: Claude Opus 4.7, April 2026.
.claude-plugin/
marketplace.json
plugin.json
.env.example
.gitignore
AGENTS.md
articles/
01-why-dspy-agent-skills.md
02-how-to-install-and-use.md
03-inside-the-examples.md
04-future-use-cases.md
README.md
CLAUDE.md
docs/
CHANGELOG.md
installation.md
usage.md
examples/
__init__.py
01-rag-qa/
data/
docs.jsonl
train.jsonl
val.jsonl
optimized_program.json
pipeline.py
README.md
results.json
results.md
run.py
version_comparison.json
version_comparison.md
02-math-reasoning/
data/
train.jsonl
val.jsonl
optimized_program.json
pipeline.py
README.md
results.json
results.md
run.py
version_comparison.json
version_comparison.md
03-invoice-extraction/
data/
train.jsonl
val.jsonl
optimized_program.json
pipeline.py
README.md
results.json
results.md
run.py
version_comparison.json
version_comparison.md
common/
__init__.py
config.py
data.py
README.md
LICENSE
README.md
scripts/
check_dspy_surface.py
install.sh
skills/
dspy-advanced-workflow/
example_pipeline.py
reference.md
SKILL.md
dspy-evaluation-harness/
example_metric.py
reference.md
SKILL.md
dspy-fundamentals/
example_qa.py
reference.md
SKILL.md
dspy-gepa-optimizer/
example_bettertogether.py
example_gepa.py
reference.md
SKILL.md
dspy-rlm-module/
example_rlm.py
reference.md
SKILL.md
tests/
test_examples_parse.py
test_manifests.py
test_skill_correctness.py
test_skill_metadata.pyFAQ
dspy-agent-skills is a Claude Code plugin with 5 hand-picked skills for machine learning work, indexed on Flowy. Install it with the command on its page. It includes dspy-advanced-workflow, dspy-evaluation-harness, dspy-fundamentals. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.