# LLM Classifier

> LLM Classifier is an Agent Skill for agent building published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

LLM-based zero-shot and few-shot classification for flexible intent detection

- Skill name: `llm-classifier`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/ai-agents-conversational/skills/llm-classifier/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# 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

---

Source: https://www.openparable.com/skill/agent-building/llm-classifier (OpenParable). Cite the canonical URL above.
