feat: add lark-openclaw integration skill#36
feat: add lark-openclaw integration skill#36Horacehxw wants to merge 3 commits intolarksuite:mainfrom
Conversation
Signed-off-by: Horacehxw <horacehxw@gmail.com>
Signed-off-by: Horacehxw <horacehxw@gmail.com>
There was a problem hiding this comment.
Pull request overview
This PR adds a new Agent Skill documenting how to integrate lark-cli into OpenClaw agents, and exposes it in the project’s Agent Skills index so users can discover and install it.
Changes:
- Add
skills/lark-openclaw/SKILL.mdintegration guide (tool choice decision tree, sandbox install, per-agent credential isolation, shortcuts/API workflows). - Add
lark-openclawentry to the Agent Skills table inREADME.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| skills/lark-openclaw/SKILL.md | New OpenClaw integration skill guide (install, credentials isolation, command/workflow references). |
| README.md | Adds lark-openclaw to the Agent Skills table for discoverability. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
skills/lark-openclaw/SKILL.md
Outdated
| 在 Agent 的 Dockerfile 中添加: | ||
|
|
||
| ```dockerfile | ||
| RUN apt-get update -qq && \ | ||
| apt-get install -y -qq --no-install-recommends nodejs npm && \ | ||
| npm install -g @larksuite/cli && \ | ||
| apt-get clean && rm -rf /var/lib/apt/lists/* |
There was a problem hiding this comment.
Dockerfile 安装段直接 apt-get install nodejs npm 可能在部分 Debian/Ubuntu 基础镜像上拿到 <16 的 Node,和本项目 @larksuite/cli 的 engines (node>=16) 不兼容,导致安装或运行失败。建议在文档里明确要求 Node.js>=16,或改用带版本的 Node 官方镜像/安装脚本来保证版本。
| 在 Agent 的 Dockerfile 中添加: | |
| ```dockerfile | |
| RUN apt-get update -qq && \ | |
| apt-get install -y -qq --no-install-recommends nodejs npm && \ | |
| npm install -g @larksuite/cli && \ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* | |
| Node.js **必须为 16 或更高版本**。推荐直接使用官方 Node 镜像,避免从发行版仓库安装过旧的 `nodejs`: | |
| ```dockerfile | |
| FROM node:18-bullseye-slim | |
| # 安装 lark-cli(全局) | |
| RUN npm install -g @larksuite/cli && \ | |
| npm cache clean --force |
skills/lark-openclaw/SKILL.md
Outdated
| | `mail +search` | 搜索邮件 | user | | ||
| | `vc +meetings-list` | 列出已结束的会议记录 | user | | ||
| | `vc +note` | 获取会议纪要(摘要、待办、章节) | user | |
There was a problem hiding this comment.
Shortcuts 表里列出的 mail +search、vc +meetings-list、vc +note 在当前仓库的快捷命令中不存在/命名不一致(mail 搜索通常用 mail +triage --query ...,VC 为 vc +search 和 vc +notes)。建议改成仓库里实际提供的快捷命令名称,避免读者照抄后直接报错。
| | `mail +search` | 搜索邮件 | user | | |
| | `vc +meetings-list` | 列出已结束的会议记录 | user | | |
| | `vc +note` | 获取会议纪要(摘要、待办、章节) | user | | |
| | `mail +triage --query ...` | 搜索邮件 | user | | |
| | `vc +search` | 列出已结束的会议记录 | user | | |
| | `vc +notes` | 获取会议纪要(摘要、待办、章节) | user | |
Signed-off-by: Horacehxw <horacehxw@gmail.com>
Summary
skills/lark-openclaw/SKILL.md— integration guide for using lark-cli inside OpenClaw agentslark-openclawentry to Agent Skills table in README.mdWhat This Skill Covers
@larksuite/openclaw-larknative toolslark-mail,lark-vc,lark-contact,lark-openapi-explorer)Why
OpenClaw is listed as a supported agent in lark-cli's
npx skillsinstaller, but there's no integration guide. This skill teaches OpenClaw agents best practices for using lark-cli alongside the@larksuite/openclaw-larkplugin — specifically which tool to pick for each Feishu API domain.Conventions Followed
name,version,description(Chinese with trigger scenarios),metadata.requires.bins,metadata.cliHelp../lark-shared/SKILL.md身份columnTest Plan
npx skills add larksuite/cli -s lark-openclaw --agent openclaw