跳到正文
Skillpedia
通用编程53k · #3382

code-mate-openclaw

它能做什么

这个智能体会使用 OpenClaw 在你的电脑上执行特定任务。它接收你的指令,并将其发送给 OpenClaw,由 OpenClaw 无需你再次互动即可执行。

适用场景

  • ✓当你希望 OpenClaw 分析某个特定文件时。
  • ✓当你想获取某段代码的解释时。
  • ✓用于自动化 OpenClaw 能够完成的简单任务。

技能链接

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-openclaw/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-openclaw/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“解释一下项目中的 'user_auth' 模块。”

每周 5 个新技能,1 分钟读完。

工作原理

它会在你的电脑上找到 OpenClaw 程序,并用你的指令运行它。然后获取结果,展示给你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

OpenClaw

Run

  1. Set the Bash working directory to the exact directory the user authorized and set a finite outer timeout, normally 11 minutes.
  2. Check availability with command -v openclaw. If it is missing, stop and ask the user to install OpenClaw in Code Mate.
  3. Run the local main agent once:
openclaw agent --local --agent main --message "<prompt>" --json --timeout 600

Pass the prompt as one quoted argument. Parse the JSON payload even when the process exits zero: OpenClaw can encode failure in a successful process exit. Report payload errors and timeouts as failures. Never start onboarding, the interactive TUI, or a login flow.

Authentication And Permissions

If OpenClaw reports missing onboarding, provider, model, or credentials, stop and ask the user to configure OpenClaw in Code Mate. Never request, read, print, or copy credentials.

The local agent can invoke configured tools. Keep the prompt read-only by default and do not ask it to mutate files or external systems unless the user explicitly requested workspace changes or that external effect. Limit it to the selected working directory.

Example: ask the main agent to explain a module without changing it, then accept the response only when the JSON payload reports success.

常见问题

什么是 OpenClaw?

OpenClaw 是一个能够在你的电脑上执行任务、理解指令的程序。

我需要安装什么吗?

需要。你的电脑上必须已经安装 OpenClaw,这个智能体才能工作。

如果没有安装 OpenClaw 会怎样?

智能体会通知你未找到 OpenClaw,并请你先安装。

详情

作者的原始描述

Runs a local OpenClaw agent non-interactively and returns its structured response. Use when the user asks to delegate a bounded task to the OpenClaw main agent.

repo: CherryHQ/cherry-studio

热度

GitHub 星标
53k
排名
#3382
许可证
AGPL-3.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能