Agent skill
task-manager
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.
Install this agent skill to your Project
npx add-skill https://github.com/0xranx/golembot/tree/main/skills/task-manager
SKILL.md
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):
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
schedulefield is a valid 5-field cron expression - The
promptis non-empty and specific enough to produce useful output when run unattended - If a
targetis provided,channelis required;chatIdis 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 |
schedule |
string | yes | Cron expression (see below) |
prompt |
string | yes | The prompt sent to the agent when the task fires |
enabled |
boolean | no | Default: true |
target |
object | no | Where to deliver the result |
target.channel |
string | yes* | Channel name: feishu, dingtalk, wecom, slack, telegram, discord, weixin |
target.chatId |
string | no | Chat/conversation ID. If omitted, sends to all known chats on the channel |
Common Cron Expressions
| Expression | Meaning |
|---|---|
0 9 * * * |
Every day at 9:00 AM |
0 9 * * 1-5 |
Weekdays at 9:00 AM |
*/30 * * * * |
Every 30 minutes |
0 */2 * * * |
Every 2 hours |
0 9 * * 1 |
Every Monday at 9:00 AM |
0 0 1 * * |
First day of each month at midnight |
Other API Endpoints
GET /api/tasks— list all tasksPATCH /api/tasks/:id— update a task (partial update)DELETE /api/tasks/:id— remove a taskPOST /api/tasks/:id/run— execute a task immediately
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
code-review
Reviews code changes, pull requests, and diffs for correctness, security, performance, and style. Use when the user submits a PR for review, asks to review a diff or code snippet, or requests a quality check on recent changes.
meeting
Meeting notes assistant — organizes transcripts into structured minutes, extracts action items, and tracks attendee decisions. Use when the user asks to summarize a meeting, take meeting notes, write up minutes, create a meeting recap, list attendees, or extract action items from a call.
ops
Content operations assistant — drafts blog posts, social media copy, and marketing materials, compiles data briefings, and tracks competitor activity. Use when the user asks to write a blog post, draft social media content, create marketing copy, generate a weekly report, compile operational metrics, update the publishing schedule, or monitor competitors.
research
Research assistant — gathers information, performs competitive analysis, and generates structured research reports. Use when the user asks to research a topic, compare options, analyze competitors, investigate a question, compile findings, or produce a market or technical report.
faq-support
Answers common customer questions from a knowledge base and escalates to a human agent when unable to help. Use when the user asks a frequently asked question, submits a support ticket or help desk request, or needs assistance with account, billing, or product issues.
data-analysis
Loads CSV, Excel, and JSON data files, performs statistical analysis, and generates charts and reports. Use when the user asks to analyze a dataset, compute statistics, create visualizations, find trends, or produce a data report.
Didn't find tool you were looking for?