360 Secure SkillHub
360 安全技能中心

Buddy Followup

核心功能:解决Agent承诺跟进却遗忘的问题,为长时任务(子Agent、构建、API调用等)设置定时提醒,在配置的多渠道(如Telegram、WhatsApp)自动触发,唤醒时携带任务上下文,支持循环设置直到任务完成。典型场景:启动耗时任务后告知用户将跟进,需延迟检查任务状态。通过脚本调用输入延迟时长和任务上下文,触发时收到多渠道提醒,助力Agent闭环任务。

baiyishr
baiyishr
热度 47.91
最近更新 2026-05-11 17:34:24
分类:自动化依赖:代码执行 / 第三方 API应用场景:工作流 / 自动化脚本 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add buddy-followup
Metadata
name
buddy-followup
version
1.0.0
description
Agents say "I'll follow up" — and then forget. This skill fixes that. When you kick off a long-running task (sub-agent, build, API call, script), set a timer before you move on. When it fires, you wake up with the original context on every configured channel and actually deliver the update you promised. If the task isn't done yet, set another timer and keep going. No hardcoded IDs — channels are read dynamically from OpenClaw config.
tags
["async","timer","followup","cron","workflow"]

buddy-followup

Agents say "I'll follow up" — and then forget. This skill fixes that.

When you kick off a long-running task and tell the user "I'll get back to you", use this to actually follow through — automatically, on every configured channel.

Installation

Via ClawHub (recommended):

npx clawhub install buddy-followup

When to Use

  • You launch a sub-agent, script, build, download, or API call that takes time
  • You tell the user "I'll update you when it's done" or "give me a few minutes"
  • You need to check back on something after a delay

How It Works

  1. You estimate how long the task will take and call the script with that delay
  2. Cron jobs fire at the given time on every configured channel (Telegram, WhatsApp, etc.)
  3. You wake up with the task context, check status, and reply to the user
  4. Still pending? Set another timer and keep the loop going
  5. Done? Report results and close the loop

No hardcoded IDs — channels and targets are read dynamically from openclaw config get at runtime.

Usage

bash ~/clawd/skills/buddy-followup/scripts/followup.sh <delay> "task context"

Delay formats: 30s, 5m, 2h

Examples:

bash ~/clawd/skills/buddy-followup/scripts/followup.sh 2m "check if sub-agent finished building the API"
bash ~/clawd/skills/buddy-followup/scripts/followup.sh 10m "check if deployment completed"
bash ~/clawd/skills/buddy-followup/scripts/followup.sh 30s "verify test results are ready"

Run via exec tool — the script exits immediately after scheduling. No background flag needed.

When the Follow-Up Fires

On receiving ⏰ FOLLOW-UP (<delay>): <task>:

  1. Check the task status
  2. Reply directly — routes to all configured channels automatically
  3. Done → confirm results to the user
  4. Still running → tell the user, reset the timer:
    bash ~/clawd/skills/buddy-followup/scripts/followup.sh 2m "still waiting for X, checking again"
    

Requirements

  • OpenClaw gateway running
  • At least one channel configured (Telegram with channels.telegram.defaultTo, or WhatsApp with channels.whatsapp.allowFrom)
  • openclaw CLI available in PATH

Notes

  • Channels are discovered at runtime — adding a new channel automatically includes it
  • Each timer creates one cron job per channel, deleted after firing
  • The agent decides the delay — base it on realistic task completion time