> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baimoqilin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sessions new

> 创建并切换到新的 MineClawd 会话。

## 用途

创建一个全新会话，避免新任务和旧上下文混在一起。

## 语法

```bash theme={null}
/mineclawd sessions new
```

## 何时使用

开始新项目、切换玩法或更换目标前使用这个命令。

## 示例

```bash theme={null}
/mineclawd sessions new
```

## 行为和限制

* 新会话会立即成为当前活动会话。
* 初始标题是 `New Session`，首次响应后可能自动重命名。
* session id 是 4 位短 id，token 格式为 `<id>-<title-slug>`。

## 常见失败

* `cannot create a new session while a request is running`：请等待当前任务完成。
* `failed to create session`：请检查 `mineclawd/sessions/` 的写入权限。
