Document runtime integration for /ac command

This commit is contained in:
Alice (OpenClaw)
2026-04-23 12:14:45 +08:00
parent 8152a8843a
commit 0dac3ec76b
3 changed files with 130 additions and 3 deletions

View File

@@ -73,16 +73,31 @@ cp -R openclaw-auto-continue ~/.openclaw/workspace/skills/
- destructive action confirmation
- user decision points
### 如果其他電腦出現 `/ac` unknown
這通常代表目標機器的 **live OpenClaw runtime 還沒有真正實作這個 command**
所以這個 repo 不只要教怎麼用,還要教怎麼把 `/ac` 接進 runtime。
請看:
- `openclaw-auto-continue/references/runtime-integration.md`
這份文件會說明:
- runtime handler 應該做什麼
- `/ac status``/ac on``/ac off` 應該如何改變 session
- 如何驗證另一台真實機器
- 如果 skill 存在但 command 不存在,應該怎麼排查
### 給 Agent 看
如果 OpenClaw agent 要判斷怎麼使用這個 repo
1.`openclaw-auto-continue/SKILL.md`
2. 依照裡面的 trigger conditions 與 command usage 使用
1. `openclaw-auto-continue/SKILL.md`
2. 如果目標機器不認得 `/ac`,再讀 `openclaw-auto-continue/references/runtime-integration.md`
3. 在對應 chat / session 中使用 `/ac on``/ac off``/ac status`
一句話:
- `README.md` 是給人 / operator 看的
- `openclaw-auto-continue/SKILL.md` 是給 agent 看的
- `references/runtime-integration.md` 是給要落地 runtime 的人 / agent 看的
---
@@ -155,13 +170,28 @@ It also does **not** bypass:
- destructive action confirmation
- user decision points
### If another machine says `/ac` is unknown
That usually means the target machine's **live OpenClaw runtime does not actually implement the command yet**.
So this repo should teach not only usage, but also how to integrate `/ac` into the runtime.
See:
- `openclaw-auto-continue/references/runtime-integration.md`
That file explains:
- what the runtime handler must do
- what `/ac status`, `/ac on`, `/ac off` should change
- how to verify a real target machine
- how to troubleshoot a machine where the skill exists but the command does not
### For agents
If an OpenClaw agent is deciding how to use this repo:
1. Read `openclaw-auto-continue/SKILL.md`
2. Follow the trigger conditions and command usage there
2. If the target machine does not recognize `/ac`, read `openclaw-auto-continue/references/runtime-integration.md`
3. Use `/ac on`, `/ac off`, and `/ac status` in the relevant chat/session
In short:
- `README.md` is the human/operator guide
- `openclaw-auto-continue/SKILL.md` is the agent-facing guide
- `references/runtime-integration.md` is for runtime integration work