Help us improve
Share bugs, ideas, or general feedback.
From agent-capability-standard
Assigns labels or categories to items like code, documents, or data based on characteristics using a taxonomy. Outputs confidence scores and evidence. Use for categorizing entities, tagging content, or identifying types.
npx claudepluginhub synaptiai/synapti-marketplace --plugin agent-capability-standardHow this skill is triggered — by the user, by Claude, or both
Slash command
/agent-capability-standard:classifyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Assign one or more labels from a defined taxonomy to items based on their observed characteristics. This capability bridges detection and reasoning by providing semantic categorization.
Scores and assigns 1-4 controlled-vocabulary tags to content using keyword + title matching, logs near-miss proposals for vocabulary extension.
Classifies knowledge entries by type and triages the review queue for low-confidence predictions.
Guides LLM text classification for survey data: codebook design, zero/few-shot/fine-tuning selection, model choice, human-LLM hybrids, validation, reproducibility.
Share bugs, ideas, or general feedback.
Assign one or more labels from a defined taxonomy to items based on their observed characteristics. This capability bridges detection and reasoning by providing semantic categorization.
Success criteria:
Compatible schemas:
schemas/output_schema.yaml| Parameter | Required | Type | Description |
|---|---|---|---|
item | Yes | any | The item to classify (entity, document, code, data) |
taxonomy | No | string|array | Classification scheme or list of valid labels |
multi_label | No | boolean | Whether multiple labels can be assigned (default: false) |
context | No | object | Additional context to inform classification |
Examine the item: Gather characteristics relevant to classification
Understand the taxonomy: Clarify the classification scheme
Match characteristics to labels: Evaluate fit for each potential label
Assign labels: Select the most appropriate label(s)
Ground classification: Document evidence supporting each label
Return a structured object:
labels:
- label: string # Assigned category/label
confidence: number # 0.0-1.0 for this specific label
evidence: array[string] # Characteristics supporting this label
probabilities: # Optional: full probability distribution
label_1: number
label_2: number
primary_label: string # Highest confidence label
ambiguous: boolean # True if classification is uncertain
confidence: 0..1 # Overall classification confidence
evidence_anchors: ["file:line", "characteristic:value"]
assumptions: []
| Field | Type | Description |
|---|---|---|
labels | array | Assigned labels with confidence and evidence |
probabilities | object | Probability for each possible label |
primary_label | string | Single best classification |
ambiguous | boolean | Whether classification is uncertain |
confidence | number | 0.0-1.0 overall confidence |
Input:
item: "src/services/payment_processor.rb"
taxonomy: ["service", "model", "controller", "helper", "concern"]
Output:
labels:
- label: "service"
confidence: 0.92
evidence:
- "Located in services/ directory"
- "Class name ends with 'Processor'"
- "Contains business logic methods without persistence"
probabilities:
service: 0.92
model: 0.03
controller: 0.02
helper: 0.02
concern: 0.01
primary_label: "service"
ambiguous: false
confidence: 0.92
evidence_anchors:
- "src/services/payment_processor.rb:1"
- "src/services/payment_processor.rb:15-45"
assumptions:
- "Directory structure follows Rails conventions"
Input:
item: "User reported issue: 'App crashes on login'"
taxonomy: ["bug", "feature-request", "question", "documentation"]
multi_label: true
Output:
labels:
- label: "bug"
confidence: 0.75
evidence:
- "Reports crash behavior"
- "Describes unexpected failure"
- label: "question"
confidence: 0.40
evidence:
- "Lacks reproduction steps"
- "May be user error or configuration"
probabilities:
bug: 0.75
question: 0.40
feature-request: 0.05
documentation: 0.10
primary_label: "bug"
ambiguous: true
confidence: 0.65
evidence_anchors:
- "issue:title"
- "issue:body"
assumptions:
- "Crash is not expected behavior"
- "User has attempted normal login flow"
Verification tools: Read (to verify evidence references)
mutation: falserequires_checkpoint: falserequires_approval: falserisk: lowCapability-specific rules:
Commonly follows:
detect - Classify items after detecting their presenceobserve - Classify based on observed characteristicsretrieve - Classify retrieved itemsCommonly precedes:
compare - Classification enables comparison within categoriesplan - Classified items inform planning decisionsgenerate - Classification guides content generationAnti-patterns:
detect)measure)Workflow references:
reference/workflow_catalog.yaml#capability_gap_analysis for classification usage