cron

GitHub

用于调度定时任务、一次性提醒或周期任务的技能。支持Cron表达式、固定间隔和绝对时间,需将自然语言转换为结构化对象调用工具。

src/opensquilla/skills/bundled/cron/SKILL.md opensquilla/opensquilla

触发场景

用户要求设置定时任务 用户需要创建周期性提醒 用户希望设定倒计时器

安装

npx skills add opensquilla/opensquilla --skill cron -g -y
更多选项

非标准路径

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/bundled/cron -g -y

不安装直接使用

npx skills use opensquilla/opensquilla@cron

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill cron -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "name": "cron",
    "always": false,
    "metadata": {
        "opensquilla": {
            "requires_tools": [
                "cron"
            ]
        }
    },
    "triggers": [
        "schedule",
        "recurring",
        "timer",
        "cron",
        "every",
        "reminder",
        "remind",
        "提醒",
        "每分钟",
        "每5分钟",
        "每天",
        "定时"
    ],
    "provenance": {
        "origin": "openclaw-derived",
        "license": "MIT",
        "upstream_url": "https:\/\/github.com\/openclaw\/openclaw",
        "maintained_by": "OpenSquilla"
    },
    "description": "Use when the user asks to schedule recurring tasks, one-off reminders, timers, or cron-style jobs through the OpenSquilla cron tool.",
    "description_zh": "当用户需要通过OpenSquilla cron工具安排周期性任务、一次性提醒、计时器或cron风格的作业时使用。"
}

Cron Skill

When the user asks to schedule something, set up a recurring task, create a timer, or create a reminder, use the cron tool.

The schedule argument is a structured object, not a string. Choose one shape and translate any natural language yourself before calling the tool — the tool will not parse free-form text and will reject flat strings with a structured error.

Three accepted schedule shapes:

  • {"kind": "cron", "expr": "<5-field POSIX cron>", "tz": "<optional IANA timezone>"} Recurring on a calendar pattern. Example: {"kind": "cron", "expr": "0 9 * * 1-5", "tz": "Asia/Shanghai"} for weekdays at 09:00 Shanghai wall time.
  • {"kind": "every", "every_seconds": <integer ≥ 1>} Recurring on a fixed sub-minute or odd interval. Example: {"kind": "every", "every_seconds": 30} for every 30 seconds.
  • {"kind": "at", "at": "<ISO-8601 with timezone>"} One-shot at an absolute time. The timestamp must include a timezone offset.

Translation examples (do this in your own reasoning before calling the tool):

  • "每5分钟提醒我喝水" → cron(action="add", schedule={"kind": "cron", "expr": "*/5 * * * *"}, task="喝水", job_kind="system_event", session_target="main")
  • "每30秒打印一次" → cron(action="add", schedule={"kind": "every", "every_seconds": 30}, task="...", job_kind="agent_turn", session_target="isolated")
  • "明天早上9点叫我" → compute the absolute ISO-8601 string with timezone, then cron(action="add", schedule={"kind": "at", "at": "<that ISO-8601>"}, task="...", job_kind="system_event", session_target="main")
  • "every weekday at 9am Los Angeles time" → cron(action="add", schedule={"kind": "cron", "expr": "0 9 * * 1-5", "tz": "America/Los_Angeles"}, task="...")

Other actions:

  • List: cron(action="list").
  • Trigger now: cron(action="run", job_id="<job id>").
  • Cancel: cron(action="remove", job_id="<job id>").

Cron expression format: minute hour day month weekday (e.g. 0 9 * * 1-5 = weekdays at 9am).

版本历史

  • f662be3 当前 2026-07-31 11:47

    优化了 cron 技能及 MetaSkill 工作流,修复了相关回归问题并调整了交互细节。

  • 7f72a32 2026-07-05 18:38

同 Skill 集合

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/memory/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-js-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-python-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-rust-probe/SKILL.md
src/opensquilla/skills/bundled/subtitle-burner/SKILL.md
src/opensquilla/skills/bundled/swe-bench/SKILL.md
src/opensquilla/skills/bundled/text-file-read/SKILL.md
src/opensquilla/skills/bundled/title-card-image/SKILL.md
src/opensquilla/skills/bundled/video-merger/SKILL.md
src/opensquilla/skills/bundled/video-still-animator/SKILL.md
src/opensquilla/skills/bundled/voice-clone-lab/SKILL.md
src/opensquilla/skills/bundled/voice-conversion-studio/SKILL.md

元信息

文件数
0
版本
186b3c1
Hash
3d7141c6
收录时间
2026-07-05 18:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 01:23
浙ICP备14020137号-1 $访客地图$