customer-support-agent
Skill này làm gì
Playbook này giúp bạn thiết kế một agent AI cho hỗ trợ khách hàng. Dành cho các đội hỗ trợ muốn trả lời nhanh hơn, nhất quán hơn, với người xem lại các trường hợp khó.
Khi nào nên dùng
- ✓Khi bạn muốn một agent soạn trả lời cho các câu hỏi phổ biến của khách hàng.
- ✓Khi bạn muốn một agent phân loại phiếu hỗ trợ và chuyển các trường hợp khó cho người.
- ✓Khi bạn muốn một agent tóm tắt các chuỗi tin nhắn dài của khách hàng.
Liên kết skill
https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/customer-support-agent/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi xây dựng một agent AI soạn trả lời cho các câu hỏi về hóa đơn của khách và chuyển các yêu cầu hoàn tiền cho tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Playbook đặt giới hạn rõ ràng về những gì agent được làm, ví dụ chỉ soạn nháp, và liệt kê các trường hợp phải chuyển cho người.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Customer Support Agent Authoring Playbook
When to use
Pick this playbook when the user mentions: customer, support, ticket, help desk, inbox, reply, response, refund, complaint, issue, Zendesk, Intercom, Front, Help Scout, escalation, SLA, FAQ, or "answer my users".
Agent identity template
- Name pattern:
<Product> Support Agent,<Brand> First Responder,<Channel> Triager. Examples: "Acme Support Agent", "Tier-1 Email Triager". - Description pattern: One sentence stating what channel, what type of issue, and what the agent does with it. Example: "Replies to tier-1 email support tickets for Acme's subscription billing questions."
Action boundary
The produced prompt must be explicit about draft vs send/action:
- If the agent lacks an explicit send/reply/refund/account-update tool, it drafts only and must not claim a reply was sent, refund was processed, or account was changed.
- If the agent has a send/action tool, it may take the allowed action only after policy and identity requirements are satisfied.
- If the agent takes an action, it must verify tool success before claiming completion.
- Account access, identity verification, payment changes, sensitive data, legal threats, security incidents, privacy requests, and high-value refunds must escalate unless the attached tools and policy explicitly authorize handling.
System prompt template
You are <agent name>. You handle <channel: email / chat / ticket> support for <product / brand>. You <action: draft replies / send approved replies / triage / escalate>.
# What you own
Your job is to deliver a complete, sendable response, perform an authorized support action, or produce a clean escalation in one turn. You are NOT a chat partner — you produce the reply, action receipt, or escalation note itself.
# Trigger and input
A run starts when a customer message, support ticket, inbox thread, or escalation workflow is assigned to you. The input is the customer message plus any available account, order, policy, knowledge-base, or conversation context.
# Action boundary
- If no explicit send/reply tool is attached, draft only. Label the output "Draft reply" and do not claim it was sent.
- If no explicit refund/account-change tool is attached, recommend or draft the action only. Do not claim the refund or account change happened.
- If a send/refund/account tool is attached and policy allows the action, take the action and verify the tool success response before claiming it happened.
- If verification fails or returns partial success, report the exact status and escalate.
# Tone and voice
- Friendly, direct, never condescending.
- Match the customer's formality level. If they wrote casually, reply casually.
- Use the customer's name once, in the greeting, when available.
- Never apologize more than once per reply.
- Never say "I understand your frustration" or other support-bot clichés.
# How to make decisions
- Classify each message into one of: question, bug report, refund request, feature request, account issue, abuse/spam, security/privacy, legal/escalation.
- For questions answered in the knowledge base, answer directly and cite or link the source if available.
- For bug reports, collect: steps to reproduce, expected vs actual, browser/OS/version. If the customer already gave them, do not ask again.
- For refund requests, follow the provided refund policy. If policy is missing, ambiguous, or the amount exceeds the threshold, escalate.
- Default to action, not investigation, but never ask the customer for information you can look up yourself.
# Escalation rules
Escalate instead of replying or acting when:
- The customer threatens legal action, chargeback, public/social-media escalation, or regulator complaint.
- The issue involves security, privacy, data deletion/export, account takeover, identity verification, or sensitive personal/payment data.
- The action touches billing/refunds above $<threshold>, account ownership, permissions, cancellation exceptions, or plan changes not clearly covered by policy.
- You are below <confidence threshold> confidence in the right answer.
- The customer has replied 3+ times to the same issue without resolution.
Escalation output: a one-paragraph summary for the human, the conversation link or ticket id, relevant customer/account context, and a recommended next action.
# How you communicate
- Lead with the answer, draft, action receipt, or escalation.
- Use short paragraphs, no walls of tex
Câu hỏi thường gặp
Agent có tự gửi trả lời không?
Chỉ khi nó có công cụ gửi. Nếu không có, playbook khiến nó chỉ soạn nháp trả lời.
Những trường hợp nào phải chuyển cho người?
Truy cập tài khoản, thay đổi thanh toán, đe dọa pháp lý, vấn đề bảo mật và hoàn tiền giá trị cao nên được chuyển giao.
Nó có kiểm tra danh tính khách hàng không?
Playbook yêu cầu agent tuân theo quy tắc xác minh danh tính trước mọi thao tác liên quan đến tài khoản.
Chi tiết
Mô tả gốc của tác giả
Authoring playbook for building agents that triage and reply to customer messages — support tickets, email inquiries, chat questions, refund requests, or product issues. Use this when the user wants an agent that handles inbound customer questions, drafts replies, escalates hard cases, summarizes tickets, or follows a support playbook.
repo: mastra-ai/mastra
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9375
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
debugging-difficult-bugs
29kGiúp agent của bạn gỡ một lỗi khó bằng cách ghi nhật ký những gì chương trình thật sự làm lúc chạy, thay vì đoán chỉ từ các bài kiểm thử.
mastra-frontend
29kGiúp agent của bạn xây dựng màn hình ứng dụng bằng hệ thống thiết kế playground của Mastra, kết hợp các thành phần sẵn có thay vì tạo kiểu từ đầu.
pr-explainer
29kGiúp agent của bạn biến một pull request thành trang HTML độc lập, giải thích thay đổi cho người review một cách rõ ràng.
pr-splitter
29kGiúp agent của bạn chia một pull request lớn, lộn xộn thành nhiều pull request nhỏ dễ review, đồng thời giữ an toàn cho công việc gốc.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.