a5c-ai/babysitter / library/specializations/ai-agents-conversational/skills/llm-classifier
llm-classifier
VerifiedLLM-based zero-shot and few-shot classification for flexible intent detection
SKILL.md
View on GitHub---
name: llm-classifier
description: LLM-based zero-shot and few-shot classification for flexible intent detection
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
graph:
domains: [domain:software-engineering]
specializations: [specialization:ai-agents-conversational]
skillAreas: [skill-area:natural-language-processing, skill-area:prompt-instruction-tuning-agents]
roles: [role:ml-engineer, role:backend-engineer]
workflows: [workflow:ml-model-lifecycle, workflow:feature-development]
---
# 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
1. **Zero-Shot**: No examples, description-based
2. **Few-Shot**: Example-based classification
3. **Structured Output**: JSON schema for labels
4. **Chain-of-Thought**: Reasoning before classification
5. **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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |