# 第三章 快速上手与首轮对话实战

安装完成了，系统也验证可用了。现在该真正使用它了。但从“安装成功”到“能放心地在生产环境用”之间，还隔着一些关键认知：

* OpenClaw 如何回答问题？一句话输入是怎样一步步转化成智能体的回复的？
* 出了问题怎么办？不是“重启试试”，而是有系统的排查方法
* 怎样定义“机器人的个性和边界”？写指令的时候什么是有效的

本章建立可复验的“本地最小闭环基准线”：先用 Dashboard 的 Chat 页面验证本地主链路可用，掌握诊断命令与固定排障顺序；再固化初始指令的目标与格式；最后理解本地访问边界。通过本章，你将获得第一个可工作的 OpenClaw 实例，并为后续深入学习建立扎实基础。

**这章学完能做什么**

* 自信地在 Dashboard 进行首轮对话，并理解每一个步骤
* 用诊断命令定位问题，而不是盲目猜测
* 写出清晰、可执行的初始指令，让智能体理解你的需求边界

## 本章内容导读

本章包括以下几个小节：

* [**3.1 控制台与 Chat 快速上手**](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop/3.1_control_ui_webchat.md)：用 Dashboard 的 Chat 页面验证本地对话基线，学会用日志解释每一步发生了什么。
* [**3.2 常用诊断命令与日志排障**](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop/3.2_diagnostics.md)：形成固定的四层诊断顺序与证据链，避免“凭感觉改配置/改提示词”。
* [**3.3 初始指令与智能体角色配置**](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop/3.3_agent_persona.md)：写出“可执行的初始指令”：目标收敛、边界声明、输出结构约束。
* [**3.4 本地访问边界与设备批准**](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop/3.4_pairing_groups.md)：理解设备批准机制与默认安全策略，为后续渠道接入建立基础。
* [**3.5 本章小结**](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop/summary.md)：关键要点与自测题。

## 学习目标

完成本章的阅读后，你将能够：

1. **快速验证**：用 Dashboard 的 Chat 页面验证本地对话基线。
2. **自我诊断**：掌握四层诊断顺序与常用排障命令。
3. **编写指令**：设计清晰、可执行的初始指令与角色定义。
4. **理解边界**：理解设备批准机制与默认访问控制策略。

## 前置条件

* 已完成[第二章](/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/02_setup.md)的安装与首跑验证。
* 可打开本机浏览器访问 Dashboard 的 Chat 页面（远程环境需端口转发）。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yeasy.gitbook.io/openclaw_guide/di-yi-bu-fen-ji-chu-ru-men/03_minimal_loop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
