LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

dspy - Declarative LM Programs and Prompt Optimization

Build declarative language-model programs, optimize prompts with data, and create RAG systems, agents, or classifiers.

Tags

Updated: 2026-09-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Define task signatures
  • Compose reusable modules
  • Generate reasoning steps
  • Optimize prompts with data
  • Build RAG pipelines
  • Configure language models
  • Use tools with agents
  • Export fine-tuning data

Inputs

  • Task signatures and prompts
  • Questions and context
  • Training examples and metrics
  • Retrieval collections
  • LM provider configuration
  • Tool functions

Outputs

  • Predictions and answers
  • Reasoning traces
  • Optimized modules
  • Fine-tuning datasets

Requirements

  • DSPy package
  • Supported LM provider package
  • Language model access or Ollama
  • Provider API credentials when required
  • Linux, macOS, or Windows

Source

  • Spec: SKILL.md
DSPy
Prompt Engineering
Declarative Programming
RAG
Agents
Prompt Optimization
LM Programming
NLP
Automatic Optimization
Modular AI
Define task signatures
Compose reusable modules
Generate reasoning steps
Optimize prompts with data
Task signatures and prompts
Questions and context
Training examples and metrics
Predictions and answers
Reasoning traces
Optimized modules