home / skills / phrazzld / claude-config / check-payments
This skill audits multiple payment providers such as Stripe, Bitcoin, and Lightning, consolidating findings into a single actionable report.
npx playbooks add skill phrazzld/claude-config --skill check-paymentsReview the files below or copy the command above to add this skill to your agents.
---
name: check-payments
description: |
Multi-provider payment audit. Runs check-stripe, check-bitcoin, check-lightning.
Outputs consolidated findings. Use log-*-issues to create GitHub issues.
Invoke for: comprehensive payment review, multi-provider audit.
---
# /check-payments
Audit all payment providers. Orchestrates provider checks, consolidates output.
## What This Does
1. Detect configured payment providers
2. Run applicable provider checks
3. Consolidate findings into one P0-P3 report
**This is a primitive.** Investigate only. No fixes.
## Process
### 1. Detect Providers
Run detection below. Note which providers are present.
### 2. Run Checks
Run only applicable checks:
- `/check-stripe`
- `/check-bitcoin`
- `/check-lightning`
- `/check-btcpay`
### 3. Consolidate Findings
Merge findings into one report. Deduplicate overlaps. Keep P0-P3.
## Provider Detection
```bash
# Stripe: package + env
grep -q "stripe" package.json 2>/dev/null && echo "✓ Stripe SDK" || echo "✗ Stripe SDK"
env | grep -q "STRIPE_" && echo "✓ STRIPE_* vars" || grep -q "STRIPE_" .env.local 2>/dev/null && echo "✓ STRIPE_* vars (file)" || echo "✗ STRIPE_* vars"
# Bitcoin: CLI + env
command -v bitcoin-cli >/dev/null && echo "✓ bitcoin-cli" || echo "✗ bitcoin-cli"
env | grep -q "BITCOIN_" && echo "✓ BITCOIN_* vars" || grep -q "BITCOIN_" .env.local 2>/dev/null && echo "✓ BITCOIN_* vars (file)" || echo "✗ BITCOIN_* vars"
# Lightning: CLI + env
command -v lncli >/dev/null && echo "✓ lncli" || echo "✗ lncli"
env | grep -q "LND_" && echo "✓ LND_* vars" || grep -q "LND_" .env.local 2>/dev/null && echo "✓ LND_* vars (file)" || echo "✗ LND_* vars"
# BTCPay: env only
env | grep -q "BTCPAY_" && echo "✓ BTCPAY_* vars" || grep -q "BTCPAY_" .env.local 2>/dev/null && echo "✓ BTCPAY_* vars (file)" || echo "✗ BTCPAY_* vars"
```
## Output Format
```markdown
## Payments Audit
### P0: Critical
- Stripe: Webhooks unverified (missing STRIPE_WEBHOOK_SECRET)
- Bitcoin: RPC creds missing in prod
### P1: Essential
- Lightning: LND_* vars missing
- BTCPay: No webhook signature verification
### P2: Important
- Stripe: No idempotency keys
- Bitcoin: No retry/backoff on RPC errors
### P3: Nice to Have
- Add payment analytics dashboard
## Provider Status
- Stripe: Present
- Bitcoin: Not detected
- Lightning: Present
- BTCPay: Present
## Summary
- P0: 1 | P1: 2 | P2: 2 | P3: 1
```
## Related
- `/check-stripe`
- `/check-bitcoin`
- `/check-lightning`
- `/check-btcpay`
- `/log-stripe-issues`
- `/log-bitcoin-issues`
- `/log-lightning-issues`
This skill audits all configured payment providers and consolidates findings into a single prioritized report. It detects which providers are present, runs provider-specific checks (Stripe, Bitcoin, Lightning, BTCPay), and outputs a P0–P3 findings summary. Use it to get a fast, investigative view of payment risks—no automated fixes are applied.
The skill first detects providers by checking SDKs, CLIs, and environment variables. It runs only the applicable provider checks (check-stripe, check-bitcoin, check-lightning, check-btcpay) and collects their findings. Findings are merged, deduplicated, and organized into P0 (critical) through P3 (nice-to-have) buckets, and can be pushed as GitHub issues using the log-*-issues primitives.
Does this skill fix problems it finds?
No. It only inspects and reports issues; remediation must be performed separately.
How are findings prioritized?
Findings are categorized into P0 (critical) through P3 (nice-to-have) based on severity and immediate impact to payment reliability or security.
Can it create GitHub issues for findings?
Yes. Use the provided log-*-issues primitives to create issues from consolidated findings.