kxiandaoyan/memoh-v2/scheduled-task
Claude Code and agent skill by kxiandaoyan/memoh-v2
- community
Checking that the SKILL.md file is still in the repository.
Create scheduled tasks for recurring or one-time automated execution. Use when users want to set up tasks that run automatically at specified times (daily, weekly, monthly, cron, or one-time).
Install
npx vskill@latest install kxiandaoyan/memoh-v2/scheduled-taskSKILL.md
The same SKILL.md was published earlier as kxiandaoyan/memoh-v2/scheduled-task.
Scheduled Task Skill
Usage Scenarios
Use this skill when users want to:
- Set up tasks that run on a schedule (daily, weekly, monthly, custom cron)
- Create one-time tasks that run at a specific time
- Schedule automated checks, report generation, code backups, etc.
- Set up periodic monitoring or reminders
Creating Scheduled Tasks
Step 1: Gather Information
Confirm the following with the user (if not provided):
- Task name (required) — Short description
- Execution content (required) — The prompt/instructions Claude receives when the task runs
- Execution frequency (required) — One-time, daily, weekly, monthly, or custom cron
- Working directory (optional) — Defaults to current session working directory
- Notification platforms (optional) — Send notifications after task completion
Step 2: Build JSON and Execute API Call
Schedule Types
One-time execution (at):
Cron expression (cron) — 5-field format: minute hour day month weekday
Common cron examples:
| Expression | Meaning | |
|---|---|---|
0 9 * * * | Every day at 9:00 AM | |
0 8 * * 1 | Every Monday at 8:00 AM | |
0 9 * * 1-5 | Weekdays at 9:00 AM | |
0 0 1 * * | First day of month at midnight | |
*/30 * * * * | Every 30 minutes | |
0 * * * * | Every hour on the hour | |
0 9,18 * * * | Every day at 9:00 AM and 6:00 PM |
Create Task via API
Use the backend API to create scheduled tasks. The API endpoint should support the following payload structure:
Field Descriptions
| Field | Required | Description | |
|---|---|---|---|
name | ✅ | Short task name | |
prompt | ✅ | Instructions Claude receives when task runs (should be clear and complete) | |
schedule | ✅ | Schedule configuration (see types above) | |
workingDirectory | ❌ | Execution directory (defaults to empty) | |
description | ❌ | Detailed description (defaults to empty) | |
systemPrompt | ❌ | Custom system prompt (defaults to empty) | |
executionMode | ❌ | "auto" / "local" / "sandbox" (defaults to "local") | |
expiresAt | ❌ | Expiration date "YYYY-MM-DD" (defaults to null, no expiration) | |
notifyPlatforms | ❌ | Notification platform array: ["dingtalk","feishu","telegram","discord"] (defaults to []) | |
enabled | ❌ | Whether to enable immediately (defaults to true) |
Step 3: Confirm Results
API returns JSON response:
- Success:
{ "success": true, "task": { "id": "...", "name": "...", ... } } - Failure:
{ "success": false, "error": "error message" }
Confirm the following with the user:
- ✅ Task name and ID
- ⏰ Execution frequency (human-readable format, e.g., "Every day at 9:00 AM")
- 📋 Execution content summary
- 💡 Remind user they can manage tasks in Settings → Scheduled Tasks
Important Notes
- Relative time handling: When users specify relative times like "in X minutes / tomorrow at 9 AM / this afternoon", first get the current local time using a system command, then calculate the target time. Don't guess the current time or use UTC.
- Creation timing: For short-delay one-time tasks (e.g., "in 1 minute"), create the task immediately before performing any time-consuming operations. Don't fetch data or summarize content before creating the task.
- Prompt boundaries: The
promptshould describe "what to do when the task triggers", not pre-execute the task and embed static results. Example: write "Fetch yesterday's AI news and send summary" instead of fetching news first and embedding the list in the prompt. - Get current time (cross-platform):
``bash node -e 'const d=new Date();const p=n=>String(n).padStart(2,"0");console.log(${d.getFullYear()}-${p(d.getMonth()+1)}-${p(d.getDate())}T${p(d.getHours())}:${p(d.getMinutes())}:${p(d.getSeconds())})' ``
- Auto-execution: Scheduled tasks run with auto-approve enabled for all tool calls (no manual approval needed)
- Independent execution: The
promptis the only instruction Claude receives when the task runs independently, so write it clearly and completely - Auto-disable: Tasks that fail 5 consecutive times are automatically disabled
- One-time tasks: Tasks with
type: "at"are automatically disabled after execution - Execution sessions: Each execution creates a new session (with "[Scheduled]" prefix in title), viewable in the session list
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/skills/defaults/scheduled-task/SKILL.md
Popularity
- Repository stars
- 336
- Repository forks
- 31
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kxiandaoyan/memoh-v2/scheduled-task)