customer-billing-ops

customer-billing-ops is a skill for Claude Code, Codex from unrealandychan/clean-code-skill. It costs 57 tokens per session (892 once invoked), scanned A, a copy of customer-billing-ops, MIT.

A workflow for handling real customer billing issues in connected tools such as Stripe, including subscriptions, refunds, failed renewals, and billing portals.

In plain words
What is it for?
Use it to investigate duplicate charges, cancellations, churn concerns, plan or seat confusion, failed payments, refunds, and billing-support complaints.
Why use it?
It helps separate different billing problems and choose a safe response without exposing payment details or refunding customers blindly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate duplicate charges, cancellations, churn concerns, plan or seat confusion, failed payments, refunds, and billing-support complaints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unrealandychan/clean-code-skill/customer-billing-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add unrealandychan/clean-code-skill --skill customer-billing-ops
Clone the repo
git clone --depth 1 https://github.com/unrealandychan/clean-code-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for customer-billing-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/unrealandychan/clean-code-skill/customer-billing-ops/github.svg)](https://agentmods.dev/skills/unrealandychan/clean-code-skill/customer-billing-ops)
Your own site
<a href="https://agentmods.dev/skills/unrealandychan/clean-code-skill/customer-billing-ops"><img src="https://agentmods.dev/badge/skills/unrealandychan/clean-code-skill/customer-billing-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for customer-billing-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/unrealandychan/clean-code-skill/customer-billing-ops"><img src="https://agentmods.dev/badge/skills/unrealandychan/clean-code-skill/customer-billing-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00892
Opus 5 $0.00028 $0.00446
Sonnet 5 $0.00011 $0.00178
Haiku 4.5 $0.00006 $0.00089

Measured today against content hash 4214d79be7d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

customer-billing-ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to customer-billing-ops — 27 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ecc/customer-billing-ops/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 142 lines · 57 tokens per session scan A 4214d79be7d1

Subscribe to this mod's changes

customer-billing-ops is a skill published in the GitHub repository unrealandychan/clean-code-skill (6 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 892 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to customer-billing-ops, differing in 27 lines, and is treated as a copy.

Related

Other skills, from other repositories