financeby dicklesworthstone
Billing Automation
dicklesworthstone/billing-automation
Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and dunning management.
What it changes
Passed 16 of 23 test cases with the skill, and 12 of 23 without it.
Without skill52%
With skill70%
Checks it passed that the model alone missed
- Classifies jurisdictions starting with US_ as Sales Tax.
- Formats US state jurisdictions as US_<STATE_CODE>, such as US_CA or US_NY.
- Uses payment_recovered as the template name upon successful payment recovery.
and 2 more in the full report
4 fixed12 passed either way7 still failing0 broke
- Pass-rate lift
- +17 pp
- Tokens
- +120%
- Agent turns
- 0%
- Response time
- -11%
Model gemini-3.6-flashMeasured 8/29/2026v116 of 23 cases passed with skill
See it in action
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptIn a dunning execution method, what action should be taken on the subscription object when attempt_number exceeds the available retry schedule steps?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Calls subscription.cancel(at_period_end=False) when dunning retry attempts are exhausted. | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md561 linessingle file
Billing Automation
Master automated billing systems including recurring billing, invoice generation, dunning management, proration, and tax calculation.
When to Use This Skill
- Implementing SaaS subscription billing
- Automating invoice generation and delivery
- Managing failed payment recovery (dunning)
- Calculating prorated charges for plan changes
- Handling sales tax, VAT, and GST
- Processing usage-based billing
- Managing billing cycles and renewals
Core Concepts
1. Billing Cycles
Common Intervals:
- Monthly (most common for SaaS)
- Annual (discounted long-term)
- Quarterly
- Weekly
- Custom (usage-based, per-seat)
2. Subscription States
trial → active → past_due → canceled
→ paused → resumed
3. Dunning Management
Automated process to recover failed payments through:
- Retry schedules
- Customer notifications
- Grace periods
Track record
Benchmark
16 / 23
test cases passed, vs 12 / 23 without
Adoption
- Users
- 1
- Times used
- 13
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/10/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importeddicklesworthstone / pi_agent_rust
tests/ext_conformance/artifacts/agents-wshobson/payment-processing/skills/billing-automation/SKILL.md
View on GitHub ↗License NOASSERTIONImported 8/10/2026Version v1