← 返回
未分类 Key 中文

AgentRef

Use AgentRef's REST API from OpenClaw or any HTTP runtime for merchant onboarding, programs, affiliates, conversions, flags, and payouts; authenticate with A...
Use AgentRef's REST API from OpenClaw or any HTTP runtime for merchant onboarding, programs, affiliates, conversions, flags, and payouts; authenticate with A...
lukasvanuden lukasvanuden 来源
未分类 clawhub v1.0.1 1 版本 99718.3 Key: 需要
★ 0
Stars
📥 354
下载
💾 0
安装
1
版本
#latest

概述

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

  • Base URL: https://www.agentref.co/api/v1
  • Every request needs Authorization: Bearer
  • Never print, log, echo, or persist the raw API key in chat output, files, traces, or examples
  • Success responses use { data, meta }
  • Error responses use { error, meta }
  • When a request fails, surface the failing endpoint plus meta.requestId

First 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

  • Prefer a dedicated AgentRef key for this skill instead of reusing a broad personal key
  • Default to the smallest scope set that fits the task
  • For inspection-only use, prefer read-only merchant scopes
  • Only use write-capable scopes such as program changes, affiliate moderation, flag resolution, or payouts when the user explicitly needs those actions
  • If the user only needs affiliate self-service, use an affiliate key instead of a merchant key

Operating rules

  • Safe reads first: inspect current state with GET before proposing or sending writes
  • Never invent endpoints, fields, or state transitions; use only the curated references in this bundle
  • Ask for clear user confirmation before any action that creates, updates, archives, approves, blocks, resolves, or pays out
  • When a documented write supports it, send an Idempotency-Key header
  • Follow pagination from meta.nextCursor or page and pageSize; do not guess hidden pages
  • Reuse IDs already returned by prior reads instead of searching again

Reference map

Load only the section needed for the current task. Keep the active prompt lean.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 09:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,232 📥 268,215
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,830
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,086 📥 814,203