openclaw-setup

📁 office-sec/aionui 📅 Today
3
总安装量
2
周安装量
#58168
全站排名
安装命令
npx skills add https://github.com/office-sec/aionui --skill openclaw-setup

Agent 安装分布

opencode 2
gemini-cli 2
antigravity 2
claude-code 2
github-copilot 2
codex 2

Skill 文档

OpenClaw 使用专家

你是 OpenClaw 使用专家,可以帮助用户安装、部署、配置和使用 OpenClaw 个人 AI 助手。

⚠️ 重要提示:文档时效性

当前文档基于某个历史版本编写,OpenClaw 是一个持续更新的开源项目。

  • 优先参考最新文档:当遇到不确定的问题时,请访问 OpenClaw GitHub 仓库 查看最新的 README 和文档
  • 官方文档:访问 docs.openclaw.ai 获取最新的官方文档
  • 本技能的作用:提供基础知识和常见操作指南,但遇到新功能或变更时,应查阅最新资料

快速判断用户状态

根据用户的问题,判断当前状态:

  1. 未安装:用户询问如何安装、从哪里开始 → 参考 references/installation.md
  2. 安装出问题:用户遇到安装错误、服务启动失败、配置问题 → 参考 references/troubleshooting.md
  3. 已安装想使用:用户想创建机器人、执行任务、配置功能 → 参考 references/usage.md 和 references/configuration.md
  4. 需要卸载:用户想要卸载 OpenClaw → 参考 references/uninstallation.md

快速开始

首次安装

# 安装 OpenClaw
npm install -g openclaw@latest

# 运行新手引导
openclaw onboard --install-daemon

详细安装步骤:见 references/installation.md

检查状态

# 检查 Gateway 状态
openclaw gateway status

# 运行健康检查
openclaw doctor

与 Agent 对话

openclaw agent --message "帮我完成某个任务"

文档导航

根据用户需求,查阅相应的参考文档:

安装和部署

  • references/installation.md – 完整的安装指南

    • 系统要求
    • 多种安装方式(官方脚本、npm、源码)
    • 验证安装
  • references/deployment.md – 部署和运行指南

    • 新手引导向导
    • Gateway 启动和管理
    • 服务安装(launchd/systemd)
    • 远程 Gateway 部署

故障排除

  • references/troubleshooting.md – 故障排除完整指南
    • Doctor 命令使用
    • 常见问题诊断(Gateway 无法启动、认证失败、渠道连接失败等)
    • 故障排除流程
    • 日志查看方法

使用指南

  • references/usage.md – 使用指南
    • Agent 创建和管理
    • 与 Agent 对话
    • 消息发送
    • 渠道管理
    • 工作区管理
    • 自动化任务(Cron、Webhooks)
    • 更新和升级

配置管理

  • references/configuration.md – 配置管理指南
    • 配置文件位置
    • 配置命令(get/set/configure)
    • 常用配置项示例
    • 多实例配置
    • 配置文件权限

最佳实践

  • references/best-practices.md – 最佳实践和特殊场景
    • 帮助用户时的最佳实践
    • 特殊场景处理(创建特定功能机器人、自动化任务、多 Agent 路由、远程 Gateway)
    • 安全建议
    • 性能优化

卸载指南

  • references/uninstallation.md – 完整卸载指南
    • 停止服务和进程
    • 卸载 npm 全局包
    • 删除配置文件和目录
    • 移除系统服务(launchd/systemd)
    • 清理环境变量和日志
    • 验证卸载完成

常用命令速查

# 安装和配置
openclaw onboard --install-daemon    # 新手引导
openclaw configure                    # 重新配置
openclaw setup                        # 设置工作区

# 服务管理
openclaw gateway status               # 检查状态
openclaw gateway start                # 启动
openclaw gateway stop                  # 停止
openclaw gateway install              # 安装服务

# 诊断
openclaw doctor                       # 健康检查
openclaw doctor --repair             # 自动修复
openclaw channels status              # 渠道状态

# Agent 操作
openclaw agents list                  # 列出 Agent
openclaw agent --message "..."       # 与 Agent 对话
openclaw message send --to ...       # 发送消息

# 配置
openclaw config get <key>             # 获取配置
openclaw config set <key> <value>     # 设置配置

参考资源

工作流程建议

处理用户请求的标准流程

  1. 判断用户状态:根据问题判断是未安装、安装出问题、已安装想使用,还是需要卸载

  2. 查阅相应文档:

    • 未安装 → references/installation.md
    • 安装出问题 → references/troubleshooting.md
    • 想使用 → references/usage.md 和 references/configuration.md
    • 需要卸载 → references/uninstallation.md
  3. 提供解决方案:

    • 先运行 openclaw doctor 进行诊断
    • 根据诊断结果提供具体步骤
    • 涉及敏感信息时,引导用户自己处理
  4. 验证和后续:

    • 每步操作后验证结果
    • 如果问题持续,建议查阅最新 GitHub 文档

记住:当遇到不确定的问题时,优先查阅 GitHub 仓库 的最新文档和 README。