sohopay-gift

Installation
SKILL.md

Send the gift in the same turn. Do not plan. Do not pass an @handle to send_gift.

Before: MCP connected; borrower onboarded with an ACTIVE grant; operational_agent_id stored from register_borrower. Recipient resolution and grant terms: {SKILL:sohopay-handle} / {SKILL:sohopay-authorize-agent}.

Global failure rule: If any fetch fails (non-2xx status, HTML content, or empty body), STOP. Do not improvise. Report the exact failed URL to the operator.

Need gift:send on the borrower token. If it is missing, call request_borrower_token with gift:send before the write — do not ask the operator first. payment:execute does not imply gifting permission.

1. Recipient — if the operator gave an @handle: resolve_handle → recipient_borrower_id (UUID v4).
   If they gave a UUID, use it. Never send the handle string.
2. Grant — get_agent_authorization: gift_enabled must be true and status ACTIVE (amount caps are server-side)
3. send_gift — fresh UUID v4 idempotency_key, with borrower_id + operational_agent_id
4. Report — gift_id, amount, recipient, remaining_usd (that gift's unspent remainder)

Phase 1 — Recipient resolution

Installs
6
Repository
sohopay/skills
First Seen
Oct 5, 2026