Llm classifier
Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/llm-classifier
LLM-based zero-shot and few-shot classification for flexible intent detectionFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill llm-classifierAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.5 KB, 205 tokens by cl100k_base, as published. Nobody here has run it
LLM Classifier Skill
Capabilities
- Implement zero-shot classification with LLMs
- Design few-shot classification prompts
- Configure structured output for labels
- Implement confidence scoring
- Design classification taxonomies
- Handle multi-label classification
Target Processes
- intent-classification-system
- dialogue-flow-design
Implementation Details
Classification Patterns
- Zero-Shot: No examples, description-based
- Few-Shot: Example-based classification
- Structured Output: JSON schema for labels
- Chain-of-Thought: Reasoning before classification
- Ensemble: Multiple prompts/models
Configuration Options
- LLM model selection
- Label descriptions
- Example selection strategy
- Output format specification
- Confidence calibration
Best Practices
- Clear label descriptions
- Representative examples
- Consistent output format
- Calibrate confidence scores
- Test with edge cases
Dependencies
- langchain-core
- LLM provider
What ships with it: 1 file
516 B alongside SKILL.md
- README.md516 B