Clawline Bot
Clawline 项目的专属开发 Agent,负责全栈开发、安全审计、UX 优化和多 Agent 团队协调。
概述
Clawline 是一个 OpenClaw Agent,专门管理 Clawline 插件项目的开发工作。运行在 github-copilot/claude-opus-4.6 模型上,拥有 41 个技能(含 5 个 Clawline 专属技能),具备代码编写、编译验证、Git 操作、多 Agent 团队协调(clawteam)等能力。
打包与升级
⚠️ 2026-05-07 更新:Clawline channel 现已作为独立 npm 包
@clawlines/channel@1.0.0发布(commit7ebed30,tagchannel-v1.0.0)。安装 / 升级路径切到:openclaw plugins install @clawlines/channel@latest # 重启 gateway不再走「升级 openclaw 主包」的路径。npm publish token 走 vault
clawline/NPM_PUBLISH_TOKEN,必须 npm Automation Classic token(granular access token 在 publish-2FA 路径上不被接受)。详见 clawline 5-07 npm 首发章节。Dev 环境仍保留 source-mode:监
apps/channel目录变化 3 分钟自动 build + restart(monitoring-and-cron)。
旧记录(已弃用):Clawline 不是独立的 npm 包或 GitHub repo,而是 openclaw 主包内置的 channel plugin(bundled)。升级路径 = 升级 openclaw 本体:
npm i -g openclaw@latest
# 重启 gateway 让插件重载不存在 ~/.npm-global/lib/node_modules/openclaw/.git 这种东西 — 它是从 npm 装的。要看源码去 openclaw 主仓的 channel 目录。
最近升级(2026-04-26 nexora 实测 + 2026-04-28 复演):c325675 → 5df2519(04-26 cobra 那次)→ 1518eb4(04-28 channel-repo)。gateway 重启自杀坑:cobra 04-28 在 nexora 频道再次让 bot 自己执行 openclaw gateway restart,但 bot 进程跑在 gateway 内,restart 把自己也 SIGTERM 掉 → 命令永远不返回。结论:升级 clawline channel 必须由 Daddy/Cobra 手动敲 openclaw gateway restart(或 systemctl restart openclaw-gateway),bot 不能自助。同日 ottor/tiger 频道同时被 cobra 喊话升级,没有 GitHub 仓库源(搜不到 bochub/clawline)—— 升级走 npm 而非 GitHub clone。
基本信息
| 属性 | 值 |
|---|---|
| 运行模型 | github-copilot/claude-opus-4.6 |
| 上下文窗口 | 128k tokens |
| Session ID | agent:clawline:main |
| 运行模式 | direct |
| 工作区 | ~/.openclaw/workspace-clawline/ |
| 首次出现 | 2026-03-23 |
技能清单
Clawline 专属技能(5 个)
clawline-architecture— 系统架构 & WS 协议clawline-channel— Channel 插件开发clawline-client-web— Web 前端开发clawline-gateway— Gateway & SDK & 文档站clawline-verify— E2E 测试 & 部署验证
通用工具(精选)
clawteam— 多 Agent 协调工具(multi-agent swarm)coding-agent— 委派编码任务给 Codex/Claude Codetavily-search— 网络搜索(自行创建的 skill,包装 Tavily API)code-review— Staff 级代码审查security-audit— CSO 级安全审计frontend-design— 前端界面设计- 等共 41 个技能
工作模式
独立开发
直接在工作区内读写代码、编译验证、Git 提交推送。能处理 TypeScript/React/Node.js 全栈开发任务。
ClawTeam 多 Agent 协调
通过 clawteam 技能 spawn 多个专业 Agent 并行工作:
- 审计团队:UI 审计、架构分析、安全审计(3 Agent 并行,平均 2.9 分钟完成)
- 修复团队:gateway-fixer、web-fixer、channel-fixer(3 Agent 并行修复)
- UX 审计团队:auditor、critic、copywriter、flow-analyst、resilience-checker、pwa-specialist(6 Agent 并行)
- Code Review 团队:review-chatroom、review-client-rest、review-gateway、review-channel(4 Agent 并行)
工作边界
- ✅ 本地代码编写、编译、测试、Git 推送
- ✅ 多 Agent 团队协调和汇总
- ❌ 内网服务器部署(需用户手动执行)
- ❌ 浏览器 UI 预览(WSL 无显示服务器)