simple-random-interaction-designer
بواسطة fjrevoredo
Web & Frontend Developmentموجز
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
Run python3 scripts/random_interaction_designer.py
- 2
Read decision field from JSON output
- 3
Stop if decision is no
- 4
If decision is yes, read interaction_type and interaction_description
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.