← 返回 Skills 市场
独立开发者客服邮件系统
作者
DevincodeL
· GitHub ↗
· v1.0.12
· MIT-0
170
总下载
0
收藏
0
当前安装
13
版本数
在 OpenClaw 中安装
/install support-router
功能描述
客服邮件智能分流。CLI 关键词预筛自动回复常见问题,复杂邮件转发 AI 处理邮箱或主邮箱,节省约 62% token 成本。Use when: (1) setting up automated support email triage for a SaaS product, (2) auto-replying...
安全使用建议
This skill appears to do what it says: run a Node script that uses the mail-cli tool to classify and forward support emails. Before installing or scheduling it:
- Review the router.js source (present) and the npm mail-cli package to ensure you trust them.
- Understand that the script will read your mail-cli config (~/.config/mail-cli/config.json or %APPDATA%) and thereby gain access to any API keys/profiles stored there — only create mail-cli profiles you trust and limit their permissions.
- Use the provided --test-classify and --dry-run modes to validate behavior before enabling scheduled runs, and ensure mainEmail points to a human account (not an agent mailbox) to avoid loops.
- Do not execute any returned 'installcommand' unless you understand it; the SKILL.md warns this can restart the agent and cause duplicate processing if misused.
- Consider filesystem permissions for the dataDir (~/.local/share/support-router) and validate the maxRepliesPerAddr limits to avoid accidental mass replies. If you need higher assurance, run the script in an isolated test workspace and audit network access from the mail-cli binary.
功能分析
Type: OpenClaw Skill
Name: support-router
Version: 1.0.12
The support-router skill is a legitimate utility for automating email triage using the mail-cli tool. It features robust safety mechanisms, including multi-layered auto-reply detection to prevent loops, internal sender filtering for agent-to-agent communication, and rate limiting. The core logic in scripts/router.js uses shell command construction with proper single-quote escaping to mitigate injection risks, and the SKILL.md instructions include highly restrictive prompts for the OpenClaw scheduler to prevent agent hallucination or unauthorized command execution.
能力评估
Purpose & Capability
Name/description (support email triage) match required pieces: mail-cli binary, Node.js script, cron/OpenClaw schedule. The npm install of @clawemail/mail-cli and the router.js script are proportional to the stated purpose.
Instruction Scope
SKILL.md and router.js keep to routing, classification, auto-reply and forwarding. The instructions also advise creating mail-cli profiles, scheduling the script as a recurring agent task, and explicitly warn not to run certain installcommands. The script invokes shell commands (execSync → mail-cli) and reads/writes local files; this is expected but gives the skill the ability to run mail-cli operations and manipulate local files — verify you trust the mail-cli package and the script before enabling automated scheduling.
Install Mechanism
Installation uses a named npm package (@clawemail/mail-cli) to provide the mail-cli binary. This is a standard registry install; moderate risk (npm package) but appropriate for the functionality.
Credentials
The skill declares no required env vars, but router.js reads mail-cli configuration files (e.g., ~/.config/mail-cli/config.json or APPDATA), and runs mail-cli commands which will use stored API keys/profiles. This is coherent with mail access but means the skill will access local mail-cli credentials/config — confirm those profiles are intentionally created and contain only the permissions you expect.
Persistence & Privilege
The skill is not forced-always and does not request system-wide persistent privileges. It expects you to register a scheduled task (cron/OpenClaw schedule) to run the script periodically; scheduling an agent task is a normal operational step for this use case.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install support-router - 安装完成后,直接呼叫该 Skill 的名称或使用
/support-router触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.12
support-router 1.0.12
- openclaw 定时任务调度 `payload` 增加 `delivery: "none"` 参数,避免因缺少目标邮箱导致 announce 模式报错、调度重试与延迟。
- 文档中注册定时任务部分补充说明 `delivery: "none"` 必须设置,否则可能触发调度失败和退避机制。
- 其他内容无变更。
v1.0.11
**Version 1.0.11 Changelog**
- Updated setup flow: You now configure router and test classification before creating email channels, reducing setup interruption and errors.
- Critical warning added: Do not execute installcommand for support mailbox; only execute csbot installcommand as the final step, since it will restart OpenClaw.
- Step sequence clarified: All configuration, testing, and scheduling is done before channel installation, ensuring seamless activation after OpenClaw restarts.
- Documentation improved for dry-run logic, internal test email handling, and installcommand usage.
- No code changes. Documentation updated only.
v1.0.10
support-router 1.0.10
- 新增 `--test-classify` 本地分类测试,无需邮件收发,可快速验证分类规则。
- 默认配置和示例配置文件新增 `ignoreSenderDomains` 字段,正式运行时自动跳过内部(如 `@claw.163.com`)发件人,防止邮件循环。
- 文档完善:详细说明如何用 test-classify 测试、dry-run 行为区别、claw 邮箱循环过滤机制等,提升测试与部署安全性。
- 推荐测试流程调整,优先本地 test-classify 验证,降低运维和踩坑成本。
v1.0.9
support-router 1.0.9
- Clarified csbot 处理逻辑:csbot 仅分析和归类复杂邮件,将结果报告发送给 mainEmail(人类),不会直接回复客户。
- 更新架构图与说明,明确 csbot 流程为“AI 分析→发送报告给人工邮箱”。
- 路由规则表中,转发到 AI 邮箱的描述改为“csbot 分析后报告给人类”。
- 其余搭建、测试和安全机制说明无变。
v1.0.8
No user-visible changes in this version.
- No file changes detected; documentation and behavior remain the same.
v1.0.7
No changes in functionality; documentation updated only.
- SKILL.md was updated with improvements and clarifications to documentation.
- No code or functional changes were detected in this version.
v1.0.6
support-router 1.0.6 changelog
- 定时任务推荐方式修改:用 OpenClaw schedule(agentTurn + 明确 node router.js 命令),替代系统 crontab,文档大幅更新相关配置方法与注意事项。
- 强调 schedule payload 必须仅执行 router.js 指令,防止 AI agent 绕过脚本直接处理邮件。
- 增补关键注意事项和常见错误排查,提升部署和运维安全性。
- 依赖、邮箱 channel 安装、mainEmail 等配置说明更加详细清晰。
- 其他文档结构和精度优化,便于理解和落地。
v1.0.5
support-router 1.0.5
- Clarified that you must use system-level crontab or Task Scheduler for scheduled tasks; OpenClaw cron is not supported for this skill.
- Added detailed instructions for setting absolute paths to node and mail-cli in cron to prevent PATH issues and “command not found” errors.
- Updated scheduling guidance, emphasizing zero-token cost is only ensured with direct system scripting, not via OpenClaw automation.
- No code changes; documentation and setup instructions improved for more reliable deployment.
v1.0.4
support-router v1.0.4
- 更正定时任务 payload 配置:必须使用 shellExec,禁止使用 agentTurn。
- 文档中明确禁止定时任务 sessionTarget 使用 "isolated",确保 router.js 按 CLI 规则执行。
- 进一步强调通过 shellExec 直接调度脚本,否则将导致 AI 回复不可控和 token 成本增加。
- 路由核心逻辑未变,仅完善部署细节与使用指导,提高防误用安全性。
v1.0.3
No user-facing changes detected in this release.
- No file changes found between versions.
- Documentation and skill metadata remain unchanged.
v1.0.2
support-router v1.0.2
- 强化邮箱管理流程说明:明确要求 support 邮箱绝对不能安装 channel,只保存 auth code;csbot 邮箱必须安装 channel。
- 主邮箱(mainEmail)配置警告:mainEmail 必须填写人类邮箱地址,禁止填写 @claw.163.com。
- 新增高亮警告与表格,区分两个子邮箱的用途和操作,列举常见误用场景及严重后果。
- 优化测试指引,明确必须手动验证 pricing/cancellation 场景的自动回复是否生效。
- 更新常见错误小节,重点强调 channel 安装与 mainEmail 配置要求,避免误用造成收信失败或自动回复混乱。
- 其他说明细节优化,结构更清晰,用词更严格。
v1.0.1
Version 1.0.1
- Clarified setup instructions for sub-mailboxes: explicitly distinguish between support (收件入口) and csbot (AI 处理),and emphasize csbot must be installed as openclaw channel.
- Added new table outlining mailbox responsibilities and install requirements.
- Included detailed guidance on running the csbot install command and common mistakes if skipped.
- Updated FAQ to highlight that support mailbox should never be installed as a channel.
- Improved step-by-step onboarding and validation process for mailbox/channel setup.
- No code or file changes; documentation only.
v1.0.0
- Initial release of support-router: automate triage and reply for SaaS support emails.
- Uses CLI rule-based keyword matching to auto-reply FAQs (pricing, cancellation) at zero token cost.
- Forwards complex or unclassified emails to an AI processing mailbox, separating customer-facing and AI/reply addresses to prevent loops.
- Provides step-by-step setup, robust fail-safes (auto-reply detection, lock files, daily limits), and custom routing/templates via config or script editing.
- Reduces token usage by about 62% compared to sending all support emails to AI processing.
元数据
常见问题
独立开发者客服邮件系统 是什么?
客服邮件智能分流。CLI 关键词预筛自动回复常见问题,复杂邮件转发 AI 处理邮箱或主邮箱,节省约 62% token 成本。Use when: (1) setting up automated support email triage for a SaaS product, (2) auto-replying... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 170 次。
如何安装 独立开发者客服邮件系统?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install support-router」即可一键安装,无需额外配置。
独立开发者客服邮件系统 是免费的吗?
是的,独立开发者客服邮件系统 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
独立开发者客服邮件系统 支持哪些平台?
独立开发者客服邮件系统 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 独立开发者客服邮件系统?
由 DevincodeL(@devincodel)开发并维护,当前版本 v1.0.12。
推荐 Skills