openclaw-skills/billing-automation/SKILL.md
Build automated billing systems for recurring payments, invoicing, subscription lifecycle, and dunning management. Use when implementing subscription billing, automating invoicing, or managing recurring payment systems.
npx skillsauth add seaworld008/commonly-used-high-value-skills billing-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Master automated billing systems including recurring billing, invoice generation, dunning management, proration, and tax calculation.
Common Intervals:
trial → active → past_due → canceled
→ paused → resumed
Automated process to recover failed payments through:
Adjusting charges when:
from billing import BillingEngine, Subscription
# Initialize billing engine
billing = BillingEngine()
# Create subscription
subscription = billing.create_subscription(
customer_id="cus_123",
plan_id="plan_pro_monthly",
billing_cycle_anchor=datetime.now(),
trial_days=14
)
# Process billing cycle
billing.process_billing_cycle(subscription.id)
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Before building or changing billing logic, capture:
Test billing changes with concrete timelines:
Record expected invoices, subscription state transitions, customer notifications, and ledger entries for each scenario. Do not ship billing automation with only happy-path tests.
Billing changes need stronger safeguards than ordinary workflow automation:
When reporting billing automation work, include the business effect:
Changed:
Risk reduced:
Customer impact:
Accounting impact:
Tests run:
Open rollout concern:
This helps reviewers evaluate both code correctness and revenue operations risk.
<!-- LOCAL-CURATION-SUPPLEMENT:END -->development
Enumerating failure modes via pre-mortem analysis. Systematically identifies failure scenarios for plans, designs, and features, scoring them with RPN/AP. Does not write code.
testing
Orchestrating specialist AI agent teams as a meta-coordinator. Decomposes requests into minimum viable chains, spawns each as an independent session in AUTORUN modes, and drives to final output. Use when a task spans multiple specialist domains, requires parallel agent execution, or needs hub-and-spoke routing across the skill ecosystem.
development
Converting document formats (Markdown/Word/Excel/PDF/HTML). Converts specs from Scribe and reports from Harvest into distributable formats; generates reusable conversion scripts. Use when converting documents, building accessibility-compliant PDFs, or creating Pandoc/LibreOffice pipelines.
testing
Curating cross-agent knowledge and guarding institutional memory. Extracts patterns from agent journals into METAPATTERNS.md, detects knowledge decay, propagates best practices, prevents organizational forgetting. Use when consolidating cross-agent insights, curating memory, or auditing knowledge decay.