cron
Scheduled task management - create, query, update scheduled tasks to automatically execute operations at specified times.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-19
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cron
- description
- Scheduled task management - create, query, update scheduled tasks to automatically execute operations at specified times.
03 SKILL.md 正文
Scheduled Task Skill
Manage scheduled tasks for the current conversation with the bundled agent-facing config CLI.
Rules
- Each conversation can have at most one scheduled task.
- Always query existing tasks before creating or updating.
- Do not ask for extra confirmation after the user has already requested the scheduling change.
- Never pass, inline, export, echo, or set any
AIONUI_...environment variable. - Commands must directly call
"$AIONUI_HELPER_BIN" config cron current .... - Pass create and update payloads through stdin heredocs attached to the command. Do not write payload JSON files to disk.
- Put
job_idin the update JSON payload, not in a command flag. - After a successful create or update, send one short final confirmation that a normal user can understand. Include the task name and schedule description. Do not show internal ids such as
cron_.... - If the CLI fails, report the failure from stderr/stdout in normal prose and do not claim the task was created.
Workflow
- Run
"$AIONUI_HELPER_BIN" config cron current list. - If the returned
dataarray is empty, create the task with"$AIONUI_HELPER_BIN" config cron current create <<'JSON'. - If one task exists and the user wants to change it, update that task with
"$AIONUI_HELPER_BIN" config cron current update <<'JSON'. - If a task already exists and the user is asking for a different additional task, ask how they want to handle the existing task.
- Report success or failure from the CLI output in normal prose, following the final confirmation rule above.
Payload
Create payload:
name: Short descriptive name.schedule: Standard 5-field cron expression.schedule_description: Human-readable schedule.message: Complete, self-contained instruction sent to the AI when the task runs.
Update payload uses the same fields and also requires:
job_id: The id from the existing task returned by the list command.
The message must tell the AI exactly what to do when the task fires. It should
not merely restate the user's scheduling request.
| User says | Bad message | Good message |
|---|---|---|
| "Send me hello every day at 10am" | Send me hello | Reply with exactly: Hello! |
| "Remind me to drink water daily" | Remind me to drink water | Reply with a friendly reminder to drink water. |
| "Summarize AI news every Monday" | Summarize AI news | Search for the latest AI news from this week and produce a concise bullet-point summary. |
Examples
Examples use English sample text. For real tasks, write the task name, schedule description, and message in the user's language.
Query:
"$AIONUI_HELPER_BIN" config cron current list
Create:
"$AIONUI_HELPER_BIN" config cron current create <<'JSON'
{
"name": "Weekly Meeting Reminder",
"schedule": "0 9 * * MON",
"schedule_description": "Every Monday at 9:00 AM",
"message": "Reply with a short weekly meeting reminder that includes the current date and time."
}
JSON
Update:
"$AIONUI_HELPER_BIN" config cron current update <<'JSON'
{
"job_id": "cron_123",
"name": "Daily Summary",
"schedule": "0 18 * * MON-FRI",
"schedule_description": "Weekdays at 6:00 PM",
"message": "Review today's conversation context and produce a concise end-of-day summary."
}
JSON
Multiline message example:
{
"name": "Daily Summary",
"schedule": "0 9 * * *",
"schedule_description": "Every day at 9:00 AM",
"message": "First paragraph.\nSecond paragraph.\nThird paragraph."
}
Cron Expression
Format: minute hour day-of-month month day-of-week.
Example: 0 9 * * MON-FRI means weekdays at 9:00 AM.
Use only standard cron fields and ranges supported by the backend parser. Do
not use Quartz-style extensions such as L, L-N, W, LW, #, or ?.
04 同仓库更多 Skills
example-skill
Fixture skill used by startup_materialize integration tests.
xiaohongshu-recruiter
用于在小红书上发布高质量的 AI 相关岗位招聘帖子。包含自动生成极客风格的招聘封面图和详情图,并提供自动化发布脚本。当用户需要发布招聘信息、寻找 Agent 设计师或其他 AI 领域人才时使用。
x-recruiter
用于在 X (x.com) 发布招聘帖子。包含文案规范、图片生成提示和自动化发布脚本。发布 AI 相关岗位或设计类岗位时优先使用。
weixin-file-send
Use when the user wants a local file or image sent back, such as "send me the file" or "发给我".
story-roleplay
Parse and apply character cards and world info files in multiple formats (PNG, WebP, JSON), fully compatible with SillyTavern format. Supports automatic parsing, keyword triggering, and dynamic updates.
openclaw-setup
OpenClaw usage expert: Helps you install, deploy, configure, and use OpenClaw personal AI assistant. Can diagnose issues, create bots, execute automated tasks, etc. Use when users need to install OpenClaw, configure Gateway, set up Channels, create Agents, troubleshoot issues, or perform OpenClaw-related operations.