← 返回 Skills 市场
cong91

Smart Wake

作者 cong91 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
353
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-wake
功能描述
Prevent subagent timeout using checkpoint + cron wake + resume via session spawn mechanism.
安全使用建议
This skill is instruction-only and internally consistent, but before installing check the following: (1) Confirm your platform's sessions_spawn/cron APIs are permissioned with least privilege and that the agent cannot create unrestricted system-wide cron jobs. (2) Define and audit where checkpoints and artifact paths are stored (memory/slot, file paths) and ensure sensitive data is not persisted in plaintext. (3) Ensure resume payloads are sanitized so secrets or unrelated context are not sent to spawned sessions. (4) Enforce retry_count and wake limits (to avoid accidental infinite wake loops) and test cancelation behavior. (5) If your environment requires an owner/authority review, note the SKILL.md owner line (platform-team) vs. registry owner ID—confirm this skill comes from an expected source before trusting it in production.
功能分析
Type: OpenClaw Skill Name: smart-wake Version: 1.0.0 The 'smart-wake' skill is designed to manage long-running AI agent tasks by implementing checkpointing, scheduled cron wakes, and session resumption. The `SKILL.md` provides clear, structured instructions for the agent, focusing on state persistence, idempotency, and resource management within the OpenClaw platform. It explicitly limits tool usage to built-in mechanisms and includes operational rules to prevent infinite loops and ensure cleanup. There is no evidence of malicious intent, data exfiltration, unauthorized command execution, or prompt injection attempts to subvert the agent's core functions. The instructions are aligned with a legitimate operational goal for an AI agent.
能力评估
Purpose & Capability
Name/description (prevent subagent timeout via checkpoint + cron wake + resume) match the SKILL.md instructions. The skill does not request unrelated binaries, env vars, or installs; required mechanisms referenced (sessions_spawn, cron, memory/slot) are consistent with the described functionality.
Instruction Scope
Instructions stay within the stated purpose (checkpointing, scheduling wake, spawning resume sessions). They do not ask the agent to read arbitrary system files or env vars. Caveats: storage location for checkpoints/artifacts is underspecified (mentions 'memory/slot' and artifact paths) which could lead to inconsistent implementations; resume payloads sent to sessions_spawn may inadvertently include sensitive context if not sanitized.
Install Mechanism
No install spec and no code files—lowest risk. The skill is instruction-only and will not write code or binaries to disk as part of install.
Credentials
The skill requests no environment variables or credentials, which is proportional. However it implicitly requires the agent/platform permission to register Gateway cron jobs and call sessions_spawn; ensure those privileges are scoped appropriately because cron/session capabilities can be powerful even without explicit credentials.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify other skills. The workflow instructs creating and cancelling cron jobs for each task, which is reasonable for the stated purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-wake
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-wake 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
smart-wake` is a critical survival protocol designed to protect autonomous AI agents from being "killed" silently due to system timeouts when executing long, complex, or resource-heavy tasks (such as code compilation, large web scraping, or waiting for API responses). It transforms the agent from a passive listener into a proactive, self-sustaining worker. **How to Use (For Agents):** Whenever you are assigned a task that might exceed your given timeout limit, you must: 1. **Divide the work:** Break the task into smaller executable chunks (e.g., 5-minute blocks). 2. **Save your progress (Checkpoint):** Right before you suspect a timeout is approaching, save exactly what you have completed and what needs to be done next into a JSON checkpoint object. 3. **Set an Alarm (Cron Wake):** Use the `cron` tool to schedule a wake-up call for yourself in a few minutes. 4. **Pass the Baton:** In the cron payload, inject the `task_id` and the `next_actions`. When the cron wakes you (or spawns a fresh subagent session), you will read the checkpoint and resume exactly where you left off, completely bypassing the timeout limit!
元数据
Slug smart-wake
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Smart Wake 是什么?

Prevent subagent timeout using checkpoint + cron wake + resume via session spawn mechanism. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 353 次。

如何安装 Smart Wake?

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

Smart Wake 是免费的吗?

是的,Smart Wake 完全免费(开源免费),可自由下载、安装和使用。

Smart Wake 支持哪些平台?

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

谁开发了 Smart Wake?

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

💬 留言讨论