天猫精灵通信

openclaw-aligenie-genie

by axelhu

OpenClaw Agent 通过云服务器与天猫精灵双向通信的技能。触发时机:(1) 用户要求与天猫精灵通信或接收天猫精灵消息时 (2) 配置天猫精灵与 OpenClaw 的连接时 (3) 天猫精灵发送指令到 OpenClaw 需要处理时。

4.5k其他未扫描2026年4月6日

安装

claude skill add --url https://github.com/openclaw/skills

文档

openclaw-aligenie-genie

OpenClaw Agent 通过云服务器与天猫精灵双向通信的技能。

文档

文档内容
SPEC.md完整技术规格(架构/数据库/API/安全)
DEPLOY.md部署指南
genie_client.pyAgent 端 Python 客户端

快速开始

1. 部署云服务器

详见 DEPLOY.md

2. 配置 Agent

bash
ALIGENIE_SERVER=http://你的云服务器IP:58472
ALIGENIE_API_KEY=ak_xxx   # 从 CLI 获取
ALIGENIE_AGENT_ID=lobster  # 你的 agent ID

3. 启动注册

python
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. 处理请求

python
def handle(req):
    utterance = req["utterance"]
    reply = f"你说了:{utterance}"
    return reply

client.start_polling_loop(handle)

架构

详见 SPEC.md

前置条件

  1. 云服务器已部署 AligenieServer
  2. 阿里云开发者账号已创建个人技能(Genie2)
  3. 用户已在天猫精灵App 添加技能

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全158.9k

并行代理

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

其他
未扫描4.5k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.5k

评论