agentleFS
c-monganc-mongan/support-triage-agent-template/CLAUDE.md

support-triage-agent-template

CLAUDE.md0 starsChanged 36 days agoMITView on GitHub

A read-only, evidence-graded support investigation workflow. The agent turns messy customer tickets into structured triage reports with confidence scoring, known-issue search, and a customer-ready response draft. This file is the entry point for Claude Code. The companion AGENTS.md carries the same workflow rules in a portable form for other AGENTS-aware clients (Codex, GitHub Copilot CLI, Cursor). The shipped slash command is /triage: The command delegates to the read-only agent in agents/support-triage-agent.md and runs the full workflow described there: intake →…

The file

We split this CLAUDE.md 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. Very specific:

    Add product-specific diagnosis skills under skills/<your-product-area>-diagnosis/.

    line 44
  2. Distinctive:

    Keep the report shape stable so reports stay comparable across tickets and across investigators.

    line 47
  3. Distinctive:

    When MCP servers connect to real customer systems, customer data passes through the LLM provider.

    line 51
  4. Distinctive:

    Prefer Zero Data Retention or in-boundary routing (Bedrock / Vertex / equivalent).

    line 54
  5. Distinctive:

    Consider running with MCP project tools removed for low-trust contexts (demos, evals).

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md

Support Triage Agent Template

A read-only, evidence-graded support investigation workflow. The agent turns messy customer tickets into structured triage reports with confidence scoring, known-issue search, and a customer-ready response draft.

This file is the entry point for Claude Code. The companion AGENTS.md carries the same workflow rules in a portable form for other AGENTS-aware clients (Codex, GitHub Copilot CLI, Cursor).

How to run

The shipped slash command is /triage:

/triage <paste ticket text or path to a ticket file>

The command delegates to the read-only agent in agents/support-triage-agent.md and runs the full workflow described there: intake → parallel research → known-issue search → synthesis → review.

Project structure

  • agents/support-triage-agent.md — agent definition (workflow, rules, read-only tool allow-list, anti-hallucination guards); symlinked into .claude/agents/ so the repo also works as a plain Claude Code project
  • commands/triage.md — /triage slash command; symlinked into .claude/commands/
  • .claude/settings.json — read-only allow/deny defaults (no destructive verbs, no flag/ticket mutations)
  • .mcp.json.example — connector cookbook for common support stacks (GitHub, Sentry, Linear, Slack, DeepWiki, Context7); copy to .mcp.json and fill in
  • skills/ — composable workflow skills (intake, known-issue search, triage report, response drafting, escalation, redaction, log evidence, reproduction steps, KB article)
  • skills/*/references/ — canonical report shapes (triage report, customer response, escalation brief), shipped inside the skills so installed plugins can find them
  • examples/tickets/ and examples/mock-sources/ — synthetic tickets and an offline mock bug tracker, docs, release notes and status page
  • reports/ and docs/demo/ — sample output and recorded E2E runs
  • .claude-plugin/plugin.json (Claude Code) and plugin.json (GitHub Copilot CLI) — plugin manifests sharing the same skills, agent and command
  • docs/architecture.md — mermaid view of the workflow
  • docs/connectors.md — MCP connector cookbook with copy-paste examples
  • AGENTS.md — same rules, portable form for other clients

What this template is not

  • It is not an integration with any specific company. The sample domain is synthetic.
  • It does not auto-respond to customers. Every report is a draft for a human support engineer to review.
  • It does not write to production systems. All investigation is read-only.

Adapting it

To use this on a real product, edit four places:

  1. skills/ticket-intake/SKILL.md — replace generic product areas with yours.
  2. .mcp.json.example → .mcp.json — wire your real MCP servers (your bug tracker, your error monitor, your docs source).
  3. Add product-specific diagnosis skills under skills/<your-product-area>-diagnosis/.
  4. examples/tickets/ and reports/sample-triage-report.md — replace with sanitized real examples.

Keep the report shape stable so reports stay comparable across tickets and across investigators.

Data governance reminder

When MCP servers connect to real customer systems, customer data passes through the LLM provider. Before pointing this template at production:

  • Confirm your LLM provider has a DPA covering customer data.
  • Prefer Zero Data Retention or in-boundary routing (Bedrock / Vertex / equivalent).
  • Scope MCP API keys per engineer with audit logging.
  • Consider running with MCP project tools removed for low-trust contexts (demos, evals); the agent degrades gracefully and asks the customer to verify what it cannot check.

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.