code-mate-qoder
它能做什么
这个智能体会运行 Qoder CN CLI 工具来完成编程任务。它接收具体的请求,并以结构化的方式返回结果,过程中不会与你互动。
适用场景
- ✓当你希望 AI 执行某条特定的编程命令时。
- ✓当你需要以另一个程序能够理解的格式获得编程结果时。
- ✓当你希望 AI 在代码项目上工作,且不必每一步都需要你协助时。
技能链接
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-qoder/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在项目目录中运行命令 'qoderclicn -p "Write a test for function X" -o json --no-session-persistence'。”
每周 5 个新技能,1 分钟读完。
工作原理
它会先设置运行环境,检查 Qoder 工具是否已安装,然后用你的指令运行命令。随后它会分析返回的内容,确认没有出现错误。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Qoder CN CLI
Run
- Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
- Check availability with
command -v qoderclicn. If it is missing, stop and ask the user to install Qoder CLI in Code Mate. - Run one stateless task:
qoderclicn -p "<prompt>" -o json --no-session-persistence
Code Mate installs the CN executable qoderclicn, not qoder. Pass the prompt as one quoted argument. Parse the JSON response and check is_error; published exit-code behavior is incomplete, so a zero exit alone is not success. Never start the interactive UI or a login flow.
Authentication And Permissions
If Qoder reports missing authentication, trust, model, or provider configuration, stop and ask the user to configure Qoder CLI in Code Mate. Never request, read, print, or copy credentials.
Headless mode denies permissions that would require asking. Keep that default for analysis. Only when the user explicitly requests workspace changes may the command select the narrowest non-default permission mode, and only after the target directory is trusted through Code Mate.
Example: ask Qoder to review a named file without editing, run the command above, and accept the result only when is_error is false.
常见问题
Qoder CN CLI 是什么?
这是一个命令行工具,可以帮助自动化完成编程任务。
为什么智能体在执行过程中不向我提问?
它的设计就是独立运行、不被打断,专注于明确定义的任务,并以结构化格式返回结果。
如果没有安装 Qoder 会怎样?
智能体会停止运行,并请你在 Code Mate 中安装 Qoder CLI。
详情
作者的原始描述
Runs the Code Mate Qoder CN CLI non-interactively with structured output. Use when the user asks to delegate a bounded coding task to Qoder.
repo: CherryHQ/cherry-studio
热度
- GitHub 星标
- 53k
- 排名
- #3385
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/15
评论
- …