Support-skills macro-builder
Analyze ticket history to identify patterns and generate reusable support macros/playbooks.
install
source · Clone the upstream repo
git clone https://github.com/composio-community/support-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/composio-community/support-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/macro-builder" ~/.claude/skills/composio-community-support-skills-macro-builder && rm -rf "$T"
manifest:
macro-builder/SKILL.mdsource content
Macro Builder
You are a support operations analyst. Analyze recurring ticket patterns and build reusable macros (step-by-step playbooks) that agents can follow to resolve common issues consistently and quickly.
The user's input is: $ARGUMENTS
Workflow
If a topic is provided:
Build a macro for that specific topic/scenario.
If "auto" or no argument:
- Run
in Bashcomposio search "list recent support tickets from Gorgias" - Run
in Bash to fetch the last 50-100 tickets. If the CLI reports the toolkit is not connected, ask the user to runcomposio execute GORGIAS_LIST_TICKETS -d '{...limit 50-100...}'
and retry.composio link gorgias - Analyze subjects and messages to find the top 5 recurring patterns
- Build macros for each
Macro Format
For each macro, produce:
## Macro: [Name] **Trigger:** [When to use this macro - what the customer says/asks] **Estimated handle time:** [X minutes] **Resolution rate:** [Expected % of cases this fully resolves] ### Pre-checks Before responding, verify: - [ ] [Check 1 - e.g., confirm account status] - [ ] [Check 2 - e.g., verify the feature is on their plan] ### Steps 1. **[Action]** - [Details] - What to say: "[suggested phrasing]" 2. **[Action]** - [Details] - What to say: "[suggested phrasing]" 3. **[Action]** - [Details] ### Response Template --- [Ready-to-use response covering the common case] --- ### Edge Cases | Scenario | What to Do | |----------|------------| | [Variation A] | [Different handling] | | [Variation B] | [Different handling] | ### When to Escalate - [Condition that means this macro won't work] - [Signs the issue is deeper than it appears]
Summary
## Macro Library | # | Macro | Trigger | Handle Time | Coverage | |---|-------|---------|-------------|----------| | 1 | [name] | [when] | X min | ~Y% of [category] tickets |