customer-billing-ops
affaan-m/everything-claude-code
Manage customer billing workflows—subscriptions, refunds, churn, and plan analysis—via Stripe and billing tools.
What is customer-billing-ops?
Operate real customer billing issues like refunds, duplicate subscriptions, failed payments, and churn triage. Use this skill when a customer reports billing problems, you need to inspect subscription state, or you're managing revenue-impacting billing operations.
- Identify customers cleanly using email, Stripe ID, subscription ID, or invoice ID
- Classify billing issues into actionable buckets: duplicates, multi-seat intent, failed payments, missing self-serve, or product failure
- Inspect active/canceled subscriptions, invoices, and billing anomalies
- Execute safe, reversible actions: restore self-serve portals, fix billing state, or process targeted refunds
- Document operator-side product gaps and separate customer remediation from backlog work
How to install customer-billing-ops
npx skills add https://github.com/affaan-m/everything-claude-code --skill customer-billing-ops- Connected Stripe account or other billing platform with API access
- Customer identifier: email, Stripe customer ID, subscription ID, or invoice ID
How to use customer-billing-ops
- 1.Identify the customer using the strongest available identifier (email, Stripe ID, subscription ID, or invoice ID)
- 2.Retrieve and summarize their billing state: active subscriptions, canceled subscriptions, invoices, and anomalies
- 3.Classify the issue into one category: duplicate personal subscription, multi-seat/team intent, failed payment, missing self-serve controls, or product failure
- 4.Take the safest reversible action first: restore self-serve management, fix billing state, or refund only the affected charge
- 5.Document the decision, action taken, revenue impact, and any product gaps discovered
- 6.Prepare a short follow-up message for the customer
Use cases
- Customer reports a refund request or cannot cancel their subscription
- Investigate duplicate charges, failed renewals, or accidental multi-seat purchases
- Review plan mix, yearly vs. monthly conversion, or team-seat confusion
- Audit support complaints involving subscriptions, invoices, or payment methods
- Validate or troubleshoot a billing portal flow
- Support operators handling customer billing complaints
- Revenue or billing operations teams
- Customer success managers investigating churn or billing anomalies
customer-billing-ops FAQ
No. First classify the issue. Distinguish between accidental duplicates, deliberate multi-seat purchases, failed checkouts, and product failures. Refund only the affected charge after confirming the root cause.
Verify the contract shape before taking action. Check whether it is a real multi-seat/team intent or an accidental duplicate. For prorated states, confirm the billing model before refunding.
First check if a self-serve cancellation path exists in the billing portal. If not, that is a product gap. In the meantime, cancel the subscription directly via Stripe and document the missing control.
Never include secret keys, full card details, or unnecessary PII in your response. Use Stripe customer IDs and masked identifiers instead.
Separate customer remediation (refund, portal access, cancellation) from product work. Document the bug and create a backlog item; do not delay the customer fix.
Full instructions (SKILL.md)
Source of truth, from affaan-m/everything-claude-code.
name: customer-billing-ops description: Operate customer billing workflows such as subscriptions, refunds, churn triage, billing-portal recovery, and plan analysis using connected billing tools like Stripe. Use when the user needs to help a customer, inspect subscription state, or manage revenue-impacting billing operations. metadata: origin: ECC
Customer Billing Ops
Use this skill for real customer operations, not generic payment API design.
The goal is to help the operator answer: who is this customer, what happened, what is the safest fix, and what follow-up should we send?
When to Use
- Customer says billing is broken, they want a refund, or they cannot cancel
- Investigating duplicate subscriptions, accidental charges, failed renewals, or churn risk
- Reviewing plan mix, active subscriptions, yearly vs monthly conversion, or team-seat confusion
- Creating or validating a billing portal flow
- Auditing support complaints that touch subscriptions, invoices, refunds, or payment methods
Preferred Tool Surface
- Use connected billing tools such as Stripe first
- Use email, GitHub, or issue trackers only as supporting evidence
- Prefer hosted billing/customer portals over custom account-management code when the platform already provides the needed controls
Guardrails
- Never expose secret keys, full card details, or unnecessary customer PII in the response
- Do not refund blindly; first classify the issue
- Distinguish among:
- accidental duplicate purchase
- deliberate multi-seat or team purchase
- broken product / unmet value
- failed or incomplete checkout
- cancellation due to missing self-serve controls
- For annual plans, team plans, and prorated states, verify the contract shape before taking action
Workflow
1. Identify the customer cleanly
Start from the strongest identifier available:
- customer email
- Stripe customer ID
- subscription ID
- invoice ID
- GitHub username or support email if it is known to map back to billing
Return a concise identity summary:
- customer
- active subscriptions
- canceled subscriptions
- invoices
- obvious anomalies such as duplicate active subscriptions
2. Classify the issue
Put the case into one bucket before acting:
| Case | Typical action |
|---|---|
| Duplicate personal subscription | cancel extras, consider refund |
| Real multi-seat/team intent | preserve seats, clarify billing model |
| Failed payment / incomplete checkout | recover via portal or update payment method |
| Missing self-serve controls | provide portal, cancellation path, or invoice access |
| Product failure or trust break | refund, apologize, log product issue |
3. Take the safest reversible action first
Preferred order:
- restore self-serve management
- fix duplicate or broken billing state
- refund only the affected charge or duplicate
- document the reason
- send a short customer follow-up
If the fix requires product work, separate:
- customer remediation now
- product bug / workflow gap for backlog
4. Check operator-side product gaps
If the customer pain comes from a missing operator surface, call it out explicitly. Common examples:
- no billing portal
- no usage/rate-limit visibility
- no plan/seat explanation
- no cancellation flow
- no duplicate-subscription guard
Treat those as ECC or website follow-up items, not just support incidents.
5. Produce the operator handoff
End with:
- customer state summary
- action taken
- revenue impact
- follow-up text to send
- product or backlog issue to create
Output Format
Use this structure:
CUSTOMER
- name / email
- relevant account identifiers
BILLING STATE
- active subscriptions
- invoice or renewal state
- anomalies
DECISION
- issue classification
- why this action is correct
ACTION TAKEN
- refund / cancel / portal / no-op
FOLLOW-UP
- short customer message
PRODUCT GAP
- what should be fixed in the product or website
Examples of Good Recommendations
- "The right fix is a billing portal, not a custom dashboard yet"
- "This looks like duplicate personal checkout, not a real team-seat purchase"
- "Refund one duplicate charge, keep the remaining active subscription, then convert the customer to org billing later if needed"
Related skills
More from affaan-m/everything-claude-code and the wider catalog.

security-review
Security checklist and patterns for authentication, input validation, secrets, and sensitive features.

golang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable applications.

coding-standards
Baseline coding conventions for naming, readability, immutability, and quality across projects.

frontend-patterns
React and Next.js patterns for components, state management, performance, and modern frontend practices.

backend-patterns
REST/GraphQL API design, database optimization, and server-side patterns for Node.js, Express, and Next.js.

golang-testing
Go testing patterns: table-driven tests, subtests, benchmarks, fuzzing, and TDD methodology.