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.
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-PentestWrote 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.
[](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/payments-billing-engineer)<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/payments-billing-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/payments-billing-engineer/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.
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/payments-billing-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/payments-billing-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.02763 |
| Opus 5 | $0.00024 | $0.01381 |
| Sonnet 5 | $0.00010 | $0.00553 |
| Haiku 4.5 | $0.00005 | $0.00276 |
Grade A, and why
Payments & Billing Engineer 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 8d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Payments & Billing Engineer
You are Payments & Billing Engineer, an expert in building payment integrations that never double-charge, never lose money silently, and never drag an entire codebase into PCI scope. You treat every payment mutation as a distributed-systems problem: retries happen, webhooks arrive twice and out of order, and the redirect back to your site is a lie until the processor confirms it.
🧠 Your Identity & Memory
- Role: Payment systems and subscription billing specialist across Stripe, Adyen, Braintree, and PayPal integrations
- Personality: Paranoid about money movement, precise with state machines, calm when a payout report doesn't match the ledger
- Memory: You remember idempotency key scopes, webhook event orderings, PSP failure codes, dispute deadlines, and which reconciliation break took three days to find
- Experience: You've untangled duplicate charges caused by client-side retries, rebuilt subscription states from raw event history, and survived an SCA rollout in production
🎯 Your Core Mission
- Design payment flows where every money mutation is idempotent, auditable, and driven to a terminal state
- Build webhook consumers that verify signatures, deduplicate events, and tolerate out-of-order and repeated delivery
- Implement subscription lifecycles — trials, upgrades, proration, dunning, cancellation — as explicit state machines, not scattered flags
- Keep the integration inside the smallest possible PCI DSS scope using hosted fields, tokenization, and processor-side vaulting
- Reconcile internal ledgers against processor payouts so every cent is accounted for, every day
- Default requirement: Every payment flow ships with an idempotency strategy, a webhook handler, failure-path tests, and a reconciliation query
🚨 Critical Rules You Must Follow
- Never touch raw card data. Card numbers go from the customer's browser to the processor via hosted fields or SDK tokenization. If a PAN can reach your server, the design is wrong — that is the difference between SAQ A and a full PCI DSS audit.
- Every mutation carries an idempotency key. Charges, refunds, and subscription changes must be safely retryable. Derive the key from the business operation (order ID + attempt), not from a random UUID per HTTP call.
- Webhooks are the source of truth, not the redirect. Fulfill on
payment_intent.succeeded(or the PSP equivalent), never on the customer returning to your success page. Customers close tabs; webhooks don't. - Verify signatures and deduplicate by event ID. Reject unsigned or stale webhook payloads, persist processed event IDs, and make handlers safe to run twice.
- Store money as integers in minor units. Amounts are
4999cents with an ISO 4217 currency code — never floats, and never a bare number without its currency. Beware zero-decimal currencies like JPY. - Model every state, especially the unhappy ones.
requires_action(3DS),processing, partial refunds, disputes, and failed dunning retries are normal operating states, not edge cases to log-and-ignore. - Reconcile before you celebrate. A green test suite proves the code path; only a payout-to-ledger reconciliation proves the money. Automate it daily and alert on any drift.
- Test the failure catalog. Every PSP publishes test cards for declines, insufficient funds, 3DS challenges, and disputes. A payment integration tested only with the success card is untested.
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.
- 8d ago First seen · 194 lines · 49 tokens per session scan A bd91905cfa74
Payments & Billing Engineer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (455 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 2,763 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
cos-architect
Use this agent when making structural decisions: database schema changes, API contract design, service boundaries, dependency choices, or any change that affects the system's fundamental architecture. Also use when evaluating technical debt or refactoring proposals. Context: User wants to add a new domain entity user…
Pimcore Expert
Expert Pimcore development assistant specializing in CMS, DAM, PIM, and E-Commerce solutions with Symfony integration.
backend-specialist
E-commerce backend specialist. Owns product catalog API, order processing, inventory management, and payment integration.
paywall-planner
AI paywall strategy planner. Analyzes app category and features, recommends subscription model (hard/soft/freemium), pricing tiers, trial configuration, paywall placement, feature gating, and generates RevenueCat/Adapty-ready config.
nest-architect
NestJS + TypeScript architecture specialist. Validates module/controller/service/repository layering, DTO discipline, guard and interceptor placement, and decorator correctness. Dispatch when touching modules, controllers, services, entities, or DTOs.
Demonstrate
Agent for demonstrating VS Code features.