omh-spend-gate

omh-spend-gate is a skill for Claude Code from rlaope/oh-my-hermes. It costs 23 tokens per session (2,864 once invoked), scanned A, original, MIT.

A workflow that checks a proposed purchase or money transfer before submission, using the source quote, a spending limit, a receipt rule, and confirmation availability.

In plain words
What is it for?
Use it before card payments, HTTP 402 charges, wallet transfers, bookings, or paid data requests; do not use it for tasks that move no money.
Why use it?
It prevents unreviewed spending and stops when no person can confirm the payment in sessions that cannot ask for confirmation.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it before card payments, HTTP 402 charges, wallet transfers, bookings, or paid data requests; do not use it for tasks that move no money.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rlaope/oh-my-hermes/omh-spend-gate
About the project

oh-my-hermes is an operating layer for Hermes Agent that organizes requests into workflows for planning, research, creation, coding handoffs, operations, and project memory. Hermes users run these workflows through the desktop app, CLI, or messenger app, while the catalogue add-ons extend its native capabilities.

rlaope/oh-my-hermes · 6,246 stars · on GitHub · omher.app

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 rlaope/oh-my-hermes --skill omh-spend-gate
Clone the repo
git clone --depth 1 https://github.com/rlaope/oh-my-hermes

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 omh-spend-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-spend-gate/github.svg)](https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-spend-gate)
Your own site
<a href="https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-spend-gate"><img src="https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-spend-gate/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 omh-spend-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-spend-gate"><img src="https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-spend-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,864 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.
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.00023 $0.02864
Opus 5.5 $0.00009 $0.01146
Sonnet 5.5 $0.00005 $0.00573
Haiku 4.5 $0.00002 $0.00286

Measured 12d ago against content hash 64be5cc233ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

omh-spend-gate 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 12d 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.

.claude/agent-skills/omh-spend-gate/SKILL.md · 145 lines

How it starts

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

Spend Gate

This is an OMH spend-gate workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

spend-gate exists because money movement had at most one native guard, on one rail: where Hermes' saved-card fill is present it asks before filling a card and refuses when nobody can confirm, while an HTTP 402 call, a wallet transfer, a booking, or a paid data endpoint had no pre-spend check, no receipt rule, and no cap. omh-provider-profile-posture claims no payment at all.

First Steps

  • Check that a person can answer in this session; in a scheduled, webhook, API-server, single-query, background-worker, or subagent run, prepare the card and stop before any payment surface.
  • Read the quote from its source and fill the pre-spend card from it, the cap included, before anything is submitted.

Do Not Use When

  • The page task moves no money -- open a URL, log in, fill a form, capture blockers.
  • Users report a payment failure in the product and the ask is to sort those reports; use omh-feedback-triage.
  • The ask is budget vs actual, a budget variance, or the month-end close; use omh-finance-analysis.
  • The ask is a provider profile's posture or whether its secrets are present, with nothing bought; use omh-provider-profile-posture.

Examples

Good example:

  • Prompt: the api answered 402 payment required, pay it so we get the dataset
  • Expected behavior: Read the amount, currency, payee, and method from the 402 challenge, show pre_spend_card/v1 with the cap and what remains of it, wait for the person's typed yes, pay through the client they installed, and report done only with the receipt header and the amount charged.
  • Why: A 402 call spends the moment it is retried with a credential; the card is the one point where the person sees the price.

Bad example:

  • Prompt: the checkout timed out, just click pay again
  • Expected behavior: Mark the first charge unknown, look for it in the order history or the card activity, and show a new card only once it is shown absent.
  • Why: A second click after a success nobody saw is a double charge.

Read the full file on GitHub · 145 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed · -19 tokens per session 64be5cc233ec
  2. 19d ago Changed · -68 tokens per session 90d1053d50fa
  3. 22d ago Changed 107bbb7b6cba
  4. 23d ago Changed · +1 lines 64ddf4eb8ecc
  5. 24d ago Changed 97a17fa5d053
  6. 1mo ago Changed · +1 lines 6838c808c77f
  7. 1mo ago Changed c6a03240933e
  8. 1mo ago First seen · 143 lines · 110 tokens per session scan A 745df8e735d6

Subscribe to this mod's changes

omh-spend-gate is a skill published in the GitHub repository rlaope/oh-my-hermes (6,246 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 2,864 once invoked, about $0.0001 per session on Opus 5.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-10-15.

Related

omh-spend-gate compared with skills from other repositories

omh-spend-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
omh-spend-gaterlaope/oh-my-hermesSkill6.2ktodayMITA23Claude Code
levyseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA50Claude Code, Codex
financial-analystseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA27Claude Code, Codex
portfolio-risk-managerseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA34Claude Code, Codex
comps-valuation-analystseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA45Claude Code, Codex
earnings-call-analyzerseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA33Claude Code, Codex
event-driven-trackerseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA36Claude Code, Codex