Intelligent Scheduler
by @sky-lv
Schedule tasks, manage priorities, resolve conflicts, and handle time zones. Auto-optimizes your agent's workload and prevents double-booking.
clawhub install intelligent-schedulerπ About This Skill
description: Schedule tasks, manage priorities, resolve conflicts, and handle time zones. Auto-optimizes your agent's workload and prevents double-booking. keywords: task scheduler, priority queue, calendar management, timezone conversion, conflict detection, schedule optimization, deadline tracking name: intelligent-scheduler triggers: schedule task, add to calendar, check conflicts, reschedule, priority queue, timezone convert
intelligent-scheduler
> Schedule tasks intelligently. Handle priorities, time zones, and conflicts automatically β never miss a deadline or double-book again.
What It Does
Manage your agent's time like a pro:
Quick Start
# 1. Schedule a high-priority task
node scheduler.js add "Review PR #42" --time "14:00" --priority high2. Check for conflicts today
node scheduler.js check-conflicts --date today3. View prioritized queue
node scheduler.js queue --sort priority4. Convert meeting time for remote team
node scheduler.js convert "14:00 Asia/Shanghai" --to "America/New_York"
β 01:00 EDT (next day)
Common Use Cases
π Daily Task Prioritization
# Add tasks with priorities
node scheduler.js add "Fix critical bug" --priority critical
node scheduler.js add "Update documentation" --priority medium
node scheduler.js add "Research new library" --priority lowView queue sorted by priority
node scheduler.js queue --sort priority
β 1. Fix critical bug (critical)
β 2. Update documentation (medium)
β 3. Research new library (low)
π Multi-Timezone Meeting Coordination
# Schedule meeting in your timezone
node scheduler.js add "Client call" --time "2024-03-15 09:00" --tz "America/New_York"Check what time that is for your teammate in Tokyo
node scheduler.js convert "2024-03-15 09:00 America/New_York" --to "Asia/Tokyo"
β 22:00 JST (same day)
β οΈ Prevent Double-Booking
# Add two overlapping events
node scheduler.js add "Team standup" --time "09:00" --duration 30
node scheduler.js add "Client call" --time "09:15" --duration 45Detect conflicts
node scheduler.js check-conflicts --date today
β CONFLICT: "Team standup" (09:00-09:30) overlaps "Client call" (09:15-10:00)
π Auto-Optimize Schedule
# Fill gaps and reschedule around priorities
node scheduler.js auto-reschedule --fill-gaps --respect-priority
Moves low-priority tasks to fill empty slots
Keeps critical tasks at preferred times
All Commands
| Command | Purpose |
|---------|---------|
| add "task" --time X | Schedule a task |
| queue --sort priority | View prioritized task list |
| promote "task" --to critical | Change task priority |
| check-conflicts --date X | Find scheduling conflicts |
| convert "time" --to TZ | Convert between time zones |
| auto-reschedule | Optimize schedule automatically |
Priority Levels
critical > high > medium > low > deferred
Use critical for outages and deadlines. Use deferred for "someday" tasks.
Configuration
// .scheduler/config.json
{
"timezone": "Asia/Shanghai",
"workHours": { "start": "09:00", "end": "18:00" },
"bufferMinutes": 15,
"rules": [
"No meetings before 10:00 on Mondays",
"Reserve Friday afternoons for deep work",
"Critical tasks always scheduled first"
]
}
Examples
Schedule with dependency:
node scheduler.js add "Review PR" --time "14:00" --priority high
node scheduler.js add "Deploy after review" --time "16:00" --depends "Review PR"
Filter today's tasks:
node scheduler.js queue --filter today
Respect work hours:
node scheduler.js add "Urgent task" --time "20:00" --respect-work-hours false
π‘ Examples
Schedule with dependency:
node scheduler.js add "Review PR" --time "14:00" --priority high
node scheduler.js add "Deploy after review" --time "16:00" --depends "Review PR"
Filter today's tasks:
node scheduler.js queue --filter today
Respect work hours:
node scheduler.js add "Urgent task" --time "20:00" --respect-work-hours false
βοΈ Configuration
// .scheduler/config.json
{
"timezone": "Asia/Shanghai",
"workHours": { "start": "09:00", "end": "18:00" },
"bufferMinutes": 15,
"rules": [
"No meetings before 10:00 on Mondays",
"Reserve Friday afternoons for deep work",
"Critical tasks always scheduled first"
]
}