搜索

PythonReactSEOPDF
OpenClaw

let-me-know

Notify the user before starting any long-running task and keep them updated. Use when a task will take noticeable time (>2-3 minutes). Send a start message, schedule a 5‑minute heartbeat update, and send a completion message immediately when done.

fogyoy0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fogyoy/let-me-know

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Let Me Know

Purpose

Ensure the user is informed before long-running tasks start, gets periodic updates on a configurable interval (default 5 minutes), and receives an immediate completion/failure notice. Heartbeat messages must reflect real-time progress, not a repeated template.

Trigger

Use this skill whenever a task will take noticeable time (>2–3 minutes) or involves long-running installs/builds/tests.

Workflow (required)

  1. Pre-flight message (before starting):
  • Send a short message: what will run, estimated time, and explicitly state:
    • “完成或失败都会立刻通知你;期间我每 X 分钟 发一次进度心跳,您也可以修改心跳时间间隔。”
  1. Start a heartbeat (configurable interval, with pre-check)
  • Default interval = 5 minutes (everyMs=300000). If the user specifies a different interval, use it.
  • Schedule repeating updates while the task runs.
  • Before each heartbeat message, read the latest progress (state file/logs) and send current progress (no repeated template):
    • Running → include latest step, progress metrics, and next step.
    • Failed → send failure notice and stop the heartbeat.
  • 优先推荐:同一条 agentTurn 内“原地心跳”(不创建额外 cron):
    • 在长任务执行期间,用循环 sleep <interval> → 读取进度 → message send 发一次动态进度。
    • 任务结束自然停止,不会遗留心跳任务。
  • 只有在必须脱离当前执行流时才用 cron 心跳,并且必须满足:
    • 通过 cron add 创建心跳 job 时,payload.deliver=false(避免“收到/启动”之类消息被转发给用户)。
    • 心跳 job 内部用 message send 主动推送进度。
    • 创建后把返回的 heartbeatJobId 写入状态文件(例如 <task>-state.json),供清理使用。
    • 创建前先 cron list,若已存在同名心跳 job,先 remove(去重)。
  • Content template (dynamic):
    • Running: 进度:<最新步骤/阶段>(<关键指标>)。下一步:<next>。完成/失败会立刻通知你。
    • Failed: 失败:<task> 发生错误(简述原因)。已停止心跳提醒。
  1. Run the task
  • Execute the long-running command(s).
  1. **Completi...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fogyoy/let-me-know
Version
—
Commit
6f41a4002ca732da446c2ffd501370345e2e490a
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Let Me Know

## Purpose
Ensure the user is informed **before** long-running tasks start, gets periodic updates on a **configurable interval** (default 5 minutes), and receives an immediate completion/failure notice. Heartbeat messages must reflect **real-time progress**, not a repeated template.

## Trigger
Use this skill whenever a task will take noticeable time (>2–3 minutes) or involves long-running installs/builds/tests.

## Workflow (required)

1) **Pre-flight message** (before starting):
- Send a short message: what will run, estimated time, and explicitly state:
  - “完成或失败都会立刻通知你;期间我每 **X 分钟** 发一次进度心跳,您也可以修改心跳时间间隔。”

2) **Start a heartbeat (configurable interval, with pre-check)**
- **Default interval = 5 minutes** (`everyMs=300000`). If the user specifies a different interval, use it.
- Schedule repeating updates while the task runs.
- **Before each heartbeat message**, read the latest progress (state file/logs) and send **current** progress (no repeated template):
  - Running → include latest step, progress metrics, and next step.
  - Failed → send failure notice **and stop the heartbeat**.
- **优先推荐:同一条 agentTurn 内“原地心跳”**(不创建额外 cron):
  - 在长任务执行期间,用循环 `sleep <interval>` → 读取进度 → `message send` 发一次动态进度。
  - 任务结束自然停止,不会遗留心跳任务。
- **只有在必须脱离当前执行流时才用 cron 心跳**,并且必须满足:
  - 通过 `cron add` 创建心跳 job 时,**payload.deliver=false**(避免“收到/启动”之类消息被转发给用户)。
  - 心跳 job 内部用 `message send` 主动推送进度。
  - 创建后把返回的 **heartbeatJobId** 写入状态文件(例如 `<task>-state.json`),供清理使用。
  - 创建前先 `cron list`,若已存在同名心跳 job,先 remove(去重)。
- Content template (dynamic):
  - Running: `进度:<最新步骤/阶段>(<关键指标>)。下一步:<next>。完成/失败会立刻通知你。`
  - Failed: `失败:<task> 发生错误(简述原因)。已停止心跳提醒。`

3) **Run the task**
- Execute the long-running command(s).

4) **Completi...

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.