classify
Skill6 starsChanged 13 days agoApache-2.0View on GitHub
Assign labels or categories to items based on characteristics. Use when categorizing entities, tagging content, identifying types, or labeling data according to a taxonomy.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- norrietaylor/distillerytheir own version, first seen Nov 1, 2026
- Seanathon/vault-startertheir own version, first seen Sep 28, 2026
- InSciCo/i-frameworktheir own version, first seen Jul 13, 2026
- Colab8/rosetta-plugintheir own version, first seen Mar 24, 2026
- toneron2/agentic-platformtheir own version, first seen Jan 10, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- norrietaylor/distillery★ 25same name
- InSciCo/i-framework★ 4same name
- toneron2/agentic-platform★ 2same name
- Colab8/rosetta-plugin★ 0same name
- Seanathon/vault-starter★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- generateSkill
- groundSkill
- inquireSkill
- integrateSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- planSkill
- predictSkill
- recallSkill
- receiveSkill
- retrieveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- stateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
If taxonomy provided, use those labels exclusively
- Distinctive: line 45
If no taxonomy, infer appropriate categories from context
- Distinctive: line 50
Consider edge cases and borderline classifications
- Distinctive: line 58
Ground classification: Document evidence supporting each label
- Distinctive: line 174
Verification tools: Read (to verify evidence references)
- Distinctive: line 184
Do not invent labels outside the provided taxonomy
- Distinctive: line 186
Do not access data beyond what's needed for classification
- Very specific: line 202
Never use classify for binary detection (use detect)
- Very specific: line 203
Avoid classify when precise measurement needed (use measure)
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Intent
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:
- Item assigned at least one label from taxonomy
- Label assignment supported by evidence
- Confidence scores reflect classification certainty
- Ambiguous cases explicitly flagged
Compatible schemas:
schemas/output_schema.yaml
Inputs
| 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) |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
- Examine the item: Gather characteristics relevant to classification
- Identify distinguishing features
- Note structural patterns, content type, metadata
- Collect evidence for each observed characteristic
- Understand the taxonomy: Clarify the classification scheme
- If taxonomy provided, use those labels exclusively
- If no taxonomy, infer appropriate categories from context
- Define clear boundaries between categories
- Match characteristics to labels: Evaluate fit for each potential label
- Score how well item characteristics match each category
- Consider edge cases and borderline classifications
- Note which features drive each potential classification
- Assign labels: Select the most appropriate label(s)
- For single-label: choose highest confidence match
- For multi-label: include all labels above confidence threshold
- Flag if no label is a strong match
- Ground classification: Document evidence supporting each label
- Reference specific characteristics that drove classification
- Note any characteristics that contradict the assignment
Output Contract
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 Definitions
| 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 |
evidence_anchors | array | References to the characteristics each label rests on |
assumptions | array | Explicit assumptions |
Examples
Example 1: Classify Code File
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"Example 2: Classify with Ambiguity
Input:
item: "User reported issue: 'App crashes on login'"
taxonomy: ["bug", "feature-request", "question", "documentation"]
multi_label: trueOutput:
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
- At least one label assigned with confidence > 0.3
- Evidence exists for each assigned label
- Labels are from specified taxonomy (if provided)
- Ambiguous flag set when confidence < 0.7
- Probabilities sum to ~1.0 (if provided)
Verification tools: Read (to verify evidence references)
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Do not invent labels outside the provided taxonomy
- Flag uncertainty rather than forcing low-confidence classifications
- Do not access data beyond what's needed for classification
- Note when item characteristics are insufficient for reliable classification
Composition Patterns
Commonly follows:
detect- Classify items after detecting their presenceobserve- Classify based on observed characteristicsretrieve- Classify retrieved items
Commonly precedes:
compare- Classification enables comparison within categoriesplan- Classified items inform planning decisionsgenerate- Classification guides content generation
Anti-patterns:
- Never use classify for binary detection (use
detect) - Avoid classify when precise measurement needed (use
measure)
Workflow references:
- See
reference/workflow_catalog.yaml#capability_gap_analysisfor classification usage
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

