duoduo-channel-admin
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDuoduo Channel Admin
Duoduo Channel Admin
This skill owns host-mode channel lifecycle and channel-facing configuration.
本技能负责主机模式通道的生命周期管理及面向通道的配置工作。
Start With Channel Discovery
从通道发现开始
- Confirm host mode with .
duoduo daemon status - Read to resolve the actual
duoduo daemon configandkernel_dir.runtime_dir - Inspect installed plugins with .
duoduo channel list - When changing one specific channel instance, inspect the relevant
before editing it.
descriptor.md
Read references/channel-lifecycle.md for the
actual install and lifecycle rules, and
references/channel-config-model.md for the
kind-vs-instance config model.
- 通过确认主机模式状态。
duoduo daemon status - 读取获取实际的
duoduo daemon config和kernel_dir。runtime_dir - 通过检查已安装的插件。
duoduo channel list - 修改特定通道实例时,编辑前先查看对应的文件。
descriptor.md
查看references/channel-lifecycle.md了解实际的安装和生命周期规则,查看references/channel-config-model.md了解kind与实例的配置模型。
Install And Run Channels
安装并运行通道
Feishu
Feishu
Use the official install path:
bash
duoduo channel install @openduo/channel-feishuFor the simplest credential setup, direct the user to get the official Feishu
bot and from:
App IDApp SecretThen ensure those host-mode credentials are present in
and start the plugin with:
~/.config/duoduo/.envbash
duoduo channel feishu startIf the user wants the agent to do the setup for them, it is acceptable for them
to paste the and directly into chat and ask the agent to
write and into .
Before doing that, explicitly remind them that these are sensitive credentials
and that sharing them in chat carries the normal leakage and retention risks.
App IDApp SecretFEISHU_APP_IDFEISHU_APP_SECRET~/.config/duoduo/.envUse , , and for lifecycle operations.
statusstoplogs使用官方安装路径:
bash
duoduo channel install @openduo/channel-feishu最简单的凭证配置方式是引导用户从以下地址获取官方Feishu机器人的和:
App IDApp Secret然后确认这些主机模式凭证已存入,并通过以下命令启动插件:
~/.config/duoduo/.envbash
duoduo channel feishu start如果用户希望Agent代为配置,也可以让他们直接在聊天中粘贴和,要求Agent将和写入。执行操作前,需明确提醒用户这些是敏感凭证,在聊天中分享存在常规的泄露和留存风险。
App IDApp SecretFEISHU_APP_IDFEISHU_APP_SECRET~/.config/duoduo/.env可使用、、命令执行生命周期操作。
statusstoplogsACP (Editor Integration)
ACP(编辑器集成)
Install the official ACP bridge for editor integrations (Zed, Cursor, etc.):
bash
duoduo channel install @openduo/channel-acp
duoduo channel acp startNo credentials are required. Each ACP session maps 1:1 to a daemon session.
安装官方ACP桥接插件用于编辑器集成(Zed、Cursor等):
bash
duoduo channel install @openduo/channel-acp
duoduo channel acp start无需凭证,每个ACP会话与守护进程会话一一对应。
WeChat And Other Third-Party Channels
微信及其他第三方通道
- Duoduo's installer accepts npm package specs or tarballs.
.tgz - Do not claim that works unless the runtime actually supports it.
duoduo channel install https://github.com/... - If a third-party repo is not yet published in a duoduo-compatible form, package or publish it first, then install the npm package or tarball.
- Duoduo的安装器支持npm包规范或tarball格式。
.tgz - 除非运行时实际支持,否则不要声称可用。
duoduo channel install https://github.com/... - 如果第三方仓库尚未发布为duoduo兼容格式,先打包发布,再安装对应的npm包或tarball。
Configure Channel Behavior
配置通道行为
Use kind descriptors for defaults that should apply to every channel of a kind.
Use instance descriptors for one specific channel only.
- Kind descriptor:
kernel_dir/config/<kind>.md - Instance descriptor:
runtime_dir/var/channels/<channel_id>/descriptor.md
Typical editable keys:
new_session_workspaceprompt_modetime_gap_minutesstreamallowedToolsdisallowedToolsadditionalDirectories
Use scripts/patch_markdown_frontmatter.py
for frontmatter edits that should preserve comments and the Markdown body.
For prompt-body rewrites, use or apply a direct patch when that is
clearer.
replace-bodyKind描述符适用于所有同类型通道的默认配置,实例描述符仅适用于单个特定通道。
- Kind描述符:
kernel_dir/config/<kind>.md - 实例描述符:
runtime_dir/var/channels/<channel_id>/descriptor.md
常见可编辑配置项:
new_session_workspaceprompt_modetime_gap_minutesstreamallowedToolsdisallowedToolsadditionalDirectories
如果需要编辑Markdown frontmatter同时保留注释和Markdown正文,可使用scripts/patch_markdown_frontmatter.py。如果要重写提示词正文,可使用或者直接应用补丁(当逻辑更清晰时)。
replace-bodyPrompt Editing Rules
提示词编辑规则
- The Markdown body of is the kind prompt.
kernel/config/<kind>.md - The Markdown body of is the instance prompt.
descriptor.md - Instance frontmatter and prompt override kind defaults for that one channel.
- Preserve guidance comments in bootstrapped files whenever possible.
- 的Markdown正文是类型默认提示词。
kernel/config/<kind>.md - 的Markdown正文是实例提示词。
descriptor.md - 单个通道的实例frontmatter和提示词会覆盖类型默认配置。
- 尽可能保留引导文件中的指导注释。
Operating Rules
操作规则
- Prefer the smallest scope that matches the request: kind-level for defaults, instance-level for a single room or session surface.
- After changing channel credentials in , restart the affected channel process.
~/.config/duoduo/.env - After installing a new plugin, verify with and
duoduo channel list.duoduo channel <type> status - If the channel still fails after credentials, install state, and runtime config look correct, treat it as a likely product or plugin issue and use the public issue flow from ../duoduo-admin/references/issue-reporting.md.
- If the request is really about telemetry, cadence, debug logs, or Codex,
hand off to .
duoduo-runtime-admin
- 优先选择符合需求的最小作用域:默认配置修改用kind级别,单个房间/会话层面的修改用实例级别。
- 修改中的通道凭证后,重启受影响的通道进程。
~/.config/duoduo/.env - 安装新插件后,通过和
duoduo channel list验证安装结果。duoduo channel <type> status - 如果凭证、安装状态、运行时配置看起来都正确但通道仍然报错,大概率是产品或插件问题,按照../duoduo-admin/references/issue-reporting.md中的公开Issue提交流程处理。
- 如果请求实际涉及遥测、运行节奏、调试日志或Codex,转交处理。
duoduo-runtime-admin