Registry / xeroapi

xeroapi/xero-prompt-library/xero-integration-multi-account

Multi-tenant Xero on Lovable Cloud (TanStack Start + Lovable Cloud Postgres) — each customer connects their own Xero organisation and the app acts as that customer. Covers OAuth 2 (authorize → callback → refresh) with rotating refresh tokens, per-user encrypted token storage, scope selection (granular > broad), idempotent writes, sibling-row refresh, reconnect UX, and the Lovable-specific traps around iframe preview, host mapping, and redirect URIs.

Agent skill · version 0.0.0-main.1795947329.gfd3dbb6 · from XeroAPI/xero-prompt-library

Install

npx yarkr-cli add skill:xeroapi/xero-prompt-library/xero-integration-multi-account

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:xeroapi/xero-prompt-library/xero-integration-multi-account
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:xeroapi/xero-prompt-library/xero-integration-multi-account

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:xeroapi/xero-prompt-library/xero-integration-multi-account

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.