Communitygithub.com

客户计费运营

使用连接的计费工具(如 Stripe)处理客户计费工作流,包括订阅、退款、流失分类、计费门户恢复和套餐分析。当用户需要帮助客户、检查订阅状态或管理影响收入的计费操作时使用。

客户计费运营 是什么?

该技能专用于支持 AI 代理在真实客户场景中执行计费运营任务,而非通用支付 API 设计。它通过结构化的五步工作流引导操作者回答四个核心问题:客户是谁、发生了什么、最安全的修复方案是什么、以及应发送何种后续沟通。技能支持通过 Stripe 等工具直接操作,同时利用邮件、GitHub 等作为辅助证据,并强调优先使用托管计费/客户门户而非自定义账户管理代码。其设计包含了严格的防护措施,如不暴露密钥或完整卡号、不盲目退款,并在执行前要求对问题进行分类(如重复购买、多席位团队购买、产品失败等)。最终输出包括客户状态摘要、已采取的行动、收入影响、客户跟进文本以及需要提交的产品或待办事项,非常适合用于客户支持、流失分析和计费相关问题的自动化处理。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/customer-billing-ops

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

客户计费运营 是做什么的?

使用此技能进行真实客户操作,而非通用支付 API 设计。

目标是帮助操作者回答:此客户是谁、发生了什么、最安全的修复方案是什么、以及应发送何种后续沟通。

何时使用

  • 客户表示计费出现问题、希望退款或无法取消
  • 调查重复订阅、意外收费、续费失败或流失风险
  • 审查套餐组合、活跃订阅、年度与月度转换或团队席位混淆
  • 创建或验证计费门户流程
  • 审计涉及订阅、发票、退款或支付方式的支持投诉

首选操作工具

  • 优先使用连接的计费工具(如 Stripe)
  • 邮件、GitHub 或问题追踪器仅作为辅助证据
  • 当平台已提供所需控制功能时,优先使用托管的计费/客户门户而非自定义账户管理代码

防护措施

  • 切勿在响应中暴露密钥、完整卡号或不必要的客户 PII
  • 不要盲目退款;首先对问题进行分类
  • 区分以下情况:
    • 意外重复购买
    • 有意的多席位或团队购买
    • 产品故障/未实现价值
    • 支付失败或未完成结账
    • 因缺少自助控制而取消
  • 对于年度套餐、团队套餐和按比例折算的状态,在执行操作前需验证合同形态

工作流

1. 清晰识别客户

从可用的最强标识符开始:

  • 客户邮箱
  • Stripe 客户 ID
  • 订阅 ID
  • 发票 ID
  • GitHub 用户名或支持邮箱(若已知其可映射到计费)

返回简洁的身份摘要:

  • 客户
  • 活跃订阅
  • 已取消订阅
  • 发票
  • 明显的异常情况(如重复的活跃订阅)

2. 对问题进行分类

在执行操作前,将案例归入一个类别:

案例典型操作
重复的个人订阅取消多余的订阅,考虑退款
真实的多席位/团队意图保留席位,明确计费模型
支付失败/未完成结账通过门户恢复或更新支付方式
缺少自助控制提供门户、取消路径或发票访问权限
产品故障或信任破裂退款、道歉、记录产品问题

3. 首先采取最安全的可逆操作

优先顺序:

  1. 恢复自助管理
  2. 修复重复或错误的计费状态
  3. 仅对受影响的收费或重复项进行退款
  4. 记录原因
  5. 发送简短的客户跟进

如果修复需要产品工作,请将以下内容分开:

  • 立即的客户补救措施
  • 待办事项中的产品缺陷/工作流缺口

4. 检查操作端产品缺口

如果客户的痛苦源于缺少操作界面,请明确指出来。常见示例:

  • 无计费门户
  • 无使用量/速率限制可见性
  • 缺乏套餐/席位说明
  • 无取消流程
  • 无重复订阅防护

将这些视为 ECC 或网站跟进事项,而不仅仅是支持事件。

5. 生成操作者交接信息

最终输出应包括:

  • 客户状态摘要
  • 已采取的行动
  • 收入影响
  • 要发送的跟进文本
  • 要创建的产品或待办事项

输出格式

使用以下结构:

客户
- 姓名 / 邮箱
- 相关账户标识符

计费状态
- 活跃订阅
- 发票或续费状态
- 异常情况

决策
- 问题分类
- 为何此操作正确

已采取的行动
- 退款 / 取消 / 门户 / 无操作

跟进
- 简短的客户消息

产品缺口
- 应在产品或网站中修复的内容

优秀建议示例

  • "正确的修复方式是计费门户,而非自定义仪表盘"
  • "这看起来是重复的个人结账,而非真实的团队席位购买"
  • "退还一次重复收费,保留剩余的活跃订阅,如有必要后续可将客户转换为组织计费"

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能