omh-spend-gate

omh-spend-gate is a skill for Claude Code, Codex from rlaope/oh-my-hermes. It costs 110 tokens per session (2,715 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 CodeCodex

Which agent this was written for is unclear — built for openclaw. 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 · 3,392 stars · on GitHub · rlaope.github.io

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, 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 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 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,715 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.00110 $0.02715
Opus 5.5 $0.00044 $0.01086
Sonnet 5.5 $0.00022 $0.00543
Haiku 4.5 $0.00011 $0.00271

Measured yesterday against content hash c6a03240933e, 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 yesterday.

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.

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

How it starts

The opening of the file, as written. The whole thing — 143 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 · 143 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. yesterday Changed c6a03240933e
  2. 2d 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 (3,392 stars, last pushed today), licensed MIT. It adds 110 tokens to every session and 2,715 once invoked, about $0.0004 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

Other skills, from other repositories

levy

Domain knowledge agent for Japanese income tax filing (kakutei shinkoku). Guides income classification, deduction optimization, tax calculation, and filing for freelancers, sole proprietors, and side-business earners. Does not write code.

seaworld008/Commonly-used-high-value-skills · 50 tokens

comps-valuation-analyst

Use when valuing a public company with peer multiples, building comparable-company tables, or pressure-testing a valuation range with EV/EBITDA, P/E, and EV/Sales.

seaworld008/Commonly-used-high-value-skills · 45 tokens

earnings-call-analyzer

Use when summarizing earnings calls, extracting management tone changes, surfacing guidance language, or turning transcript snippets into an actionable investor update.

seaworld008/Commonly-used-high-value-skills · 33 tokens

event-driven-tracker

Use when tracking earnings, product launches, M&A, dividends, buybacks, unlocks, or other market-moving dates that need a prioritized event calendar.

seaworld008/Commonly-used-high-value-skills · 36 tokens

factor-backtester

Use when testing factor signals, running long-short spread backtests, checking hit rate and turnover, or sanity-checking whether a ranking signal survives basic transaction cost assumptions.

seaworld008/Commonly-used-high-value-skills · 37 tokens

financial-analyst

Performs financial ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction for strategic decision-making.

seaworld008/Commonly-used-high-value-skills · 27 tokens