Install
openclaw skills install @leslie311/idle-pingInstall a complete proactive outreach system — idle detection, randomized dice delivery, topic-driven crawler, share queue, and persona-based messages. Use when the user wants the agent to proactively reach out with interesting content during idle time.
openclaw skills install @leslie311/idle-ping一套完整嘅「AI 主動出擊」系統:用戶 idle 一段時間後,agent 用骰仔機制隨機主動搵用戶傾偈,內容由每日 crawler 探索入倉(share-queue),再以 persona 語氣送出。
用戶要求:
bash install.sh——需要 TELEGRAM_ID 環境變數指定 delivery target;可選 MODEL、IDLE_PING_WS 等(見 scripts/idle-ping.env.example)bash ci-local.sh 跑本地檢查;tests/ 有 bats 測試(gate 邏輯、監控)$HOME/~ 或佔位符({{WORKSPACE}}/{{SESSIONS_JSON}}),安裝時先替換SOUL.md/IDENTITY.md 等 persona 文件——有就用人格語氣,冇就用預設語氣;系統本身 persona-agnosticinstall.sh — 一鍵安裝(建立 cron jobs + 複製 scripts + 設定 env)scripts/ — idle-ping-gate.sh(骰仔門神)、semantic-patrol.py(主題探索)、share-queue.py(倉)、topic-factory.py(主題工廠)、system-log.sh、watchdog.shtemplates/ — 各 cron job 嘅 prompt(佔位符版,install 時替換成用戶環境)tests/ — bats 測試README.md / 流程圖.md — 完整文檔| 組件 | 時機 | 職責 |
|---|---|---|
idle-ping-gate | 每分鐘 | 靜音窗口檢查 → idle ≥N 分鐘 → 擲骰 1/N → streak 管理 → 觸發 send |
idle-ping-crawler | 每小時 | 主題驅動探索(news/arxiv/reddit/wiki/onthisday/misconceptions)→ 入倉 |
idle-ping-topic-factory | 每晚 | 補齊 30 條探索主題 list |
idle-ping-deep-explore | 凌晨 | 自主深度探索 → 4 條入倉(channel=deep) |
idle-ping-send | gate 觸發 | DB-first 出貨:查倉 → 揀最正 → persona 語氣 send |
idle-ping-pause-notice | gate 觸發 | 連續冇回應 → 「知你忙」通知 + 暫停骰仔 |
openclaw cron list 見到全部 idle-ping jobscurl -s localhost:11434/api/tags(如果用 Ollama)有模型pingStreak reset 0(自動重開)