← 返回 Skills 市场
clawsurfer01

Sessions Wait

作者 clawsurfer01 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
48
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sessions-wait
功能描述
Waits for an OpenClaw child session to finish or time out without using sleep loops, returning session status and results.
使用说明 (SKILL.md)

Sessions Wait

Wait for OpenClaw child sessions (ACP builders, verifiers, probes) to finish without sleep loops.

Tools

sessions_wait

Blocks until a child session closes or times out. One tool call, one result.

Parameters:

  • session_key (required) — Session key or UUID fragment from sessions_spawn
  • timeout_seconds (optional, default 600) — Max seconds to wait
  • poll_interval (optional, default 5) — Seconds between internal polls

Returns status closed with the session result, timeout if the deadline passes, or not_found if no matching session files exist.

sessions_check

Instant non-blocking status check. Returns running or closed with message count and result if available.

Parameters:

  • session_key (required) — Session key or UUID fragment

When to use

Use sessions_wait after sessions_spawn instead of bash sleep loops. The controller/builder/verifier pattern becomes:

  1. sessions_spawn(...) → get session key
  2. sessions_wait(session_key, timeout_seconds: 900) → blocks until done
  3. Read result, dispatch next lane

Install

As an OpenClaw plugin

openclaw plugins install git:https://github.com/peterkatz/openclaw-sessions-wait

As an MCP server

openclaw mcp set sessions-wait '{"command":"python3","args":["mcp/server.py"]}'

Requirements

  • OpenClaw 2026.5.17+
  • Node.js 20+ (plugin mode) or Python 3.8+ (MCP server mode)
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sessions-wait
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sessions-wait 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Sessions Wait skill for OpenClaw. - Adds sessions_wait tool to block until a child session closes or times out, removing the need for manual sleep loops. - Introduces sessions_check tool for instant, non-blocking session status checks. - Supports both OpenClaw plugin and MCP server installation modes. - Compatible with OpenClaw 2026.5.17+, Node.js 20+ (plugin), and Python 3.8+ (MCP server).
元数据
Slug sessions-wait
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Sessions Wait 是什么?

Waits for an OpenClaw child session to finish or time out without using sleep loops, returning session status and results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。

如何安装 Sessions Wait?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sessions-wait」即可一键安装,无需额外配置。

Sessions Wait 是免费的吗?

是的,Sessions Wait 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Sessions Wait 支持哪些平台?

Sessions Wait 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Sessions Wait?

由 clawsurfer01(@clawsurfer01)开发并维护,当前版本 v1.0.0。

💬 留言讨论