Agent skill
llm-classifier
LLM-based zero-shot and few-shot classification for flexible intent detection
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/skills/other/llm-classifier
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
- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?