Few shot example gen
Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/few-shot-example-gen
Babysitter enforces obedience on agentic workforces and enables them to manage extremely complex tasks and workflows through deterministic, hallucination-free self-orchestration
npx -y skills add a5c-ai/babysitter --skill few-shot-example-genAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Few-shot example generation and optimization for improved LLM performance
SKILL.md
1.5 KB, as published. Nobody here has run it
Few-Shot Example Generation Skill
Capabilities
- Generate diverse few-shot examples
- Implement example selection strategies
- Optimize example ordering for performance
- Create dynamic example retrieval
- Design example formats for specific tasks
- Implement example quality validation
Target Processes
- prompt-engineering-workflow
- intent-classification-system
Implementation Details
Example Selection Strategies
- Semantic Similarity: Select similar examples
- MMR Selection: Diverse example selection
- N-Gram Overlap: Lexical similarity
- Random Sampling: Baseline selection
- Length-Based: Control example sizes
Configuration Options
- Number of examples
- Selection algorithm
- Example format (input/output structure)
- Max token limits
- Example store backend
Best Practices
- Cover edge cases in examples
- Balance example diversity
- Optimize example ordering
- Test with varied inputs
- Monitor token usage
Dependencies
- langchain
- sentence-transformers (for semantic selection)