customer-support-agent
できること
この手引きは、カスタマーサポート向けのAIエージェントを設計する助けになります。より速く一貫した返信を求め、難しい案件には人の確認を入れたいサポートチーム向けです。
使う場面
- ✓よくある顧客の質問に、返信の下書きを作るエージェントがほしいとき。
- ✓サポートのチケットを仕分け、難しい案件を人に回すエージェントがほしいとき。
- ✓長い顧客のやり取りを要約するエージェントがほしいとき。
スキルのリンク
https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/customer-support-agent/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“顧客の請求に関する質問への返信の下書きを作り、返金は私に回すAIエージェントを作る手伝いをしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
この手引きは、エージェントにできることの明確な制限を設定します。たとえば、下書きだけにするなどです。人に回すべき案件の一覧も挙げます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
エージェントは自分で返信を送りますか?
送信のツールがある場合に限ります。ツールがなければ、手引きは下書きのみにします。
どの案件は人に回すべきですか?
アカウントへのアクセス、支払いの変更、法的な脅し、セキュリティの問題、高額の返金は引き継ぐべきです。
顧客の本人確認をしますか?
手引きは、アカウントに関する操作の前に、エージェントが本人確認のルールに従うよう求めています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 29k
- ランキング
- #9375
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
debugging-difficult-bugs
29kエージェントが、本物のプログラムが実行時にどう動くかをログに残して、難しいバグをデバッグできるよう支援します。テストだけで推測するのではありません。
mastra-frontend
29kエージェントが、スタイルを一から書くのではなく、既製のコンポーネントを組み合わせて、Mastraのプレイグラウンドのデザインシステムで画面を作れるよう支援します。
pr-explainer
29kエージェントが、プルリクエストを、レビューアー向けに変更内容を説明する、単独で読める分かりやすいHTMLページに変換できるよう支援します。
pr-splitter
29kエージェントが、大きく入り組んだプルリクエストを、元の作業を安全に保ちながら、レビューしやすい小さなプルリクエストに分けられるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。