跳到正文
TakoAPI
返回技能列表

simple-random-interaction-designer

由 fjrevoredo 提供

Web & Frontend Development
364下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Decide whether OpenClaw should send a spontaneous ping to the user during periodic checks, and choose a randomized.

描述

该技能的功能

Runs a Python script to decide whether an agent should send a spontaneous casual message during a scheduled check-in. On a yes decision, it returns an interaction type and short guidance for drafting the message. Supports data-aware interactions when live context like weather, calendar, or smart-home state is accessible.

Keeps proactive agent messages from feeling patterned by randomizing both timing and interaction style rather than using a fixed schedule or template.

何时使用

  • Scheduling periodic friendly pings from a personal assistant agent
  • Varying proactive outreach so it feels less mechanical
  • Injecting calendar-aware nudges before upcoming events
  • Sharing a weather-relevant comment on relevant mornings
  • Pulling smart-home status into a casual one-liner

示例工作流

输入

User asks: agent runs its scheduled check and calls the interaction designer

智能体
  1. 1

    Run python3 scripts/random_interaction_designer.py

  2. 2

    Read decision field from JSON output

  3. 3

    Stop if decision is no

  4. 4

    If decision is yes, read interaction_type and interaction_description

  5. 5

    Fetch relevant live context if the interaction type is data-aware, then draft a brief casual message following the description

输出

A short one or two line chat message sent to the user, such as a playful opener or a calendar nudge, with no mention of the scheduling or random process behind it

安装

clawhub install fjrevoredo/simple-random-interaction-designer

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接