agentleFS
srinidhis05srinidhis05/agentura/skills/examples/ticket-classifier/SKILL.md

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…

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
  1. Distinctive:

    Only extract entities that are explicitly mentioned.

    line 67
  2. Very specific:

    If confidence is below 0.6, set route_to: null with reasoning explaining the ambiguity.

    line 72
  3. Distinctive:

    Do NOT attempt to answer the ticket — only classify and route.

    line 73
  4. Distinctive:

    Do NOT ask follow-up questions — this is single-shot classification.

    line 74
  5. Distinctive:

    NEVER offer follow-up options — this is a single-shot execution.

    line 75

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 identifier
  • channel — (optional) where the message came from (email, slack, web, api)

Classification Rules

Analyze the message and classify into one of these categories:

CategoryRoute ToSignals
Billingexamples/billing-inquiryInvoice, payment, charge, refund, subscription, pricing
Technicalexamples/technical-supportBug, error, crash, not working, timeout, performance
Featureexamples/feature-requestWish list, enhancement, integration request, "can you add"
UnknownnullCannot 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: null with 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.