Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

simple-random-interaction-designer

bởi fjrevoredo

Web & Frontend Development
364Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install fjrevoredo/simple-random-interaction-designer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết