customer-support-builder
БесплатноБез исполняемых скриптовНе проверенGuide users through building a custom customer support automation skill for their company. Walks through planning integrations, writing scripts for their…
от nbashaw★ 91 звезда на GitHubОб этом скилле
Customer Support Skill Builder
Help users create a custom Claude Code skill for automating their customer support workflow.
Overview
This skill guides users through building a support automation system tailored to their company's tools (support platform, billing, database). The result is a working skill that can triage tickets, gather customer context, draft responses, and execute common support operations.
Important: Always Start with Discovery
When this skill is invoked, ALWAYS begin with discovery questions. Never assume their tech stack.
Step 1: Discovery - Understand Their Support Stack
Ask the user about their support infrastructure:
Required Questions:
- Support/Ticketing Platform: "What platform do you use for customer support?" (Zendesk, Intercom, HelpScout, Freshdesk, Front, etc.)
- Billing/Payment System: "What do you use for billing?" (Stripe, Chargebee, Paddle, etc.)
- Database Access: "Do you have access to your production database for customer lookups?" (PostgreSQL, MySQL, MongoDB, etc.)
- API Access: "Do you have API credentials for these platforms?"
- Other Tools: "Any other tools you frequently use for support?" (Analytics, feature flags, email service, etc.)
Present their answers back in a summary and confirm before proceeding.
Step 2: Set Up Project Structure
Create the skill directory structure in their repository:
mkdir -p support-automation/{scripts,references/common-responses}
touch support-automation/config.ts
touch support-automation/README.md
Create .claude/skills/support/skill.md if they want it as a Claude skill (recommended).
Files to create:
config.ts- Environment variable loading and shared configurationREADME.md- Human-readable documentationskill.md- Claude skill definition (if using as skill)scripts/- All automation scriptsreferences/common-responses/- Response templates
Step 3: Plan Integration Scripts
Based on their stack, plan the scripts they'll need.
For ANY Support Platform (Zendesk, Intercom, HelpScout, etc.)
Core Scripts:
list-open-tickets.ts- List all open/pending tickets with automatic paginationget-ticket.ts <ticket_id>- Fetch complete ticket/conversation detailsreply-to-ticket.ts <ticket_id> "<message>"- Send response to customerclose-ticket.ts <ticket_id>- Mark ticket as resolvedget-customer-context.ts <customer_email>- Unified view across all platforms
Optional but useful:
reopen-ticket.ts- Reopen closed ticketssearch-tickets.ts- Search ticket historylist-saved-replies.ts- Get canned responses from platform
For Billing (Stripe, Chargebee, etc.)
Core Scripts:
search-billing.ts <email>- Look up customer by emailissue-refund.ts <charge_id> <amount>- Process refundscancel-subscription.ts <subscription_id>- Cancel subscriptions
Optional:
create-coupon.ts- Generate discount codesupdate-subscription.ts- Modify subscription
For Database Access
Core Script:
query-db.ts [query]- Run read-only SQL queries- Support
--tablesto list all tables - Support
--schema <table>to show table structure - Only allow SELECT, WITH, SHOW, EXPLAIN (read-only)
- Support
Setup Validation
Always create:
check-setup.ts- Validates all required environment variables exist
Step 4: Write the Configuration File
Create config.ts that loads environment variables:
import dotenv from 'dotenv';
import path from 'path';
// Load .env.local from the repository root
dotenv.config({ path: path.resolve(__dirname, '../.env.local') });
// Validate required environment variables
export function validateEnv(required: string[]) {
const missing = required.filter(key => !process.env[key]);
if (missing.length > 0) {
console.error('Missing required environment variables:', missing);
process.exit(1);
}
}
Step 5: Create Helper Libraries
Based on their stack, create helper libraries in lib/ directory:
Example: HelpScout Helper (lib/helpscout.ts)
- Authentication (OAuth or API key)
- List conversations with pagination
- Get conversation details
- Reply to conversations
- Update conversation status
- Search customers
Example: Stripe Helper (lib/stripe.ts)
- Search customers
- Get subscription details
- Issue refunds
- Cancel subscriptions
- Create coupons
Key principle: Wrap the platform APIs with clean TypeScript functions that the scripts can use.
Step 6: Build Core Scripts
For each planned script:
- Import configuration - Load env vars at the top
- Parse arguments - Use process.argv for CLI args
- Call helper functions - Use the lib/ helpers
- Output JSON - Always output structured JSON for Claude to parse
- Error handling - Catch errors and output error JSON
Example structure:
#!/usr/bin/env tsx
import '../config';
import { getTicket } f
Установить customer-support-builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл customer-support-builder?
Guide users through building a custom customer support automation skill for their company. Walks through planning integrations, writing scripts for their support stack (Zendesk, HelpScout, Intercom, etc.), creating response templates, and setting up an automated triage workflow. Use when users want to create their own support automation.
Как установить скилл customer-support-builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл customer-support-builder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic