handle-complaint

Gère une réclamation client de bout en bout — extrait le contexte, rédige une réponse et suggère une correction opérationnelle. Accepte un email ou un ID de ticket en option…

npx skills add https://github.com/anthropics/knowledge-work-plugins --skill handle-complaint

Run the complaint resolution workflow by chaining two skills. Read the complaint, gather context, draft a response, and suggest a fix so it doesn't happen again.

Parse arguments:

  • EMAIL_OR_TICKET_ID (optional) — Gmail thread ID, HubSpot ticket ID, or "latest" to pull the most recent unresolved complaint. If omitted, ask the owner to paste the complaint text.

Step 1 — Load the complaint (ticket-deflector)

Using the ticket-deflector skill workflow:

  1. If an ID was given: pull the full thread from Gmail or HubSpot.
  2. If "latest": pull the most recent unresolved HubSpot ticket or Gmail thread tagged as complaint/support.
  3. If neither: ask the owner to paste the complaint text directly.
  4. Identify: customer name, order/account info, what they're upset about, what they're asking for.

Step 2 — Pull context

  1. Search HubSpot for the customer's history: past purchases, prior complaints, deal stage, lifetime value.
  2. Search PayPal for relevant transaction: order status, refund history, dispute status.
  3. Summarize: "This is a {new/returning} customer, ${lifetime_value} in purchases, {0/N} prior complaints. Their current issue is {one sentence}."

Step 3 — Draft response (ticket-deflector)

Using the ticket-deflector skill workflow for tone-matched response:

  1. Draft a reply matched to the severity and the customer's history:
    • First-time complainers with high LTV → empathetic, generous
    • Repeat complainers → professional, firm, solution-focused
    • Abusive tone → professional, brief, boundary-setting
  2. Include: acknowledgment, explanation (if known), resolution offer, next step.
  3. Present the draft to the owner. Do NOT send.

Step 4 — Suggest operational fix (customer-pulse)

  1. Check if this complaint matches a known theme (from prior /customer-pulse-check runs or similar complaints in HubSpot).
  2. If it's a pattern: "This is the {Nth} complaint about {issue} this month. Consider: {specific operational change}."
  3. If it's isolated: "This looks like a one-off. No pattern detected."

Connector failures

If Gmail and HubSpot are both unreachable, ask the owner to paste the complaint text — the skill works with manual input. If PayPal is missing, skip transaction lookup and note "PayPal not connected — order status unavailable, working from complaint text only."

Approval gates

  • Never send a response without explicit owner approval. Drafts only.
  • Never issue refunds or credits automatically. Present the option; the owner decides.
  • Never close tickets or resolve disputes without owner confirmation.

Output

Present the customer context summary, the drafted response, and any pattern-based operational suggestion. Ask: "Want to send this response, edit it, or handle it differently?"

Plus de skills de anthropic

access
anthropic
Gérer l'accès aux canaux Discord — approuver les appariements, modifier les listes d'autorisation, définir la politique de MP/groupes. Utiliser lorsque l'utilisateur demande d'appairer, d'approuver quelqu'un, de vérifier qui est autorisé,…
official
session-report
anthropic
Générer un rapport HTML explorable de l'utilisation de la session Claude Code (tokens, cache, sous-agents, compétences, prompts coûteux) à partir des transcriptions de ~/.claude/projects.
official
build-mcp-server
anthropic
Cette compétence doit être utilisée lorsque l'utilisateur demande de "construire un serveur MCP", "créer un MCP", "faire une intégration MCP", "encapsuler une API pour Claude", "exposer des outils à…
official
cookbook-audit
anthropic
Auditer un notebook du Anthropic Cookbook selon une grille d'évaluation. À utiliser lorsqu'une révision ou un audit de notebook est demandé.
official
use-case-triage
anthropic
Déterminer rapidement si une activité de traitement nécessite une PIA, une DPIA obligatoire au titre du RGPD, ou peut se poursuivre — détecte les conflits de politique de confidentialité et oriente vers la bonne…
official
board-minutes
anthropic
Rédige les procès-verbaux des réunions du conseil ou du comité dans votre format maison. Détecte automatiquement les réunions à venir du conseil et des comités à partir de votre calendrier, demande l'ordre du jour et…
official
renewal-tracker
anthropic
Affiche les contrats dont les échéances de résiliation approchent et prévient avant la fermeture des fenêtres de préavis, en travaillant à partir d’un registre de renouvellement tenu à jour. Utiliser lorsque l’utilisateur demande…
official
portfolio-monitoring
anthropic
Suivi et analyse de la performance des sociétés du portefeuille par rapport au plan. Ingère les packages financiers mensuels/trimestriels (Excel, PDF), extrait les KPI, signale les écarts par rapport à…
official