π¦ ClawHub
AgentRef
by @lukasvanuden
Use AgentRef's REST API from OpenClaw or any HTTP runtime for merchant onboarding, programs, affiliates, conversions, flags, and payouts; authenticate with A...
TERMINAL
clawhub install agentrefπ About This Skill
name: agentref description: Use AgentRef's REST API from OpenClaw or any HTTP runtime for merchant onboarding, programs, affiliates, conversions, flags, and payouts; authenticate with AGENTREF_API_KEY, start with GET /api/v1/me, prefer safe reads, and confirm state-changing writes before sending them. homepage: https://github.com/LukasvanUden/agentref metadata: {"openclaw":{"homepage":"https://github.com/LukasvanUden/agentref","requires":{"env":["AGENTREF_API_KEY"]},"primaryEnv":"AGENTREF_API_KEY"}}
AgentRef REST
Use this skill when the user wants to inspect or operate AgentRef over HTTP instead of MCP, especially from OpenClaw or other REST-first runtimes.
Connection contract
https://www.agentref.co/api/v1Authorization: Bearer { data, meta }{ error, meta }meta.requestIdFirst request
1. Call GET /api/v1/me
2. Read data.key.ownerType, data.key.keyType, data.key.scopes, and the returned owner/program context
3. If ownerType is affiliate, do not use the merchant-admin endpoints below; say so clearly and only pivot to affiliate /api/v1/me/* reads if the user explicitly wants affiliate self-service
Credential guidance
Operating rules
GET before proposing or sending writesIdempotency-Key headermeta.nextCursor or page and pageSize; do not guess hidden pagesReference map
Load only the section needed for the current task. Keep the active prompt lean.