跳到正文
cccskills
免费在 GitHub 公开

scheduling

Set up recurring or scheduled work — anything the user wants run on a schedule, repeatedly, or at a future time ("every morning", "each weekday at 9am", "daily digest", "weekly report", "remind me", "run this on a cron"). Teaches how to author a durable Vexa Scheduler routine that survives restarts. Use this instead of any OS cron job, system timer, or session-only reminder.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.5 KB
  • README.md123 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

scheduling — durable recurring work

When the user asks for ANYTHING that should run on a schedule or repeat over time (a daily digest, a weekly report, a periodic check, a future reminder), you create a routine file in this workspace. The agent-api reconciler compiles it into a durable Vexa Scheduler job that survives restarts and process death — it is the only correct mechanism for scheduled work here.

NEVER do any of these for scheduled work:

  • create an OS cron job (crontab, /etc/cron.*)
  • create a systemd timer or any other system timer
  • start a shell background loop / sleep loop
  • leave a "session-only" reminder (your turn ends and it is gone)

All of those die on restart or when your turn ends. Only a routine file is durable.

How to create a routine

Write one file at routines/<name>.md (<name> is a short slug; the filename stem becomes the routine name). It is a normal governed workspace file — just write it; you do not run git.

The file is YAML frontmatter plus an optional markdown body:

fieldrequiredmeaning
enabledno (default true)false cancels the job but keeps the file for later re-enable
cronyes (when enabled)a standard 5-field cron expression (min hour dom mon dow)
promptyes (when enabled)the instruction sent to the agent on each run (non-empty)

The optional markdown body below the second --- is appended to prompt as extra context for each run.

cron format

Five fields, space-separated: minute hour day-of-month month day-of-week. Day-of-week is 0–7 (0 and 7 are both Sunday); mon/tue/… and jan/feb/… names are accepted, as are ranges (mon-fri), lists (1,15), and steps (*/15).

Examples:

  • 0 8 * * * — every day at 08:00
  • 30 9 * * mon-fri — 09:30 on weekdays
  • 0 17 * * fri — 17:00 every Friday
  • 0 * * * * — top of every hour

Worked example

For "every weekday at 9am, give me a digest of yesterday's meetings", create routines/morning-digest.md:

---
enabled: true
cron: "30 9 * * mon-fri"
prompt: "Compile a short digest of yesterday's meetings and open tasks from kg/entities/, and summarize what needs attention today."
---

Keep it under ~10 bullet points. Group by person/company. Link entities with [[wikilinks]].

That's it. The reconciler (running in agent-api, scanning every workspace on an interval) picks the file up, validates the cron + prompt, and schedules a durable Vexa Scheduler job. Editing the file updates the job; setting enabled: false (or deleting the file) cancels it.

Validation notes

  • An enabled routine MUST have a valid 5-field cron and a non-empty prompt, or the reconciler logs a warning and skips it (no job is created). Double-check the cron has exactly five fields.
  • A disabled routine (enabled: false) needs no cron/prompt — it just cancels any existing job for that name.
  • Confirm to the user what you scheduled (name + cron + what it does).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Work with the user's meetings through the Vexa MCP tools — send a bot to a call, follow the transcript while it runs, and write meetings into their notes (Obsidian, Notion, plain markdown) with speakers and action items. Use whenever the user mentions a meeting, a call, a transcript, meeting notes, or asks what was said.

中文简介正在准备中。当前显示原文说明。

Vexa-ai/vexa28972026年10月21日 更新

Set up or fix the Vexa MCP connection for this plugin — where the API key comes from, hosted vs self-hosted URL, and how to check the connection. Use when the vexa server is missing, returns 401, or the user asks how to connect Vexa.

中文简介正在准备中。当前显示原文说明。

Vexa-ai/vexa28972026年10月21日 更新

查看 Vexa-ai 的全部技能

报告此技能的问题