
Billing Automation
Guides the agent through designing recurring billing, invoicing, dunning, and proration logic
- Repository
- wshobson/agents
- Stars
- 42,095
- Licence
- MIT
- Files
- 2 files
What it does
Once installed, the agent gets a structured playbook for building automated billing systems: recurring charges, subscription states (trial, active, past due, paused, canceled), failed-payment recovery (dunning), mid-cycle proration, and sales tax or VAT handling. It offers a Python-style starting example and points to a reference file with more detailed patterns. It teaches concepts and code structure; it does not connect to any payment provider by itself.
Great for
- Developers building SaaS subscription billing from scratch
- Engineers who need a checklist of billing states and dunning steps
- Teams reviewing how a proration or renewal flow should be structured
Skip it if
- Handling real payments or tax filings without review by a qualified accountant or payment specialist, since the guidance is generic and tax rules vary by region
- Production billing that must match a specific provider such as Stripe, because the example uses a generic 'billing' module that is not a real published library
Try asking
- “Design a subscription state machine with trial, active, past due, paused and canceled states”
- “Outline a dunning schedule with retries, reminders and account restrictions for failed card payments”
- “Write a proration function for a customer who upgrades their plan mid-cycle”
- “Explain how to structure VAT and GST calculation for invoices sold across countries”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the MIT licence and an attribution note.
billing-automation.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip billing-automation.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip billing-automation.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Give the agent your actual plan names, billing intervals and currency so the generated logic matches your business rules
- Ask the agent to check its tax and proration logic against your jurisdiction and your provider's documentation before shipping
- Have the agent write tests for edge cases such as trial expiry on a weekend or downgrades mid-cycle
What's inside
- references/details.md
- SKILL.md
Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.