乐于分享
好东西不私藏

OpenClaw命令集

OpenClaw命令集

《Rayhol周刊》第 102 期 

Session类: 

/session

Manage session-level settings (for example /session idle).管理会话级设置(例如 /session idle)。

/stop 常用

Stop the current run.停止当前运行。

/reset ⭐常用

Reset the current session.重置当前会话。

/new ⭐常用

Start a new session.启动新会话。

/compact ⭐常用

Compact the session context.压缩会话上下文。

Status类: 

/help

Show available commands.显示可用命令。

/status ⭐常用

Show current status.显示当前状态。

/context ⭐常用

Explain how context is built and used.解释上下文的构建和使用方式。

/export

Export current session to HTML file with full systemprompt.将当前会话导出为包含完整系统提示符的 HTML 文 件。

/whoami

Show your sender id.显示您的发件人 ID。

Options类: 

/usage ⭐常用

Usage footer or cost summary.显示使用情况页脚或费用摘要。

/think ⭐常用

Set thinking level.{off, minimal, low, medium,high,adaptive}设置思考级别。

/verbose

Toggle verbose mode.切换详细模式。

/reasoning

Toggle reasoning visibility.切换推理可见性。

/elevated

Toggle elevated mode.切换管理员模式。

/exec

Set exec defaults for this session.设置此会话的 exec 默认值。

/model ⭐常用

Show or set the model.显示或设置模型。

/queue

Adjust queue settings.调整队列设置。

Management类: 

/allowlist

List/add/remove allowlist entries.列出/添加/移除允许列表条目。

/approve ⭐常用

Approve or deny exec requests.批准或拒绝执行请求。

/subagents ⭐常用

List, kill, log, spawn, or steer subagent runs for thissession.列出、终止、记录、生成或引导当前会话的子代理运行。

/acp

Manage ACP sessions and runtime options.管理 ACP 会话和运行时选项。

/focus

Bind this thread (Discord) or topic/conversation(Telegram) to a session target.将此线程(Discord)或主题/对话(Telegram)绑定到会话目标。

/unfocus

Remove the current thread (Discord) ortopic/conversation (Telegram) binding.移除当前线程(Discord)或主题/对话(Telegram)的绑定。

/agents

List thread-bound agents for this session.列出当前会话中绑定到线程的代理。

/kill ⭐常用

Kill a running subagent (or all).终止正在运行的子代理(或所有子代理)。

/steer

Send guidance to a running subagent.向正在运行的子代理发送引导信息。

/activation

Set group activation mode.设置组激活模式。

/send

Set send policy.设置发送策略。

Media类: 

/tts

Control text-to-speech (TTS).控制文本转语音 (TTS)。

Tools类: 

/skill

Run a skill by name.按名称运行技能。

/restart ⭐常用

Restart OpenClaw.重启 OpenClaw。

Docks类: 

/dock_telegram

Switch to telegram for replies.切换到 Telegram 接收回复。

/dock_discord

Switch to discord for replies.切换到 Discord 接收回复。