npx claudepluginhub chujianyun/skills --plugin hermes-qqThis skill uses the workspace's default tool permissions.
本技能用于 CoPaw 的日常巡检、故障定位与恢复操作,优先给出可执行命令和最短恢复路径。
Deploys and configures CoPaw AI assistant framework for chat channels like DingTalk, Feishu, Discord, Telegram with Python skills, cron jobs, and local/cloud LLMs.
Runs diagnostic checks on agent workspace: config, identity, memory, SQLite index, QMD, crons, hooks, HTTP bridge, messaging plugins, dreaming. Applies safe auto-fixes with --fix.
Troubleshoots OpenClaw AI gateway with CLI commands for status checks, channel probes, log reviews, auto-repairs, and restarts. Follows 'check → triage → fix → verify' flow for service, connection, and message issues.
Share bugs, ideas, or general feedback.
本技能用于 CoPaw 的日常巡检、故障定位与恢复操作,优先给出可执行命令和最短恢复路径。
本 skill 主要采用:
--agent-id(默认:default)以下操作默认可以直接做:
copaw daemon statuscopaw daemon versioncopaw agent list(新增)copaw workspace list(新增)copaw models list [--agent-id <id>]copaw channels list [--agent-id <id>]copaw cron list [--agent-id <id>]copaw daemon logs -n 100以下操作属于高影响动作,执行前应先向用户说明:
copaw daemon reload-config/restart/daemon restartcopaw init --forcecopaw workspace delete <id>当用户报告 CoPaw 故障时,按以下最小闭环执行:
# 1) 基础状态(全局)
copaw daemon status
copaw daemon version
# 2) 多 agent 检查(新增)
copaw agent list # 列出所有 agent
copaw workspace list # 列出所有工作区
# 3) 特定 agent 检查(指定 --agent-id)
copaw models list --agent-id <id>
copaw channels list --agent-id <id>
copaw cron list --agent-id <id>
# 4) 最近日志
copaw daemon logs -n 100
# 5) 针对性恢复(按症状)
copaw daemon reload-config
# 检查工作区结构
ls -la ~/.copaw/workspaces/
# 检查特定 agent 的工作区
ls -la ~/.copaw/workspaces/<agent-id>/
# 检查配置文件
cat ~/.copaw/workspaces/<agent-id>/agent.json
# 检查内置 skills
ls -la ~/.copaw/workspaces/<agent-id>/active_skills/
# 检查向量数据库(如果启用)
ls -la ~/.copaw/workspaces/<agent-id>/file_store/
若在聊天渠道中可直接执行 Magic Commands,则优先:
/status
/restart
/daemon logs 50
/restart,再 copaw daemon reload-configls -la ~/.copaw/workspaces/copaw agent listcopaw daemon reload-config + copaw daemon logs -n 200cat ~/.copaw/workspaces/<id>/agent.jsoncopaw init --forcecopaw channels list --agent-id <id> 检查配置copaw channels config <channel> --agent-id <id> 查看详细配置client_id, client_secret, robot_code;使用 dingtalk_channel skill 自动连接app_id, app_secret, encrypt_keyapp_id, client_secret/daemon restart 重启服务copaw models list --agent-id <id> 检查当前模型copaw models config-key <provider> --agent-id <id> 检查 API keycopaw models set-llm --agent-id <id> 切换模型copaw cron list --agent-id <id> 列出所有任务copaw cron state <job_id> --agent-id <id> 检查任务状态cat ~/.copaw/workspaces/<id>/jobs.jsoncopaw cron resume <job_id> --agent-id <id> 恢复任务copaw cron run <job_id> --agent-id <id> 手动执行测试ls ~/.copaw/workspaces/<id>/active_skills//compact 或 /new/history 验证 Token 使用copaw channels config dingtalk --agent-id <id>
client_idclient_secretrobot_code(可选)# 需要可视化浏览器
copaw skills run dingtalk_channel --agent-id <id>
copaw daemon status 正常,且无关键报错。copaw agent list 显示所有 agent 正常。copaw channels list --agent-id <id> 渠道状态符合预期。copaw models list --agent-id <id> 当前模型可用。copaw cron list --agent-id <id> / copaw cron state <job_id> 显示任务正常。agent.json 存在,active_skills/ 存在。references/copaw_commands.mdreferences/copaw_recovery.mdreferences/multi_agent.md(新增)references/builtin_skills.md(新增)向用户汇报时使用以下结构:
default agent--agent-id <id> 参数指定Error: Agent 'xxx' not found
解决:
copaw agent listcopaw workspace create <id>Error: Workspace directory not found
解决:
ls -la ~/.copaw/workspaces/copaw init --forceError: Failed to load skill 'xxx'
解决:
ls ~/.copaw/workspaces/<id>/active_skills/pip listcopaw daemon logs -n 200