Dspy Advanced Workflow

Build DSPy 3.2.x programs through spec, program, metric and baseline; extend to optimization and export when requested and justified by task budget. Orchestrates the other four DSPy skills (dspy-fundamentals, dspy-evaluation-harness, dspy-gepa-optimizer, dspy-rlm-module) in the correct order. Use for greenfield DSPy builds; prototypes may stop at a validated baseline.

280 stars 24 forksProductivity & Notes Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add intertwine/dspy-agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add intertwine/dspy-agent-skills --skill dspy-advanced-workflow
Manual install
git clone --depth 1 https://github.com/intertwine/dspy-agent-skills.git /tmp/dspy-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/dspy-agent-skills/skills/dspy-advanced-workflow ~/.claude/skills/dspy-advanced-workflow

Personal 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 Workflow (2026)

This skill runs the seven-step loop that turns a natural-language task description into an optimized, saved, deployable DSPy program. Use the relevant steps in order. Stop at a validated baseline for a prototype; optimizer runs require an appropriate authorized budget and evidence of need. Exporting a local artifact does not authorize deployment.

## The seven steps

### 1. Spec

Rephrase the user's task in one sentence. Identify inputs, outputs, the quality axis that matters, and any constraints (latency, cost, tool access, context size). Pick predictor shape:

| Task shape | Predictor |
|---|---|
| Single-step structured I/O | `dspy.Predict` / `dspy.ChainOfThought` |
| Tool use / multi-step | `dspy.ReAct` |
| Code execution | `dspy.ProgramOfThought` |
| Long context / codebase | `dspy.RLM` → `dspy-rlm-module` |

### 2. Program

Write the typed `dspy.Signature` + `dspy.Module` subclass per `dspy-fundamentals`. No hard-coded prompts. Keep predictors named so GEPA can target them.

### 3. Data

Build `trainset` and **separate** `valset` as `dspy.Example(...).with_inputs(...)`. For GEPA, maximize trainset size and keep validation just large enough to represent downstream behavior; held-out `testset` is reported on at the end only. See `dspy-evaluation-harness`.

### 4. Rich metric
Read the full skill on GitHub

Details

Skill name
dspy-advanced-workflow
Path
skills/dspy-advanced-workflow/SKILL.md
License
MIT
Repo updated
6 September 2026

FAQ

What does the Dspy Advanced Workflow skill do?

Build DSPy 3.2.x programs through spec, program, metric and baseline; extend to optimization and export when requested and justified by task budget. Orchestrates the other four DSPy skills (dspy-fundamentals, dspy-evaluation-harness, dspy-gepa-optimizer, dspy-rlm-module) in the correct order. Use for greenfield DSPy builds; prototypes may stop at a validated baseline.

How do I install the Dspy Advanced Workflow skill?

Claude Code plugin: /plugin marketplace add intertwine/dspy-agent-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 Workflow popular?

It lives in intertwine/dspy-agent-skills, which has 280 GitHub stars and 24 forks.

Related skills

Dspy Evaluation Harness

280

intertwine/dspy-agent-skills

Build DSPy evaluation harnesses with rich-feedback metrics that are essential for GEPA optimization. Use when writing a metric function, calling dspy.Evaluate, splitting dev/val sets, debugging "why is my optimizer not improving?", or designing CI-ready DSPy eval suites.

Writing & Content24

Dspy Fundamentals

280

intertwine/dspy-agent-skills

Write idiomatic DSPy 3.2.x programs — typed Signatures, dspy.Module subclasses, Predict/ChainOfThought/ReAct/ProgramOfThought, and save/load. Use this when starting any new DSPy project or when fixing non-idiomatic DSPy code (hard-coded prompts, ad-hoc string templates, untyped outputs, non-serializable classes).

Software Development24

Dspy Gepa Optimizer

280

intertwine/dspy-agent-skills

Optimize DSPy programs with dspy.GEPA — a reflective/evolutionary optimizer to consider against task-specific baselines within an authorized evaluation budget. Use when the user says optimize, compile, GEPA, reflective optimization, or "make this program better" and a DSPy program + metric + trainset exist.

Software Development24

Lightweight Task Workflow

365

NTCoding/claude-skillz

FOLLOW THE STATE MACHINE IN SKILL.MD. When user says 'continue': (1) FIRST: Run pwd, (2) Announce STATE: CHECK_STATUS, (3) Read .claude/session.md to check Status field, (4) Route based on Status. NEVER auto-advance tasks. NEVER use TodoWrite. NEVER create git commits.

Productivity & Notes47

Create Tasks

365

NTCoding/claude-skillz

Creates well-formed tasks following a template that engineers can implement. Triggers on: 'create tasks', 'define work items', 'break this down', creating tasks from PRD, converting requirements into actionable tasks, feature breakdown, sprint planning.

Productivity & Notes47

Notion Apps

184

makenotion/skills

Set up and scaffold Notion Apps with the Notion Apps SDK and `ntn`; use when starting a Notion App project.

Productivity & NotesIn 1 list10

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.