alex-jb

Payments Agent — Development skill for Claude Code

Development community

Overdue-invoice reminder drafter.

How to install Payments Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open alex-jb/payments-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Payments Agent does

Overdue-invoice reminder drafter. Stripe-shaped types + MockProvider fallback. Hard money-safety prompt rules (verified in tests). pip · MIT.

Alternatives in Development

  • Stripe — Payments Stripe integration with best-practices skill 14k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
  • Param Discover — Discover hidden HTTP parameters on a URL or list of URLs using Arjun (or x8 fallback) 4.5k ★

README

payments-agent

Solo Founder OS agent #11 — overdue-invoice reminder drafter with HITL gating.

The 7th canonical layer of a one-person-company stack: monetization. Drafts reminder emails for overdue Stripe invoices, picks tone by severity (gentle / firm / final), queues every draft for human approval before send.

Built on [solo-founder-os](https://github.com/alex-jb/solo-founder-os) — uses its `HitlQueue`, `AnthropicClient`, `log_outcome`, and `record_example` primitives.

Why money is special

The agent's system prompt has hard rules other agents don't need:

  • NEVER thank a customer for a payment that didn't happen.
  • State the EXACT amount and currency from the invoice. No rounding.
  • State the EXACT number of days overdue.
  • NEVER invent a payment link.

These are asserted in tests so a future prompt rewrite can't drift them away.

Install

pip install payments-agent

Optional Stripe wiring (v0.2):

pip install 'payments-agent[stripe]'
export STRIPE_API_KEY=sk_live_...

Without `STRIPE_API_KEY`, the agent uses `MockProvider` with three fixture invoices — useful for dev, demos, dry-runs, and the "I don't have Stripe yet" onboarding path.

Usage

# Dry-run with mock invoices, queue 3 reminders to ~/.payments-agent/queue/pending/
payments-agent triage

# Show queue counts
payments-agent queue-status

# Approve / reject manually:
mv ~/.payments-agent/queue/pending/.md \
   ~/.payments-agent/queue/approved/

# Or use sfos-ui (from solo-founder-os) for a unified dashboard across
# all SFOS agents:
sfos-ui

Severity ladder

Days overdue Severity Tone
0–7 gentle "just a heads up"
8–30 firm direct + mention next-step consequences
>30 final service suspension as next step

Status

v0.1 — mock provider only. Real Stripe wiring lands in v0.2 once the agent has been validated against fixture data.

License

MIT.


🧩 Part of the [Solo Founder OS](https://github