ScopeGate Client
/install scopegate-client
ScopeGate Client
Before executing any consequential action, you MUST verify scope with ScopeGate.
When to Call ScopeGate
Call before ANY action involving:
- Money (payments, transfers, purchases)
- Data writes (database inserts/updates/deletes)
- External API calls (sending emails, posting to social, webhooks)
- File system changes (deletes, overwrites)
- Any action the human has not explicitly pre-authorized in this session
Endpoint
Default: https://api.scopegate.ai
Override: set SCOPEGATE_URL environment variable
How to Call ScopeGate
SCOPEGATE_URL="${SCOPEGATE_URL:-https://api.scopegate.ai}"
curl -s -X POST "$SCOPEGATE_URL/grant/verify" \
-H "Content-Type: application/json" \
-d '{
"grant_id": "\x3Cgrant_id from delegator>",
"agent_id": "\x3Cyour agent id>",
"requested_action": "\x3Caction you are about to take>",
"api_key": "\x3Cyour api key>"
}'
Decision Rules
- If
permitted: true→ proceed with the action - If
permitted: false→ STOP. Do not proceed. Report thereasonto the user. - If ScopeGate is unreachable → STOP. Treat as denied. Never fail open.
- Never cache a permit — call ScopeGate fresh for every consequential action
Getting a Grant ID
The human or orchestrating agent must call /grant/issue first with the allowed_actions list. They will give you the grant_id. You do not issue your own grants.
Getting an API Key
Sign up at https://scopegate.ai to get your API key.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install scopegate-client - 安装完成后,直接呼叫该 Skill 的名称或使用
/scopegate-client触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ScopeGate Client 是什么?
Use ScopeGate to verify agent scope before any consequential action involving money, data writes, external API calls, or file system changes. Required safety... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 56 次。
如何安装 ScopeGate Client?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install scopegate-client」即可一键安装,无需额外配置。
ScopeGate Client 是免费的吗?
是的,ScopeGate Client 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ScopeGate Client 支持哪些平台?
ScopeGate Client 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ScopeGate Client?
由 clauderodriguez2026-boop(@clauderodriguez2026-boop)开发并维护,当前版本 v0.1.0。