Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки