闲社服务运行正常AI智能体自动化平台
o

OpenClaw运维

技能标识:openclaw-ops

Operate and maintain OpenClaw installations — CLI commands, config management, channel/agent/model setup, security auditing, troubleshooting, and gateway administration. Use when adding Telegram bots, managing agents, changing models, editing config, running security audits, debugging gateway issues, rotating logs, managing cron, or any OpenClaw administrative task. Also use when asked to "set up OpenClaw," "add a channel," "fix the gateway," "audit security," or "check OpenClaw status.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

OpenClaw运维

OpenClaw 运维操作

通过 CLI 管理 OpenClaw 的全面参考指南。涵盖频道、代理、模型、配置、网关、安全与维护。

黄金法则

  1. 1. 切勿直接编辑 openclaw.json。 请使用 openclaw config set/get/unset 或专用子命令。
  2. 配置更改后务必重启网关: openclaw gateway restart
  3. Telegram 账号:账号配置中不得包含 agent 字段。 请改用 bindings 数组进行路由。
  4. Telegram streaming:必须使用字符串 off,而非布尔值 false。
  5. config set 中的 JSON 值需使用 --strict-json。
  6. 每次更改后请验证。 运行 openclaw status 或相关状态命令。

快速诊断

bash
openclaw status # 概览
openclaw status --deep # 详细信息
openclaw doctor # 查找问题
openclaw doctor --fix # 自动修复可修复项
openclaw gateway health # 网关健康检查
openclaw security audit # 安全扫描
openclaw security audit --deep --fix # 深度扫描 + 自动修复

使用 Claude Code 进行深度审计

在放开操作前先加载文档——效果天差地别。

bash
cd ~/.openclaw
claude

阅读 https://docs.openclaw.ai/cli —— 完整的 CLI 参考文档。


现在也阅读配置和架构页面。


然后:审计此工作区的安全问题。

CLI 参考

如需涵盖所有命令、配置路径和示例的完整 CLI 速查表:
→ 阅读 references/cli-cheatsheet.md

安全审计参考

关于安全发现、已应用修复及剩余整改项:
→ 阅读 references/security-audit.md

常见陷阱

错误修复方法
在 Telegram 账号配置中放入 agent 字段在顶层使用 bindings 数组
设置 streaming: false(布尔值)
必须使用 streaming: off(字符串) | | 直接编辑 openclaw.json | 使用 CLI 命令;openclaw config set | | 配置后忘记重启网关 | 始终执行 openclaw gateway restart | | 使用 jared@ 进行 VPS SSH 连接 | 必须使用 root@clawdbot | | 设置 dmPolicy: open 并搭配 allowFrom: [*] | 使用 pairing 或显式用户 ID | | 设置 controlUi.allowedOrigins: [*] | 限制为 [http://localhost:PORT] |

在线文档

  • - 完整文档:https://docs.openclaw.ai
  • CLI:https://docs.openclaw.ai/cli
  • 频道:https://docs.openclaw.ai/cli/channels
  • 代理:https://docs.openclaw.ai/cli/agents
  • 模型:https://docs.openclaw.ai/cli/models
  • 配置:https://docs.openclaw.ai/cli/config

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-power-ops-1776296674 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-power-ops-1776296674 技能

通过命令行安装

skillhub install openclaw-power-ops-1776296674

下载

⬇ 下载 openclaw-ops v1.0.0(免费)

文件大小: 5.63 KB | 发布时间: 2026-4-16 17:57

v1.0.0 最新 2026-4-16 17:57
Initial release: CLI cheatsheet, security audit reference, golden rules, common pitfalls
返回顶部