← 返回
内容创作 中文

Simple Random Interaction Designer

Decide whether OpenClaw should send a spontaneous casual message during periodic checks, and when it should, choose a natural interaction type plus concise g...
决定OpenClaw是否应在定期检查时主动发送随意的消息,若应该发送,则选择自然的互动类型并提供简洁的回复。
fjrevoredo
内容创作 clawhub v2.0.0 2 版本 99895.6 Key: 无需
★ 2
Stars
📥 917
下载
💾 32
安装
2
版本
#latest

概述

Simple Random Interaction Designer

Use this skill to decide whether to send a casual proactive message and, when the answer is yes, what kind of interaction to deliver.

Use {baseDir}/scripts/random_interaction_designer.py as the default execution path.

Workflow

  1. Run the script once per scheduled check interval.
  2. Read decision from the JSON output.
  3. Stop immediately if decision is no.
  4. If decision is yes, use both interaction_type and interaction_description to draft the outgoing message.
  5. If the selected interaction is data-aware, use any relevant OpenClaw-accessible tools, skills, or integrations to fetch live context before drafting the message.
  6. Keep the final message brief, casual, and easy to ignore without social pressure.
  7. Prefer recent chat context when it is clearly present.
  8. Do not mention the random process, scheduled checks, or why this interaction was selected.

Primary Tooling

  • Script path: {baseDir}/scripts/random_interaction_designer.py
  • Runtime: Python 3, standard library only.

Preferred command:

  • python3 {baseDir}/scripts/random_interaction_designer.py

Output Contract

When the result is no:

{"decision":"no"}

When the result is yes:

{
  "decision": "yes",
  "interaction_type": "Playful opener",
  "interaction_description": "Send a brief playful line that feels spontaneous and easy to ignore."
}

Contract rules:

  • decision is always present and is either yes or no.
  • interaction_type is present only when decision is yes.
  • interaction_description is present only when decision is yes.
  • Do not expect debug fields, probability values, roll values, or fallback metadata.

Interaction Design Rules

  • Treat the JSON as execution guidance, not user-facing text.
  • Keep the final message to one or two short chat lines.
  • Prefer soft phrasing over transactional or assistant-like framing.
  • Avoid defaulting to "just checking in" language.
  • Ask at most one question in a single ping.
  • Do not fabricate recent context, external facts, or account-backed data.
  • For data-aware categories, prefer real-world grounding when OpenClaw can actually access the relevant source.
  • Use smart-home, weather, calendar, traffic, news, or market context only when the information is reliable, fresh, and genuinely relevant to the user.
  • If interaction_type depends on context or fresh data and that support is unavailable, rerun once to try for a non-data interaction; if rerunning is not practical, keep the message general and low-pressure instead of pretending specificity.
  • Vary tone and wording from recent interactions when possible so the behavior feels casual rather than patterned.

Interaction Catalog

Use the selected interaction_type and follow the matching guidance from interaction_description.

  1. Playful opener

Start with a short playful line that feels light and spontaneous.

  1. Curious check-in

Ask one low-stakes question that is easy to answer or ignore.

  1. Light shared observation

Make a casual observation that feels conversational rather than task-driven.

  1. Tiny celebration

Briefly acknowledge a small win or effort when the chat supports it.

  1. Smart device status

If OpenClaw can access relevant device state, share one useful smart-device status or gentle suggestion naturally.

  1. Weather-aware check-in

Use current weather only when fresh reliable data is available and clearly relevant.

  1. Calendar-aware nudge

Turn calendar context into a soft human-sounding reminder or prompt, not an alert.

  1. Context-aware follow-up

Build on a recent chat detail only when it is clearly present in the current conversation.

  1. Practical nudge

Offer one concise optional nudge that may help the user.

  1. Optional real-world update

Share one brief real-world update such as traffic, news, or market context only when reliable relevant data is already available.

Error Handling

  • If execution fails, surface the Python error message and rerun.
  • If output is not valid JSON, treat it as a hard failure and rerun.
  • If decision is missing or is not yes or no, rerun and discard the invalid result.
  • If decision is yes and either interaction_type or interaction_description is missing, rerun and discard the invalid result.

Minimal Examples

python3 {baseDir}/scripts/random_interaction_designer.py
python3 {baseDir}/scripts/random_interaction_designer.py --seed 42
python3 "{baseDir}/scripts/random_interaction_designer.py"
python3 "{baseDir}/scripts/random_interaction_designer.py" --seed 42

版本历史

共 2 个版本

  • v2.0.0 当前
    2026-03-29 11:02 安全 安全
  • v1.0.0
    2026-03-07 01:52

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Linz Public Transport

fjrevoredo
查询林茨公交站点ID,使用林茨Linien EFA接口获取实时离站信息。
★ 2 📥 1,048
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,203
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,854