xvirobotics/metabot/metaschedule

Claude Code and agent skill by xvirobotics/metabot

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

MetaBot's persistent server-side scheduler (cron + one-shot). Optional skill — not installed by default. Use when the user wants tasks that survive Claude session restarts, are visible to other bots, or need to run in MetaBot's PM2 process rather than this Claude session.

Install

npx vskill@latest install xvirobotics/metabot/metaschedule

SKILL.md

MetaBot Scheduler

Persistent server-side scheduler. Use this when:
- The schedule needs to outlive the current Claude session.
- Another bot or operator may need to list, pause, or cancel it.
- You want it to run inside MetaBot's PM2 process (not Claude's).
For ad-hoc, session-scoped scheduling, prefer the Claude Code native tools CronCreate and /loop instead — they're faster, in-process, and need no MetaBot server call.
Quick Commands (metabot CLI)

The metabot CLI is pre-installed and handles auth automatically.

bash
# One-time delayed tasks
metabot schedule list # List all scheduled tasks
metabot schedule add <bot> <chatId> <delaySec> <prompt> # Schedule a one-time future task
metabot schedule cancel <id> # Cancel a scheduled task
# Recurring (cron)
metabot schedule cron <bot> <chatId> '<cronExpr>' <prompt> # Create recurring task
metabot schedule pause <id> # Pause a recurring task
metabot schedule resume <id> # Resume a paused recurring task

Cron format: minute hour day month weekday (5 fields). Examples:

  • 0 8 * * * → daily at 8am
  • 0 8 * * 1-5 → weekdays at 8am
  • */30 * * * *→ every 30 minutes

Default timezone: Asia/Shanghai.

API Reference

Auth header: -H "Authorization: Bearer $METABOT_API_SECRET" Base URL: !echo http://localhost:${METABOT_API_PORT:-9100}

Create one-time scheduled task:

bash
curl -s -X POST http://localhost:${METABOT_API_PORT:-9100}/api/schedule \
-H "Authorization: Bearer $METABOT_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"botName":"<bot>","chatId":"<chatId>","prompt":"<task>","delaySeconds":3600,"label":"Reminder"}'

Create recurring task (cron):

bash
curl -s -X POST http://localhost:${METABOT_API_PORT:-9100}/api/schedule \
-H "Authorization: Bearer $METABOT_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"botName":"<bot>","chatId":"<chatId>","prompt":"<task>","cronExpr":"0 8 * * 1-5","timezone":"Asia/Shanghai","label":"Daily report"}'

Update task (prompt, delay, or cron):

bash
curl -s -X PATCH http://localhost:${METABOT_API_PORT:-9100}/api/schedule/<id> \
-H "Authorization: Bearer $METABOT_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"prompt":"updated prompt","delaySeconds":7200}'
curl -s -X PATCH http://localhost:${METABOT_API_PORT:-9100}/api/schedule/<id> \
-H "Authorization: Bearer $METABOT_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"cronExpr":"0 9 * * *","prompt":"Updated prompt","timezone":"Asia/Shanghai"}'

Pause / resume recurring task:

bash
curl -s -X POST http://localhost:${METABOT_API_PORT:-9100}/api/schedule/<id>/pause \
-H "Authorization: Bearer $METABOT_API_SECRET"
curl -s -X POST http://localhost:${METABOT_API_PORT:-9100}/api/schedule/<id>/resume \
-H "Authorization: Bearer $METABOT_API_SECRET"

Cancel:

bash
curl -s -X DELETE http://localhost:${METABOT_API_PORT:-9100}/api/schedule/<id> \
-H "Authorization: Bearer $METABOT_API_SECRET"
Installation (opt-in)

This skill is not installed by default. To enable it for one bot, copy it into the bot's working directory:

bash
mkdir -p <bot-work-dir>/.claude/skills/metaschedule
cp $METABOT_HOME/src/skills/metaschedule/SKILL.md <bot-work-dir>/.claude/skills/metaschedule/SKILL.md
# Mirror for Codex bots:
mkdir -p <bot-work-dir>/.codex/skills/metaschedule
cp $METABOT_HOME/src/skills/metaschedule/SKILL.md <bot-work-dir>/.codex/skills/metaschedule/SKILL.md

Or install globally so every Claude session picks it up:

bash
mkdir -p ~/.claude/skills/metaschedule
cp $METABOT_HOME/src/skills/metaschedule/SKILL.md ~/.claude/skills/metaschedule/SKILL.md

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
952
Repository forks
157
7-day trend score
34

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/xvirobotics/metabot/metaschedule/badge)](https://verified-skill.com/skills/xvirobotics/metabot/metaschedule)

Something wrong with this skill or its page? Tell us.