agentleFS
srinidhis05srinidhis05/agentura/skills/platform/classifier/SKILL.md

classifier

Skill9 starsChanged 9 months agoApache-2.0View on GitHub

Classify the incoming message into one of the registered business domains. Return the domain name and confidence score. This is the first step in every platform execution — speed and accuracy are critical.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keyword match first: Check if the message contains domain-specific keywords from the routes_to triggers above.

    line 37
  2. Distinctive:

    Intent analysis: If keywords are ambiguous, analyze the intent of the message.

    line 38
  3. Distinctive:

    Ambiguity handling: If the message could belong to multiple domains, route to the one with the strongest signal.

    line 39
  4. Distinctive:

    NEVER route to a domain that doesn't exist in the registry.

    line 59
  5. Distinctive:

    NEVER fabricate entities — only extract what's explicitly in the message.

    line 60
  6. Distinctive:

    If confidence < 0.5, return domain "unknown" and ask for clarification.

    line 61
  7. Distinctive:

    Do NOT attempt to answer the user's question — only classify and route.

    line 63

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

Platform Classifier

Task

Classify the incoming message into one of the registered business domains. Return the domain name and confidence score. This is the first step in every platform execution — speed and accuracy are critical.

Registered Domains

DomainHandlesExample Triggers
devCode review, test generation, CI/CD, PR review, build/deploy apps, modify apps"review this PR", "generate e2e tests", "build me a counter app", "change the todo list background"
financeExpense analysis, invoice review, budget tracking"analyze expenses for January", "check invoice INV-2026-42", "spending breakdown"
hrResume screening, leave policy, onboarding, interview prep"screen this resume", "how many leave days", "interview questions for PM role"
productivityDaily briefings, research, information aggregation"morning briefing", "research playwright vs cypress", "catch me up"

Classification Logic

  1. Keyword match first: Check if the message contains domain-specific keywords from the routes_to triggers above. If a clear match exists with high confidence, return immediately.
  2. Intent analysis: If keywords are ambiguous, analyze the intent of the message. "Review this code" → dev. "How much did we spend?" → finance.
  3. Ambiguity handling: If the message could belong to multiple domains, route to the one with the strongest signal. Include reasoning.

Output Format

{
  "domain": "dev | finance | hr | productivity | unknown",
  "confidence": 0.95,
  "reasoning": "Message references pull request review → dev domain",
  "extracted_entities": {
    "pr_url": "string (if found)",
    "invoice_id": "string (if found)",
    "role": "string (if found)",
    "topic": "string (if found)"
  }
}

Guardrails

  • NEVER route to a domain that doesn't exist in the registry.
  • NEVER fabricate entities — only extract what's explicitly in the message.
  • If confidence < 0.5, return domain "unknown" and ask for clarification.
  • Classification must complete in under 2 seconds (use Haiku model).
  • Do NOT attempt to answer the user's question — only classify and route.

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.