schedule
GitHub该 Skill 用于将当前会话中的核心任务提炼为可复用的自动化快捷方式。通过分析历史、编写自包含提示词并设定定时或一次性调度策略,调用工具创建计划任务,支持周期执行、特定时刻触发或手动按需运行。
Trigger Scenarios
Install
npx skills add thtskaran/claude-skills --skill schedule -g -y
SKILL.md
Frontmatter
{
"name": "schedule",
"description": "Create a scheduled task that can be run on demand or automatically on an interval."
}
You are creating a reusable shortcut from the current session. Follow these steps:
1. Analyze the session
Review the session history to identify the core task the user performed or requested. Distill it into a single, repeatable objective.
2. Draft a prompt
The prompt will be used for future autonomous runs — it must be entirely self-contained. Future runs will NOT have access to this session, so never reference "the current conversation," "the above," or any ephemeral context.
Include in the description:
- A clear objective statement (what to accomplish)
- Specific steps to execute
- Any relevant file paths, URLs, repositories, or tool names
- Expected output or success criteria
- Any constraints or preferences the user expressed
Write the description in second-person imperative ("Check the inbox…", "Run the test suite…"). Keep it concise but complete enough that another Claude session could execute it cold.
3. Choose a taskName
Pick a short, descriptive name in kebab-case (e.g. "daily-inbox-summary", "weekly-dep-audit", "format-pr-description").
4. Determine scheduling
Pick one:
- Recurring ("every morning", "weekdays at 5pm", "hourly") →
cronExpression - One-time with a specific moment ("remind me in 5 minutes", "tomorrow at 3pm", "next Friday") →
fireAtISO timestamp - Ad-hoc (no automatic run; user will trigger manually) → omit both
- Ambiguous → propose a schedule and ask the user to confirm before proceeding
cronExpression: Evaluated in the user's LOCAL timezone, not UTC. Use local times directly — e.g. "8am every Friday" → 0 8 * * 5.
fireAt: Compute the exact moment and emit a full ISO 8601 string with timezone offset, e.g. 2026-03-05T14:30:00-08:00. Never use cron for one-time tasks — cron has no one-shot semantics.
Finally, call the "create_scheduled_task" tool.
Version History
- e66e58c Current 2026-07-25 05:49


