skills/qclaw-openclaw/SKILL.md
[MANDATORY] 本环境没有全局 openclaw CLI。任何需要执行 openclaw 命令的场景(配置管理、 定时任务、模型设置、Skills/Plugins 管理等)都必须通过本 skill 提供的脚本执行。 禁止直接调用 `openclaw` 命令,禁止执行服务管理命令(gateway/daemon), OpenClaw 服务由 QClaw Electron 守护进程管理。
npx skillsauth add alter123-zz/RaccoonClaw qclaw-openclawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本环境没有全局安装 openclaw CLI。 直接执行 openclaw 命令会失败。
所有需要调用 openclaw CLI 的操作(包括但不限于 config、cron、skills、plugins、models、status 等),
必须且只能通过本 skill 提供的 wrapper 脚本执行。不要尝试:
openclaw config get ...(全局命令不存在)npx openclaw ...(环境变量不正确)node openclaw.mjs ...(缺少必要的环境变量和路径)正确做法是使用本 skill 的脚本,它会自动设置所有必要的环境变量和路径。
OpenClaw 服务由 QClaw Electron 守护进程管理(自动拉起、熔断保护),禁止通过 CLI 直接启停服务。
本 skill 提供跨平台脚本,位于 skill 目录的 scripts/ 下。脚本会自动从 ~/.qclaw/qclaw.json 读取运行时路径和环境变量。
bash <skill_dir>/scripts/openclaw-mac.sh <command> [args...]
<skill_dir>\scripts\openclaw-win.cmd <command> [args...]
<skill_dir>是本 SKILL.md 所在的目录路径。
# 读取配置值
bash <skill_dir>/scripts/openclaw-mac.sh config get <dot.path>
# 设置配置值
bash <skill_dir>/scripts/openclaw-mac.sh config set <dot.path> <value>
# 删除配置值
bash <skill_dir>/scripts/openclaw-mac.sh config unset <dot.path>
示例:
# 查看当前网关端口
bash <skill_dir>/scripts/openclaw-mac.sh config get gateway.port
# 设置默认模型
bash <skill_dir>/scripts/openclaw-mac.sh config set agents.defaults.model.primary "claude-sonnet-4-20250514"
配置生效规则:OpenClaw 的配置修改统一支持热加载,修改后自动在进程内生效。 严禁执行任何服务重启行为(包括但不限于
gateway/daemon restart、kill PID、taskkill)。
对所有会修改 openclaw.json 的操作,必须先完成官方文档校验:
config set/unset 或其他写入操作。拒绝话术要求:当缺少官方 schema 依据时,明确回复“缺少 OpenClaw 官方 schema 依据,拒绝修改
openclaw.json”。
对所有修改 openclaw.json 配置文件的操作,必须遵循以下事务化规则:
openclaw.json 的修改前快照(仅用于本次变更回滚)。# 列出所有定时任务
bash <skill_dir>/scripts/openclaw-mac.sh cron list
# 添加定时任务
bash <skill_dir>/scripts/openclaw-mac.sh cron add --trigger "<cron_expression>" --action "<prompt>"
# 编辑定时任务
bash <skill_dir>/scripts/openclaw-mac.sh cron edit <job_id> --trigger "<cron_expression>"
# 启用/禁用定时任务
bash <skill_dir>/scripts/openclaw-mac.sh cron enable <job_id>
bash <skill_dir>/scripts/openclaw-mac.sh cron disable <job_id>
# 删除定时任务
bash <skill_dir>/scripts/openclaw-mac.sh cron rm <job_id>
# 立即运行(调试)
bash <skill_dir>/scripts/openclaw-mac.sh cron run <job_id>
# 查看执行历史
bash <skill_dir>/scripts/openclaw-mac.sh cron runs
# 查看调度器状态
bash <skill_dir>/scripts/openclaw-mac.sh cron status
# 查看已配置模型
bash <skill_dir>/scripts/openclaw-mac.sh models list
# 查看模型状态
bash <skill_dir>/scripts/openclaw-mac.sh models status
# 设置默认模型
bash <skill_dir>/scripts/openclaw-mac.sh models set <model_id>
# 设置图像模型
bash <skill_dir>/scripts/openclaw-mac.sh models set-image <model_id>
# 管理模型别名
bash <skill_dir>/scripts/openclaw-mac.sh models aliases --help
# 管理 fallback 列表
bash <skill_dir>/scripts/openclaw-mac.sh models fallbacks --help
# 列出所有 skills
bash <skill_dir>/scripts/openclaw-mac.sh skills list
# 查看 skill 详情
bash <skill_dir>/scripts/openclaw-mac.sh skills info <skill_name>
# 检查 skills 就绪状态
bash <skill_dir>/scripts/openclaw-mac.sh skills check
# 列出所有插件
bash <skill_dir>/scripts/openclaw-mac.sh plugins list
# 查看插件详情
bash <skill_dir>/scripts/openclaw-mac.sh plugins info <plugin_id>
# 启用/禁用插件
bash <skill_dir>/scripts/openclaw-mac.sh plugins enable <plugin_id>
bash <skill_dir>/scripts/openclaw-mac.sh plugins disable <plugin_id>
# 安装/卸载插件
bash <skill_dir>/scripts/openclaw-mac.sh plugins install <path_or_spec>
bash <skill_dir>/scripts/openclaw-mac.sh plugins uninstall <plugin_id>
# 诊断插件问题
bash <skill_dir>/scripts/openclaw-mac.sh plugins doctor
# 列出 agents
bash <skill_dir>/scripts/openclaw-mac.sh agents list
# 添加新 agent
bash <skill_dir>/scripts/openclaw-mac.sh agents add <name>
# 删除 agent
bash <skill_dir>/scripts/openclaw-mac.sh agents delete <name>
# 设置 agent 身份
bash <skill_dir>/scripts/openclaw-mac.sh agents set-identity <name> --emoji "🤖"
# 列出通道
bash <skill_dir>/scripts/openclaw-mac.sh channels list
# 查看通道状态
bash <skill_dir>/scripts/openclaw-mac.sh channels status
# 查看通道能力
bash <skill_dir>/scripts/openclaw-mac.sh channels capabilities
# 查看通道日志
bash <skill_dir>/scripts/openclaw-mac.sh channels logs
# 查看网关详细状态(只读,不操作服务)
bash <skill_dir>/scripts/openclaw-mac.sh gateway status
# 系统状态
bash <skill_dir>/scripts/openclaw-mac.sh status
# 网关健康检查
bash <skill_dir>/scripts/openclaw-mac.sh health
# 诊断
bash <skill_dir>/scripts/openclaw-mac.sh doctor
# 安全审计
bash <skill_dir>/scripts/openclaw-mac.sh security audit
# 记忆搜索
bash <skill_dir>/scripts/openclaw-mac.sh memory search <query>
bash <skill_dir>/scripts/openclaw-mac.sh memory status
# 会话列表
bash <skill_dir>/scripts/openclaw-mac.sh sessions list
# 日志查看
bash <skill_dir>/scripts/openclaw-mac.sh logs --follow
# 执行审批管理
bash <skill_dir>/scripts/openclaw-mac.sh approvals get
bash <skill_dir>/scripts/openclaw-mac.sh approvals allowlist --help
# 更新检查(仅查看状态,不执行更新)
bash <skill_dir>/scripts/openclaw-mac.sh update status
以下命令绝对禁止执行,OpenClaw 服务生命周期由 QClaw Electron 守护进程统一管理:
| 命令 | 原因 |
|------|------|
| gateway run/start/stop/restart | 服务由 Electron ProcessSupervisor 管理 |
| gateway install/uninstall | 系统服务安装由 Electron 控制 |
注意:
gateway status是允许的,它只是查询状态,不操作服务。 |daemon start/stop/restart| 同上,daemon 是 gateway 的别名 | |daemon install/uninstall| 同上 | |node start/stop| Node host 服务管理 | |reset| 破坏性操作,会清除所有本地配置和状态 | |uninstall| 破坏性操作,会卸载服务和数据 |
OpenClaw 的配置修改统一采用热加载机制:
config set/unset 后,无需重启服务gateway/daemon restart、kill、taskkill)如配置未即时体现,请先用只读命令核对当前状态:
bash <skill_dir>/scripts/openclaw-mac.sh config get <dot.path>
bash <skill_dir>/scripts/openclaw-mac.sh status
bash <skill_dir>/scripts/openclaw-mac.sh health
~/.qclaw/qclaw.json 不存在QClaw 桌面应用未启动或未成功启动 OpenClaw 服务。请先启动 QClaw 应用。
配置热加载过程中状态可能短暂更新。等待几秒后重新查询 status/health 即可。
Gateway 服务可能未就绪。先检查健康状态:
bash <skill_dir>/scripts/openclaw-mac.sh health
如果持续失败,执行 doctor 并收集日志,不要进行任何重启操作。
qclaw.json 中的路径可能已过期(应用升级后路径变化)。请执行 status/doctor 重新校验元信息并收集日志反馈。
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
tools
天气顾问。智能天气顾问。实时天气查询、未来7天预报、穿衣建议与出行活动推荐 Keywords: 天气查询, weather, 穿衣建议, 出行提醒.