본문으로 건너뛰기
Skillpedia
에이전트5.1k · #15168

omh-spend-gate

하는 일

이 스킬은 AI 에이전트를 통해 돈이 움직이기 전에 결제될 내용을 정확히 보여 줍니다. AI 도구가 카드 결제, 예약, 유료 데이터 호출을 하도록 허용하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓AI 에이전트가 내 대신 카드 결제를 하려고 할 때.
  • ✓유료 API 요청이 결과를 주기 전에 결제를 요구할 때.
  • ✓에이전트가 돈이 드는 예약을 하려고 할 때.

스킬 링크

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-spend-gate/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-spend-gate/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 물건을 사기 전에 결제 대상, 수수료 포함 총액, 지출 한도, 환불 조건을 보여 주고 제 승인을 기다려 주세요.”

매주 새 스킬 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬