sql-explain
分析SQL查询执行计划并提供优化建议,支持PostgreSQL/MySQL/SQLite。
下载 518
通过语音命令管理Edith智能眼镜的API密钥,支持创建、撤销和列表操作。
openclaw skills install @samdickson22/edith-api-keys命令、参数、文件名以原文为准
使用 Unkey 管理 Edith 智能眼镜应用的 API 密钥。
用户必须将 UNKEY_ROOT_KEY 和 UNKEY_API_ID 设置为环境变量。
UNKEY_ROOT_KEY — 来自 Unkey 仪表盘的根密钥(用于创建/撤销密钥)UNKEY_API_ID — Unkey API ID,Edith 使用它来验证密钥此技能使用 curl 调用 Unkey REST API。所有请求均发送至 https://api.unkey.dev。
为插件开发者或设备创建密钥。可选择设置名称、过期时间或速率限制。
curl -s -X POST https://api.unkey.dev/v1/keys.createKey \
-H "Authorization: Bearer $UNKEY_ROOT_KEY" \
-H "Content-Type: application/json" \
-d '{
"apiId": "'"$UNKEY_API_ID"'",
"name": "{{name}}",
"prefix": "edith",
"meta": { "purpose": "{{purpose}}" },
"expires": {{expires_unix_ms_or_null}},
"ratelimit": {
"async": true,
"limit": {{rate_limit_per_second_or_10}},
"duration": 1000
}
}'响应中包含 key(请提供给用户)和 keyId(用于管理)。
curl -s "https://api.unkey.dev/v1/apis.listKeys?apiId=$UNKEY_API_ID" \
-H "Authorization: Bearer $UNKEY_ROOT_KEY"通过 keyId 永久删除某个密钥。
curl -s -X POST https://api.unkey.dev/v1/keys.deleteKey \
-H "Authorization: Bearer $UNKEY_ROOT_KEY" \
-H "Content-Type: application/json" \
-d '{"keyId": "{{keyId}}"}'curl -s -X POST https://api.unkey.dev/v1/keys.verifyKey \
-H "Content-Type: application/json" \
-d '{"apiId": "'"$UNKEY_API_ID"'", "key": "{{key}}"}'curl -s -X POST https://api.unkey.dev/v1/keys.updateKey \
-H "Authorization: Bearer $UNKEY_ROOT_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyId": "{{keyId}}",
"name": "{{new_name}}",
"ratelimit": {
"async": true,
"limit": {{new_limit}},
"duration": 1000
}
}'当用户要求管理 Edith API 密钥时:
UNKEY_ROOT_KEY 和 UNKEY_API_ID 是否已设置。?linkCode=...&apiKey=... 连接到 Edith WebSocket 中继——当中继服务器上设置了 UNKEY_API_ID 时,中继会自动通过 Unkey 验证该密钥。用户:“为我的演示插件创建一个 API 密钥”
curl -s -X POST https://api.unkey.dev/v1/keys.createKey \
-H "Authorization: Bearer $UNKEY_ROOT_KEY" \
-H "Content-Type: application/json" \
-d '{
"apiId": "'"$UNKEY_API_ID"'",
"name": "demo-plugin",
"prefix": "edith",
"meta": { "purpose": "demo plugin" },
"ratelimit": { "async": true, "limit": 10, "duration": 1000 }
}'已收录 1 个 Skill