← 返回
未分类 中文

Nervtimer

Set one-shot or recurring timers across channels and keep nagging every 5 minutes until the user explicitly says it is done. Uses cron for scheduling, determ...
在多个频道设置一次性或循环计时器,每5分钟提醒一次,直到用户明确表示完成。使用 cron 进行调度,确定...
fragwuerdig fragwuerdig 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 358
下载
💾 1
安装
1
版本
#latest

概述

NervTimer

Use this skill when the user wants OpenClaw to set a reminder timer and keep reminding until explicit completion.

This skill is designed to be published via ClawHub and installed with:

openclaw skills install nervtimer

Required behavior

  1. Parse user intent into structured timer data.
  2. Support one_shot and recurrent schedules.
  3. Extract optional reason/purpose text from user intent.
  4. When due, start nagging every 5 minutes.
  5. Stop nagging only when the user explicitly says done.
  6. For recurring timers: done ends only the current nagging phase, not the whole recurring schedule.

Deterministic + generative split

  • Deterministic:
  • state transitions (scheduled, nagging, done)
  • nag interval (5 minutes)
  • escalation stage from nag_count
  • schedule payload construction
  • Generative (LLM):
  • final reminder sentence style
  • personality adaptation
  • increasing urgency/annoyance within policy bounds

Files in this skill

  • {baseDir}/references/intent-schema.md
  • {baseDir}/references/escalation-policy.md
  • {baseDir}/scripts/validate-intent.sh
  • {baseDir}/scripts/state.sh
  • {baseDir}/scripts/build-cron-payload.sh

Workflow

Execution rule:

  • Always execute skill scripts via bash ....
  • Do not execute scripts directly via shebang path.
  • If a script call fails, immediately fall back to direct cron tool calls and inform the user briefly.
  • Never keep "typing" without either creating the timer or returning a concrete error.

A) Create timer

  1. Build a structured intent JSON from the user message (see intent schema reference).
  2. Validate it:
printf '%s' "$INTENT_JSON" | bash "{baseDir}/scripts/validate-intent.sh"
  1. Upsert timer state:
printf '%s' "$TIMER_JSON" | bash "{baseDir}/scripts/state.sh" upsert
  1. Build cron payload(s):
printf '%s' "$TIMER_JSON" | bash "{baseDir}/scripts/build-cron-payload.sh"
  1. Call cron tool with action=add for each payload.

Important defaults:

  • For reminder output use isolated runs (sessionTarget: "isolated", payload.kind: "agentTurn").
  • Route delivery to current channel context unless user requests another target.

B) Scheduled execution (nagging tick)

When a cron reminder turn runs:

  1. Call:
bash "{baseDir}/scripts/state.sh" next-nag "<timer_id>"
  1. If should_nag=false, do not send a reminder text.
  2. If should_nag=true, generate one short reminder using:
    • task title
    • reason (if present)
    • tone_stage
    • OpenClaw personality
  3. Message must become more urgent as nag_count increases.
  4. Apply tone guardrails from escalation policy.

C) User says done

If user explicitly confirms completion (for example "done", "erledigt", "hab ich gemacht"):

  1. Resolve active timer.
  2. Mark done:
bash "{baseDir}/scripts/state.sh" mark-done "<timer_id>"
  1. For recurring timers:
    • keep recurring schedule active
    • reset nagging phase only

D) Ambiguity rules

  • If exactly one active nagging timer exists: auto-map completion.
  • If multiple active nagging timers exist: ask a short disambiguation question.

E) Fast fallback (important for reliability)

If deterministic helper scripts cannot run for any reason:

  • create/update cron jobs directly with the cron tool in the same turn
  • use the same schedule and nagging semantics
  • confirm the resulting timer setup to the user
  • if no schedule can be parsed confidently, ask one short clarification question

Safety and tone constraints

  • Keep reminders short (1 to 2 sentences).
  • No insults, threats, or manipulative guilt language.
  • "More annoyed" means stylistic urgency only, not abuse.
  • Never claim the task is done unless user explicitly confirms it.

Packaging note (ClawHub)

Keep this folder self-contained so it can be published directly:

clawhub skill publish ./nervtimer --slug nervtimer --name "NervTimer" --version 0.1.0 --tags latest

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 06:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,423 📥 326,074
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,245 📥 271,953
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,130 📥 891,104