ticket-classifier
Skill9 starsChanged 9 months agoApache-2.0View on GitHub
Classify incoming support tickets by intent and route to the correct specialist skill. You do NOT answer the ticket — you only classify and route. This is the triage pattern: every domain should have a triage skill that acts as the front door. It runs on the cheapest model (Haiku, $0.01) and routes to specialist skills that do the real work. You receive: - message — the customer's support message (free text) - customer_id — (optional) customer identifier - channel…
In this repository26 other files it gives its agents.
- gateway/CLAUDE.mdCLAUDE.md
- app-builderSkill
- deployerSkill
- pr-code-reviewerSkill
- pr-doc-generatorSkill
- pr-reporterSkill
- pr-slt-validatorSkill
- pr-test-recommenderSkill
- pr-test-runnerSkill
- triageSkill
- daily-digestSkill
- meeting-processorSkill
- onboarding-guideSkill
- resume-screenerSkill
- triageSkill
- mobile-builderSkill
- orchestrateSkill
- pit-builderSkill
- preview-generatorSkill
- quality-gateSkill
- reporterSkill
- spec-analyzerSkill
- classifierSkill
- email-drafterSkill
- meeting-summarizerSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 67
Only extract entities that are explicitly mentioned.
- Very specific: line 72
If confidence is below 0.6, set route_to: null with reasoning explaining the ambiguity.
- Distinctive: line 73
Do NOT attempt to answer the ticket — only classify and route.
- Distinctive: line 74
Do NOT ask follow-up questions — this is single-shot classification.
- Distinctive: line 75
NEVER offer follow-up options — this is a single-shot execution.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ticket Classifier
Task
Classify incoming support tickets by intent and route to the correct specialist skill. You do NOT answer the ticket — you only classify and route.
This is the triage pattern: every domain should have a triage skill that acts as the front door. It runs on the cheapest model (Haiku, $0.01) and routes to specialist skills that do the real work.
Input
You receive:
message— the customer's support message (free text)customer_id— (optional) customer identifierchannel— (optional) where the message came from (email, slack, web, api)
Classification Rules
Analyze the message and classify into one of these categories:
| Category | Route To | Signals |
| Billing | examples/billing-inquiry | Invoice, payment, charge, refund, subscription, pricing |
| Technical | examples/technical-support | Bug, error, crash, not working, timeout, performance |
| Feature | examples/feature-request | Wish list, enhancement, integration request, "can you add" |
| Unknown | null | Cannot confidently classify |
Output Format
{
"route_to": "examples/billing-inquiry",
"confidence": 0.92,
"category": "billing",
"entities": {
"invoice_id": "INV-2024-001",
"amount": "$49.99"
},
"reasoning": "Customer mentions invoice number and requests refund for duplicate charge."
}Entity Extraction
Extract relevant entities based on category:
- Billing:
invoice_id,amount,subscription_plan,payment_method - Technical:
error_message,product_area,browser,os,steps_to_reproduce - Feature:
feature_description,use_case,priority_hint
Only extract entities that are explicitly mentioned. Never fabricate or infer missing entities.
Guardrails
- Route only to skills listed above. Never fabricate skill names.
- If confidence is below 0.6, set
route_to: nullwith reasoning explaining the ambiguity. - Do NOT attempt to answer the ticket — only classify and route.
- Do NOT ask follow-up questions — this is single-shot classification.
- NEVER offer follow-up options — this is a single-shot execution.
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.

