天猫精灵通信
openclaw-aligenie-genie
by axelhu
OpenClaw Agent 通过云服务器与天猫精灵双向通信的技能。触发时机:(1) 用户要求与天猫精灵通信或接收天猫精灵消息时 (2) 配置天猫精灵与 OpenClaw 的连接时 (3) 天猫精灵发送指令到 OpenClaw 需要处理时。
安装
claude skill add --url https://github.com/openclaw/skills文档
openclaw-aligenie-genie
OpenClaw Agent 通过云服务器与天猫精灵双向通信的技能。
文档
| 文档 | 内容 |
|---|---|
SPEC.md | 完整技术规格(架构/数据库/API/安全) |
DEPLOY.md | 部署指南 |
genie_client.py | Agent 端 Python 客户端 |
快速开始
1. 部署云服务器
详见 DEPLOY.md
2. 配置 Agent
ALIGENIE_SERVER=http://你的云服务器IP:58472
ALIGENIE_API_KEY=ak_xxx # 从 CLI 获取
ALIGENIE_AGENT_ID=lobster # 你的 agent ID
3. 启动注册
from genie_client import GenieClient
client = GenieClient(
server_url="http://101.43.110.225:58472",
agent_id="lobster",
api_key="ak_xxx"
)
client.register("session_key_here")
client.start_heartbeat_loop(interval=60)
4. 处理请求
def handle(req):
utterance = req["utterance"]
reply = f"你说了:{utterance}"
return reply
client.start_polling_loop(handle)
架构
详见 SPEC.md
前置条件
- 云服务器已部署 AligenieServer
- 阿里云开发者账号已创建个人技能(Genie2)
- 用户已在天猫精灵App 添加技能
相关 Skills
Claude API
by anthropic
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks to use the Claude API, Anthropic SDKs, or Managed Agents (/v1/agents, /v1/sessions, /v1/environments). DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
并行代理
by axelhu
Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw
思否热榜
by codekungfu
注册“SegmentFault”热门技能;当需要访问或自动化SegmentFault相关内容时调用。