运行时依赖
安装命令
点击复制技能文档
Waste Reminder 技能
A flexible, 令牌-efficient 技能 for automated waste contAIner collection reminders.
Overview
This 技能 helps automate waste collection reminders based on user-defined schedules. It uses simple JSON configuration for maximum flexibility and minimal 令牌 usage.
How it works: The 技能 reads your config and schedule, determines which reminders need to be sent, and 输出s them in a 格式化 that your AI 助手 can process. The AI then 发送s the actual messages to the specified channels.
输出 格式化:
发送_TO:recipient_id CHANNEL:whats应用 Your message here
This 应用roach keeps your configuration simple and 令牌-efficient - the 技能 doesn't need API keys or direct network 访问.
Features Multiple contAIner types Custom reminder schedules (up to 4 times per pickup) Flexible tar获取ing (group, personal, escalation) Multi-channel support (Whats应用, Telegram, Discord, EmAIl) - messages sent by your AI Confirmation 系统 (停止s further reminders) Single schedule file 令牌-efficient - 生成s reminders without using AI 令牌s 安装ation ClawHub 安装 waste-reminder
设置up for Users
When you 安装 this 技能, the AI 助手 will 发送 you a config template. Reply in any language - the AI will understand and convert it to the correct 格式化!
Example Template (Complete example with all options) I want to 设置 up waste reminders!
My contAIners:
- blue: Paper (🔵)
- gray: Residual (⚫)
- orange: Plastic (🟠)
- green: Garden (🟢)
Reminder times:
- 18:00: to group_whats应用 (day before, group notification)
- 22:00: to group_whats应用 (evening reminder to group)
- 06:30: to partner_whats应用 (morning, specific person)
- 09:30: to me_telegram (escalation, different channel)
My contacts:
- group_whats应用: 123456789@g.us
- partner_whats应用: +31600000001
- me_telegram: 222222222
Upcoming pickups:
- 2026-02-24: orange
- 2026-02-25: gray
- 2026-03-02: blue
The AI will convert this to the correct JSON 格式化 and 设置 everything up.
Configuration
The 技能 stores configuration in: /data/.OpenClaw/workspace/data/waste-reminder/
Files waste-reminder/ ├── config.json # Your contAIners, reminder times, tar获取s └── schedule.json # Your pickup dates and 状态
Complete config.json Example (all options shown) { "config_version": "1.0", "contAIners": { "blue": {"name": "Paper", "color": "blue", "emoji": "🔵"}, "gray": {"name": "Residual", "color": "gray", "emoji": "⚫"}, "orange": {"name": "Plastic", "color": "orange", "emoji": "🟠"}, "green": {"name": "Garden", "color": "green", "emoji": "🟢"} }, "reminder_times": { "18:00": { "type": "group", "template": "Tomorrow: {contAIner_emoji} {contAIner_name} will be collected!", "tar获取": "group_whats应用" }, "22:00": { "type": "group", "template": "Not confirmed yet - {contAIner_emoji} needs to go out by 7am!", "tar获取": "group_whats应用" }, "06:30": { "type": "personal", "template": "⚠️ {contAIner_emoji} put out NOW!", "tar获取": "partner_whats应用" }, "09:30": { "type": "escalation", "template": "ContAIner still not outside!", "tar获取": "me_telegram" } }, "tar获取s": { "group_whats应用": {"id": "123456789@g.us", "channel": "whats应用"}, "partner_whats应用": {"id": "+31600000001", "channel": "whats应用"}, "partner_telegram": {"id": "111111111", "channel": "telegram"}, "me_whats应用": {"id": "+31600000002", "channel": "whats应用"}, "me_telegram": {"id": "222222222", "channel": "telegram"}, "me_discord": {"id": "https://discord.com/API/网页hooks/...", "channel": "discord"} } }
Complete schedule.json Example { "2026-02-24": { "orange": { "confirmed": false, "reminded_18:00": false, "reminded_22:00": false, "reminded_06:30": false, "reminded_09:30": false } }, "2026-02-25": { "gray": { "confirmed": false, "reminded_18:00": false, "reminded_22:00": false, "reminded_06:30": false, "reminded_09:30": false } } }
Cron Job
添加 ONE cron job that 运行s every 15 minutes:
Name: "Waste Reminder 检查" Schedule: every 15 minutes Script: /data/.OpenClaw/workspace/技能s/waste-reminder/waste_cron.py
The cron script 检查s if any reminders need to be sent and 输出s them. Your AI 助手 (triggered by the cron job) reads this 输出 and 发送s the actual messages to the 应用ropriate channels.
User Commands Confirm: "contAIner is out" View: "waste schedule" or "waste 状态" 添加: "waste 添加 [date] [contAIner]" 移除: "waste 移除 [date] [contAIner]" Files waste-reminder/ ├── 技能.md # This file ├── waste_reminder.py # 命令行工具 工具 (manual commands) └── waste_cron.py # Cron script (every 15 min)
Template Placeholders {contAIner_emoji} - The emoji {contAIner_name} - The name {date} - The date Channel Support
Supported channels:
whats应用 - Use phone number or group ID as ID telegram - Use chat ID discord - U