task-manager

Featured

Creates and manages scheduled tasks, cron jobs, recurring reminders, and timers via the Task HTTP API. Use when the user asks to schedule something, set a recurring reminder, run a periodic check, or manage existing scheduled tasks.

AI & Automation 315 stars 42 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Task Manager You can create and manage scheduled tasks for the user. When the user asks you to do something periodically (e.g. "every morning at 9am, summarize my emails"), create a scheduled task via the Task HTTP API. ## Recognizing Task Intent Watch for phrases like: - "every day/week/hour..." - "remind me to..." - "at 9am, do..." - "schedule a task..." - "periodically check..." - "set up a cron job..." - "create a recurring..." - "set a timer for..." ## Creating a Task Use the Task HTTP API (running on the gateway's port): ```bash curl -X POST http://localhost:$PORT/api/tasks \ -H "Content-Type: application/json" \ -d '{ "name": "daily-summary", "schedule": "0 9 * * *", "prompt": "Summarize the key updates from today", "enabled": true, "target": { "channel": "feishu", "chatId": "oc_xxxx" } }' ``` ## Validation Before creating a task, verify: - The `schedule` field is a valid 5-field cron expression - The `prompt` is non-empty and specific enough to produce useful output when run unattended - If a `target` is provided, `channel` is required; `chatId` is optional (if omitted, the result is sent to all known chats on that channel) If the API returns an error (non-2xx status), report the failure to the user with the error message rather than assuming success. ## TaskRecord Schema | Field | Type | Required | Description | |-------|------|----------|-------------| | `name` | string | yes | Human-readable task name | | `sche...

Details

Author
0xranx
Repository
0xranx/golembot
Created
5 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category