stripe-spend

stripe-spend is a skill for Claude Code, Codex from KeyArgo/custodian-kernel. It costs 28 tokens per session (960 once invoked), scanned A, original, MIT.

A utility that creates bounded Stripe PaymentIntents in test mode for business actions. Stripe is a payment service, and test mode is a safe environment that does not charge real customers.

In plain words
What is it for?
Use it to test charges, fund monitored workers, buy test alerting credits, or simulate payment for a completed job.
Why use it?
It lets an agent carry out approved test payments while applying a spending limit and escalating requests above that limit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to test charges, fund monitored workers, buy test alerting credits, or simulate payment for a completed job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keyargo/custodian-kernel/stripe-spend
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.

Any agent
npx skills add KeyArgo/custodian-kernel --skill stripe-spend
Clone the repo
git clone --depth 1 https://github.com/KeyArgo/custodian-kernel

Made for: Claude Code, Codex.

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 stripe-spend

README.md
[![agentmods](https://agentmods.dev/badge/skills/keyargo/custodian-kernel/stripe-spend.svg)](https://agentmods.dev/skills/keyargo/custodian-kernel/stripe-spend)
Your own site
<a href="https://agentmods.dev/skills/keyargo/custodian-kernel/stripe-spend"><img src="https://agentmods.dev/badge/skills/keyargo/custodian-kernel/stripe-spend.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 stripe-spend

Your own site · 80×15
<a href="https://agentmods.dev/skills/keyargo/custodian-kernel/stripe-spend"><img src="https://agentmods.dev/badge/skills/keyargo/custodian-kernel/stripe-spend.svg?style=web" alt="Reviewed on agentmods" width="80" height="15"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 960 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 62
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00028 $0.00960
Opus 5 $0.00014 $0.00480
Sonnet 5 $0.00006 $0.00192
Haiku 4.5 $0.00003 $0.00096

Measured 5d ago against content hash e0d68fcde0c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

stripe-spend 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 5d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/_core.py, scripts/approve_v2.py, scripts/approve.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

custodian/bundled_skills/payments/stripe-spend/SKILL.md · 89 lines

How it starts

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

Stripe Spend (bounded authority)

Create a real Stripe PaymentIntent (test mode) when you decide to spend money on an action — for example, starting a monitored worker, buying alerting credits, or charging a customer for a completed job. Every call is logged to the authority ledger and checked against the current authority band before the request is sent.

You are operating under bounded authority, not unlimited spend. Read references/authority-bands.md before your first spend decision this session.

Quick Reference

Action Command
Check current authority band + remaining budget python3 scripts/authority.py status
Propose + execute an in-budget spend python3 scripts/spend.py --amount 0.50 --description "..."
Propose a spend that exceeds the cap (escalates) same command — the script decides, you don't pre-check
View the audit log python3 scripts/authority.py log

How spend.py decides

  1. Reads the current band's cap from references/authority-bands.md (band state lives in state/authority.json).
  2. If amount <= cap - already_spent_this_band: executes the Stripe PaymentIntent immediately. This is an autonomous, in-budget action — no human needed.
  3. If amount would exceed the remaining budget: the script does not call Stripe. It writes an escalation_required record to the audit log and exits with a message telling you to surface this to the human operator and wait for an explicit approve/deny before retrying with --approved-by <name>.
  4. Every outcome (executed, escalated, denied) is appended to state/audit_log.jsonl — never overwritten, never deleted. This is the evidence trail.

Retry behavior

The underlying OpenShell sandbox proxy can occasionally drop the first connection to api.stripe.com (NET:FAIL immediately after NET:OPEN ALLOWED in the sandbox logs). This is a transient proxy issue, not a policy or auth failure. scripts/spend.py already retries once automatically after a 1s backoff before reporting failure — you do not need to retry manually.

Read the full file on GitHub · 89 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. 5d ago First seen · 89 lines · 28 tokens per session scan A e0d68fcde0c5

Subscribe to this mod's changes

stripe-spend is a skill published in the GitHub repository KeyArgo/custodian-kernel (118 stars, last pushed 17d ago), licensed MIT. It adds 28 tokens to every session and 960 once invoked, about $0.0001 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.

Related

Other skills, from other repositories