Verifiable human ownership for OpenClaw agents. Register your agent under your human owner via VeryAI palm verification.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install clawkey或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install clawkey⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/clawkey/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: clawkey version: 1.0.0 description: Verifiable human ownership for OpenClaw agents. Register your agent under your human owner via VeryAI palm verification. homepage: https://clawkey.ai metadata: { "category": "identity", "api_base": "https://api.clawkey.ai/v1" } ---
Register your agent under your human owner powered by VeryAI palm verification. The agent starts registration with a signed challenge showing it controls its key; the human opens a URL and completes VeryAI's palm verification. Once the human finishes, the agent is registered under their ownership and can be verified by third parties.
> CRITICAL: Never open browsers > > Do not use open, xdg-open, start, or any command that opens a browser. Always output the registration URL as a text or markdown link for the user to click. > > - WRONG: open "https://api.very.org/oauth2/..." > - CORRECT: "Open this link to complete verification: https://api.very.org/oauth2/..."
| File | Purpose | | ------------ | ----------------------------------------------------------------------------------------- | | SKILL.md | https://clawkey.ai/skill.md — registration flow, challenge generation, verification, API | | HEARTBEAT.md | https://clawkey.ai/heartbeat.md — periodic checklist: registration status, etc | | Identity | ~/.openclaw/identity/device.json — OpenClaw deviceId and keys (do not send private key) |
publicKey, message, and signature.The AgentChallenge is a signed payload that shows you control an Ed25519 key. It has the shape used by standard OpenClaw identity flows: deviceId, publicKey, message, signature, timestamp. Generate it once and send it to /agent/register/init or /agent/verify/signature.
If you run on OpenClaw, device identity is stored at:
~/.openclaw/identity/device.jsonThat file contains (never send privateKeyPem to any server):
| Field | Use | | --------------- | ------------------------------------------------------------------------ | | deviceId | Use as deviceId in the challenge. Stable id for this agent/device. | | publicKeyPem | Use to derive publicKey (see below). | | privateKeyPem | Use only locally to sign the message. Never include in API requests. |
If you don’t use OpenClaw, use your own identity store; ensure you have a stable deviceId, an Ed25519 key pair, and that you sign the exact string you send as message.
For registration, use a one-time challenge to avoid replay, e.g.: - clawkey-register- Example: clawkey-register-1738500000000 For verify/signature, the message is whatever you are proving (e.g. a nonce from a third party).
message (no extra prefix/suffix). - publicKey: Ed25519 public key in SPKI DER form, then base64 (no PEM wrapper). - signature: Raw Ed25519 signature bytes, base64. - timestamp: Unix time in milliseconds when the challenge was created (e.g. Date.now()).
- deviceId — from your identity (e.g. device.json) - publicKey — base64 DER SPKI - message — exact string that was signed - signature — base64 signature - timestamp — number (ms)
const crypto = require("crypto");
const fs = require("fs");
const identityPath = `${process.env.HOME}/.openclaw/identity/device.json`;
const identity = JSON.parse(fs.readFileSync(identityPath, "utf8"));
const message = `clawkey-register-${Date.now()}`;
const privateKey = crypto.createPrivateKey(identity.privateKeyPem);
const signature = crypto.sign(null, Buffer.from(message, "utf8"), privateKey);
const publicKeyDer = crypto
.createPublicKey(identity.publicKeyPem)
.export({ type: "spki", format: "der" });
const challenge = {
deviceId: identity.deviceId,
publicKey: publicKeyDer.toString("base64"),
message,
signature: signature.toString("base64"),
timestamp: Date.now(),
};
// POST challenge to https://api.clawkey.ai/v1/agent/register/init
If you have a script that already produces an AgentChallenge (e.g. signs a message and outputs JSON with deviceId, publicKey, message, signature, timestamp), you can reuse it for ClawKey:
clawkey-register-$(date +%s)000 (seconds + "000" for ms) or use your script’s convention.https://api.clawkey.ai/v1/agent/register/init.Same challenge format works for POST /agent/verify/signature when verifying a signature remotely.
Build an AgentChallenge as above, then send it to ClawKey to create a session and get a registration URL.
curl -X POST https://api.clawkey.ai/v1/agent/register/init \
-H "Content-Type: application/json" \
-d '{
"deviceId": "my-agent-device-id",
"publicKey": "<base64-DER-SPKI-Ed25519>",
"message": "clawkey-register-1738500000000",
"signature": "<base64-Ed25519-signature>",
"timestamp": 1738500000000
}'
Response (201):
sessionId — use to poll statusregistrationUrl — output this as a link for the human; do not open it in a browserexpiresAt — session expiry (ISO 8601)If the agent is already registered (deviceId exists), the API returns 409 Conflict.
Tell the human owner to open the registrationUrl in their browser. They will go through VeryAI's palm verification via OAuth. When they finish, the agent is registered under their ownership.
Poll until the human has completed or the session has expired:
curl "https://api.clawkey.ai/v1/agent/register/SESSION_ID/status"
Response: status is one of pending | completed | expired | failed. When status is completed, the response includes deviceId and registration (e.g. publicKey, registeredAt).
curl -X POST https://api.clawkey.ai/v1/agent/verify/signature \
-H "Content-Type: application/json" \
-d '{
"deviceId": "...",
"publicKey": "...",
"message": "...",
"signature": "...",
"timestamp": 1738500000000
}'
Response: verified (signature valid), registered (agent under verified human).
curl "https://api.clawkey.ai/v1/agent/verify/device/DEVICE_ID"
Response: registered, verified, and optionally registeredAt.
Base URL: https://api.clawkey.ai/v1 Local: http://localhost:3000/v1
...
安装 Clawkey 后,可以对 AI 说这些话来触发它
Help me get started with Clawkey
Explains what Clawkey does, walks through the setup, and runs a quick demo based on your current project
Use Clawkey to verifiable human ownership for OpenClaw agents
Invokes Clawkey with the right parameters and returns the result directly in the conversation
What can I do with Clawkey in my ai agent & automation workflow?
Lists the top use cases for Clawkey, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/clawkey/ 目录(个人级,所有项目可用),或 .claude/skills/clawkey/(项目级)。重启 AI 客户端后,用 /clawkey 主动调用,或让 AI 根据上下文自动发现并使用。
Clawkey 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Clawkey 可免费安装使用。请查阅仓库了解许可证信息。
Verifiable human ownership for OpenClaw agents. Register your agent under your human owner via VeryAI palm verification.
Clawkey 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Clawkey
Identifies repetitive steps in your workflow and sets up Clawkey to handle them automatically