← Files ForAgentsToUse WebhooksARCHIVED FILE

skills/setup/SKILL.md

2.22 KB · Nov 30, 2026 · 15:12 UTC

↓ Download file

---
name: setup
description: Connect ForAgentsToUse Webhooks and select the customer's account for webhook inbox management.
---

After the host completes OAuth sign-in, call resolve_account. Supply
preferred_account_id only when the customer requested or already selected a
specific account; otherwise omit it. Core silently provisions a zero-credit
Personal account for new customers, or selects their default/first accessible
account. Use the returned account.account_id without asking them to choose or
name an account. Connecting another service reuses this identity and account.

Read get_wallet_balance and list_inboxes. Confirm the connection briefly. A zero
balance is a successful connection: the agent can inspect resources, prepare
content and quote costs. Do not make funding part of setup or imply that setup
purchases credit. If an operation is unavailable with the current balance, offer
"Review and manage your account" at https://foragentstouse.com/account .
Do not direct users to purchase credit or start checkout.
The customer can manage additional accounts through the website's Your accounts
menu; keep that distinction out of normal single-account onboarding.

When setup succeeds, continue any inbox request already supplied.
Customers do not need AWS access, client IDs, redirect URLs, terminals or local
sign-in helpers. If OAuth fails, report the connection error as a plugin setup
issue rather than asking customers to provision their own OAuth application.

If the balance prevents paid work, confirm the connection succeeded, report the
actual available balance and relevant quoted cost, and keep preparing without a
charge. Preserve the selected account, task, existing resource IDs, accepted
revisions and idempotency keys. When the user returns, re-read balance and
resource state and resume within the original authorization. Inspect uncertain
outcomes before retrying the same key and arguments. Never create replacement
resources merely because the workflow was interrupted. For authentication errors
reconnect the existing identity; do not create another account. For quote input
errors inspect the catalogue's exact operation IDs, quantities and units, then
correct the request. Unsupported tasks do not authorize unrelated paid work.

SHA-256: 9705066b7aa07da1cbd8123e14baa551a6dade68f6273fe4c9f6e8309454d538