·dspy-bootstrap-fewshot
{}

dspy-bootstrap-fewshot

omidzamani/dspy-skills

This skill should be used when the user asks to "bootstrap few-shot examples", "generate demonstrations", "use BootstrapFewShot", "optimize with limited data", "create training demos automatically", mentions "teacher model for few-shot", "10-50 training examples", or wants automatic demonstration generation for a DSPy program without extensive compute.

7Installs·0Trend·@omidzamani

Installation

$npx skills add https://github.com/omidzamani/dspy-skills --skill dspy-bootstrap-fewshot

SKILL.md

Automatically generate and select optimal few-shot demonstrations for your DSPy program using a teacher model.

| program | dspy.Module | Your DSPy program to optimize | | trainset | list[dspy.Example] | Training examples | | metric | callable | Evaluation function | | metricthreshold | float | Numerical threshold for accepting demos (optional) | | maxbootstrappeddemos | int | Max teacher-generated demos (default: 4) |

| maxlabeleddemos | int | Max direct labeled demos (default: 16) | | maxrounds | int | Max bootstrapping attempts per example (default: 1) | | teachersettings | dict | Configuration for teacher model (optional) |

This skill should be used when the user asks to "bootstrap few-shot examples", "generate demonstrations", "use BootstrapFewShot", "optimize with limited data", "create training demos automatically", mentions "teacher model for few-shot", "10-50 training examples", or wants automatic demonstration generation for a DSPy program without extensive compute. Source: omidzamani/dspy-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/omidzamani/dspy-skills --skill dspy-bootstrap-fewshot
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is dspy-bootstrap-fewshot?

This skill should be used when the user asks to "bootstrap few-shot examples", "generate demonstrations", "use BootstrapFewShot", "optimize with limited data", "create training demos automatically", mentions "teacher model for few-shot", "10-50 training examples", or wants automatic demonstration generation for a DSPy program without extensive compute. Source: omidzamani/dspy-skills.

How do I install dspy-bootstrap-fewshot?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/omidzamani/dspy-skills --skill dspy-bootstrap-fewshot Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/omidzamani/dspy-skills