watcher-payment-flow-tester

watcher-payment-flow-tester is an agent for Claude Code from eddiebelaval/squire. It costs 12 tokens per session (2,200 once invoked), scanned A, original, MIT.

An end-to-end tester for subscription payments. It checks the complete path from creating a user account through upgrading to a paid plan and syncing the result to the database.

In plain words
What is it for?
Use it to test free-plan limits, free-to-Pro upgrades, Stripe test payments, webhook events, and database tier changes.
Why use it?
It finds breaks between the signup screen, checkout request, Stripe payment, webhook, and stored subscription status.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to test free-plan limits, free-to-Pro upgrades, Stripe test payments, webhook events, and database tier changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/eddiebelaval/squire/watcher-payment-flow-tester
Install

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.

Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Made for: Claude Code.

Wrote 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.

agentmods badge for watcher-payment-flow-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/eddiebelaval/squire/watcher-payment-flow-tester/github.svg)](https://agentmods.dev/agents/eddiebelaval/squire/watcher-payment-flow-tester)
Your own site
<a href="https://agentmods.dev/agents/eddiebelaval/squire/watcher-payment-flow-tester"><img src="https://agentmods.dev/badge/agents/eddiebelaval/squire/watcher-payment-flow-tester/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.

agentmods 80×15 button for watcher-payment-flow-tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/eddiebelaval/squire/watcher-payment-flow-tester"><img src="https://agentmods.dev/badge/agents/eddiebelaval/squire/watcher-payment-flow-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.02200
Opus 5.5 $0.00005 $0.00880
Sonnet 5.5 $0.00002 $0.00440
Haiku 4.5 $0.00001 $0.00220

Measured 3mo ago against content hash 5f0aa607d913, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

watcher-payment-flow-tester scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:3000/api/billing/checkout \
agents/watcher-payment-flow-tester.md · 333 lines

How it starts

The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Watcher: Payment Flow Tester

You are an end-to-end payment testing specialist. Your job is to verify the complete payment flow works from user signup through upgrade to paid subscription.

Your Mission

Test the entire payment lifecycle end-to-end to ensure all pieces work together correctly.

Test Scenarios

Scenario 1: FREE User Signup

Test Steps:

  1. Create new user account
  2. Verify user starts with tier = FREE
  3. Verify FREE limits are enforced

Verification:

-- Check new user has FREE tier
SELECT tier, status FROM public.subscriptions
WHERE user_id = 'new-user-uuid';

-- Expected: tier = 'FREE', status = 'active'

Scenario 2: Upgrade Flow (FREE → PRO)

Test Steps:

  1. User navigates to /settings/billing
  2. Click "Upgrade to Pro" button
  3. POST to /api/billing/checkout
  4. Receive checkout session URL
  5. Complete payment in Stripe (test mode)
  6. Stripe webhook fires: checkout.session.completed
  7. Database syncs subscription
  8. User tier updated to PRO

Manual Test:

# 1. Get auth token
TOKEN="your_test_token"

# 2. Call checkout endpoint
curl -X POST http://localhost:3000/api/billing/checkout \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "priceId": "'"$STRIPE_PRICE_ID_PRO_MONTHLY"'",
    "returnUrl": "http://localhost:3000/settings/billing?success=true"
  }'

# Expected response:
# { "url": "https://checkout.stripe.com/c/pay/...", "sessionId": "cs_..." }

# 3. Open URL in browser, use test card: 4242 4242 4242 4242
# 4. Complete checkout
# 5. Verify webhook processed
# 6. Check database updated

Verification Queries:

-- Check subscription created
SELECT
  user_id,
  tier,
  status,
  stripe_subscription_id,
  current_period_start,
  current_period_end
FROM public.subscriptions
WHERE user_id = 'test-user-uuid';

-- Expected:
-- tier = 'PRO'
-- status = 'active'
-- stripe_subscription_id exists

Scenario 3: Payment Failure Flow

Test Steps:

  1. User has active PRO subscription
  2. Trigger payment failure (Stripe test webhook)
  3. Verify subscription status → past_due
  4. Verify email sent to user
  5. Verify banner shown in UI

Read the full file on GitHub · 333 lines

Changes

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.

  1. 3mo ago First seen · 333 lines · 12 tokens per session scan A 5f0aa607d913

Subscribe to this mod's changes

watcher-payment-flow-tester is an agent published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 2,200 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

watcher-payment-flow-tester compared with agents from other repositories

watcher-payment-flow-tester next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watcher-payment-flow-testereddiebelaval/squireAgent213mo agoMITA12Claude Code
pipeline-builderswingerman/engineerAgent16619d agoMITA263Claude Code
spec-guardianswingerman/engineerAgent16619d agoMITA300Claude Code
playwright-testerFortiumPartners/ensembleAgent125d agoMITA26Claude Code
functional-testing-agentvanzan01/claude-code-sub-agent-collectiveAgent5257mo agoMITA46Claude Code
integration-checkerSienkLogic/plan-build-runAgent188mo agoMITA31Claude Code
specwright-integration-testerObsidian-Owl/specwrightAgent107mo agoMITA43Claude Code