Skip to content
Automation
Skill

/llm-classifier

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

From plugin
babysitter
1.8k200 skills3 agents21 commands1 MCP
Install
$ npx -y skills add a5c-ai/babysitter --skill llm-classifier --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/llm-classifier

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

llm-classifier.SKILL.md
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
Read more
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

Get the whole plugin

Other skills on babysitter.