omh-spend-gate
Что он делает
Гарантирует, что вы видите точную сумму каждой оплаты до того, как деньги пойдут через ИИ-агента. Это для тех, кто разрешает ИИ-инструментам платить картой, бронировать или делать платные запросы к данным.
Когда использовать
- ✓Когда ИИ-агент собирается оплатить что-то картой от вашего имени.
- ✓Когда платный API требует оплату до того, как вернёт результаты.
- ✓Когда агент собирается забронировать что-то платное.
Ссылка на скилл
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-spend-gate/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Прежде чем это покупать, покажи получателя, итог с комиссиями, лимит расходов и условия возврата и дождись моего одобрения.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент заполняет карточку предоплаты с получателем, суммой, лимитом и утверждающим до отправки чего-либо. Покупку он считает выполненной только после того, как увидел чек.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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.
Completion Checklist
- The pre-spend card names payee, item, total with fees and currency, rail, cap, refund terms, reversibility, and approver.
- The person's typed confirmation in this session matches the card, and a host prompt's answer, when one appeared, sits beside it.
- The spend is called done only with an observed order id, transaction id, or receipt header and the amount charged.
- An unknown outcome was reconciled before any retry, or is reported as unknown.
- The cap ledger holds metadata only, and OMH moved no money and held no credential.
Recovery Notes
- If the total changed between the card and the payment step, stop, show a new card, and ask again.
- If no receipt can be observed, report the spend as submitted or unknown, never as complete.
When to Use
Use before the agent moves money on any rail: a card checkout in the browser, an HTTP 402 or pay-per-request call, a wallet transfer, a booking or deposit, a paid data endpoint, or a renewal that charges again. The output is a pre-spend card the person confirms, the receipt that proves the charge, and a metadata-only ledger against their cap; OMH moves no money, holds no credential, and never spends from a run nobody can answer.
Strong routing signals: `spend-gate`, `spend gate`, `pre-spend`, `pre-spend card`, `spend cap`, `spending cap`, `spend limit`, `spending limit`, `spend request`, `spend approval`, `approve the spend`, `approve this purchase`, `approve the purchase`, `complete the purchase`, `complete the checkout`, `buy this for me`, `buy it for me`, `place the order`, `place an order`, `pay with my card`, `pay with my saved card`, `with my saved card`, `with my card`, `with my credit card`, `use my card`, `use my credit card`, `send money`, `pay again`, `click pay again`, `http 402`, `402 payment required`, `402 challenge`, `pay per request`, `pay-per-request`, `paid endpoint`, `paid data endpoint`, `wallet transfer`, `from my wallet`, `money on my behalf`, `spend on my behalf`, `pay on my behalf`, `buy on my behalf`, `retry the payment`, `retry the purchase`, `retry the charge`, `did the payment go through`, `did the charge go through`, `pay for the booking`, `결제`, `송금`, `이체`, `입금`, `지불`, `납부`, `구매`, `구입`, `주문`, `예매`, `사줘`, `사 줘`, `사주세요`, `사 주세요`, `충전`, `예약`, `구독`, `갱신`, `후원`, `기부`, `보내`, `카드로`, `지갑에서`, `계좌에서`
Частые вопросы
Что если никто не может одобрить платёж?
Скилл готовит карточку и останавливается до любого шага оплаты.
Он сам устанавливает лимит расходов?
Карточка предоплаты включает лимит, который задаёте и одобряете вы.
Он ведёт бюджетные отчёты?
Нет. Отклонения бюджета и отчёты за месяц ведёт скилл финансов.
Подробности
Оригинальное описание автора
[omh] Spending money on the user's behalf -- a card checkout, an HTTP 402 or pay-per-request call, a wallet transfer, a booking, a paid data endpoint: show a pre-spend card (payee, total with fees, cap, refund terms, approver) first, and call it done only on an observed receipt. Use when the user says: spend-gate, spend gate, pre-spend, pre-spend card, spend cap, spending cap, spend limit, spending limit.
repo: rlaope/oh-my-hermes
Популярность
- Звёзды на GitHub
- 5.1k
- Место в рейтинге
- #15168
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
omh-accessibility-audit
5.1kПомогает агенту проверить экран или сценарий на пробелы в доступности: работу с клавиатурой, подписи для программ чтения с экрана, контрастность и размер элементов касания.
omh-adversarial-consensus
5.1kПомогает агенту атаковать техническое предложение с нескольких независимых сторон до того, как вы на него согласитесь, а затем подвести итог тому, что выдержало проверку.
omh-agent-debug
5.1kПомогает агенту выяснить, почему другой ИИ-агент застрял, зациклился или ушёл в сторону, и предлагает самый безопасный способ восстановить его работу.
omh-agent-instructions
5.1kПомогает агенту написать или обновить файл инструкций, например AGENTS.md или CLAUDE.md, который объясняет ИИ-инструментам, как работать в проекте.
Похожие скиллы
add-model-provider
394kПомогает агенту подключить нового провайдера ИИ-моделей к OpenClaw безопасными командами, хранить ключи API не в открытом виде и провести живой тест.
acp-router
394kПомогает агенту передать задачу инструменту для программирования, например Claude Code или Cursor, через OpenClaw, чтобы работа шла в этом инструменте.
browser-automation
394kУчит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.