All loops
FinanceHard 13 min· claude-sonnet-4-5
Expense policy enforcer
Expense policy enforcer with auditable Claude reasoning.
Read the full Finance build guide →NOT DEPLOYEDNOT DEPLOYED
0190ms
Trigger
cron(0 7 * * *) fired · every day · 07:00
02970ms
Agent
claude-sonnet-4-5 · in 1270 tok · out 401 tok
03240ms
Tools
postgres-mcp/stripe:customers.retrieve → 429 backoff · 210ms
0480ms
Verify
schema check · zod v3 passed
05110ms
Output
slack #finance · anomaly flagged
0630ms
Notify
audit log written · runbook link attached
SUCCESS
0%
0 runs
P50
0ms
median
P95
0ms
tail
AVG COST
—
per run
LAST OK
never
—
LAST FAIL
never
none
Latency · last 30 runs0 samples
no runs yet
Latest output · what your users see
Invoice · AnthropicAI
$1,090.60 USD
⚠ anomaly · +312% vs 30-day avg
// press Test to run once · Watch live to keep streaming · Deploy to make it real
The problem
Finance ops are spreadsheets glued together with hope.
The outcome
A scheduled agent does the join, the variance, and the narrative.
Ingredients & skills
Secrets
- ANTHROPIC_API_KEY
- STRIPE_KEY
Providers
- Anthropic
- Stripe
MCP servers
- postgres-mcp
- fetch-mcp
#finance#ops#claude
How it works
Expense policy enforcer with auditable Claude reasoning.
Step 1
1 — Pull
Read from billing + GL via read-only keys.
Step 2
2 — Join + narrate
Claude joins, computes, and writes the narrative with citations.
Step 3
3 — Distribute
PDF + Slack + (optional) board portal.
One-line deploy
The button above runs the same command with your saved config. This is the raw CLI form.
bash
npx claudeloops deploy expense-policy-enforcerRelated loops
Finance
Weekly investor update generator
Stripe + Postgres metrics → narrative artifact → Resend to your investor list.
Ops
On-call alert → AI runbook
PagerDuty → Claude reads last 5 deploys + logs → draft runbook in the alert thread.
Finance
Stripe revenue anomaly alert
Detect MRR cliffs in real time and ping #revenue with the suspect customer.