dspy-bootstrap-rs
Skill11 starsChanged 5 months agoNo licenceView on GitHub
Optimize few-shot demos for a DSPy program by searching over multiple candidate demo sets using dspy.BootstrapFewShotWithRandomSearch. Use when basic BootstrapFewShot is not enough and you want better results at the cost of more LM calls. Common scenarios - BootstrapFewShot alone is not reaching target accuracy, you want to search over multiple candidate demo sets and pick the best, optimizing for tasks where example selection matters a lot, or you have compute budget for a more thorough search. Also used for random search over demonstrations, search for optimal few-shot examples, brute force demo selection, try many demo combinations, more compute for better demos, upgrade from BootstrapFewShot, intermediate optimizer between simple and MIPROv2, when basic few-shot optimization is not enough, explore demonstration space.
In this repository95 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-auditing-codeSkill
- ai-building-chatbotsSkill
- ai-building-pipelinesSkill
- ai-checking-outputsSkill
- ai-choosing-architectureSkill
- ai-cleaning-dataSkill
- ai-coordinating-agentsSkill
- ai-cutting-costsSkill
- ai-decomposing-tasksSkill
- ai-detecting-anomaliesSkill
- ai-doSkill
- ai-fine-tuningSkill
- ai-fixing-errorsSkill
- ai-following-rulesSkill
- ai-generating-dataSkill
- ai-generating-notificationsSkill
- ai-improving-accuracySkill
- ai-kickoffSkill
- ai-making-consistentSkill
- ai-matching-recordsSkill
- ai-moderating-contentSkill
- ai-monitoringSkill
- ai-parsing-dataSkill
- ai-planningSkill
- ai-querying-databasesSkill
- ai-reasoningSkill
- ai-recommendingSkill
- ai-redacting-dataSkill
- ai-request-skillSkill
- ai-rewriting-textSkill
- ai-scoringSkill
- ai-searching-docsSkill
- ai-serving-apisSkill
- ai-sortingSkill
- ai-stopping-hallucinationsSkill
- ai-summarizingSkill
- ai-switching-modelsSkill
- ai-taking-actionsSkill
- ai-testing-safetySkill
- ai-tracing-requestsSkill
- ai-tracking-experimentsSkill
- ai-translating-contentSkill
- ai-understanding-imagesSkill
- ai-watching-optimizationSkill
- ai-writing-contentSkill
- dspy-adaptersSkill
- dspy-assertionsSkill
- dspy-asyncSkill
- dspy-best-of-nSkill
- dspy-better-togetherSkill
- dspy-bootstrap-few-shotSkill
- dspy-bootstrap-finetuneSkill
- dspy-chain-of-thoughtSkill
- dspy-chatadapterSkill
- dspy-citationsSkill
- dspy-codeactSkill
- dspy-coproSkill
- dspy-dataSkill
- dspy-ensembleSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

