Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Create one-time reminder tasks using OpenClaw cron. User specifies reminder time and task content in natural language via Discord, and the task result will b...
Create one-time reminder tasks using OpenClaw cron. User specifies reminder time and task content in natural language via Discord, and the task result will b...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Create one-time reminder tasks using OpenClaw cron.
When user says "remind me to XXX in 30 seconds" or "remind me at 3pm", I create a cron job that executes the task and returns the result when the time comes.
--session main - Use main session to inherit Discord context --system-event - System event payload for main session --channel discord - Discord channel --announce - Send result directly to Discord --delete-after-run - Delete task after execution
Use session_status tool to get current session's deliveryContext: --agent - Get from deliveryContext.accountId (e.g., machu) --to - Get from deliveryContext.to (e.g., channel:1476104553148452958) How to get: # Get current session info session_status # Output contains deliveryContext: # { # "channel": "discord", # "to": "channel:1476104553148452958", # "accountId": "machu" # }
Parse user input time, support: Relative time: 30 seconds, 1 minute, 30 minutes, 2 hours, 1 day Absolute time: 3pm, 9am today, 12pm tomorrow Convert to ISO 8601 format for cron.
User says "remind me to check weather in 30 seconds": # 1. Get current session's deliveryContext session_status # Assume output: # { # "deliveryContext": { # "channel": "discord", # "to": "channel:1476104553148452958", # "accountId": "machu" # } # } # 2. Calculate time 30 seconds later date -u -d "+30 seconds" +"%Y-%m-%dT%H:%M:%SZ" # Result: 2026-02-26T13:30:00Z # 3. Create cron job (using main session + system-event) openclaw cron add \ --name "reminder-weather" \ --at "2026-02-26T13:30:00Z" \ --session main \ --system-event "Check Beijing weather" \ --agent machu \ --announce \ --channel discord \ --to "channel:1476104553148452958" \ --delete-after-run
User-specified task content must be sanitized before passing to cron: Validation Method: REJECT dangerous patterns (not escape) The script rejects any input containing: Command substitution: $(), backticks ` Shell metacharacters: ;, |, &, >, < Double quotes: " (breaks CLI quoting) Newlines: \n (can inject multiple commands) Dangerous command prefixes: sudo, rm, wget, curl, bash, etc. Sanitization Script: Use scripts/sanitize-message.sh to validate input: ./scripts/sanitize-message.sh "user's task content" # Exit code 0 = safe, non-zero = rejected If rejected: Tell user the task contains invalid characters and ask them to rephrase without: $() ` ; | & > < " or dangerous commands.
After creating the task, reply to user to confirm: "OK, will remind you in X minutes/to do XXX" Don't tell user the specific cron command
Time must be in the future, not the past Task content should be concise and clear If time exceeds 48 hours, suggest using calendar Always use --session main + --system-event for reliable Discord delivery Validate task content with sanitize-message.sh before creating job
Messaging, meetings, inboxes, CRM, and teammate communication surfaces.
Largest current source with strong distribution and engagement signals.