MCP HubMCP Hub
スキル一覧に戻る

clawdis-cron

steipete
更新日 Today
199 閲覧
468
45
468
GitHubで表示
その他general

について

clawdis-cronスキルは、RPCメソッドを介したスケジュールジョブとウェイクアップを可能にし、開発者がClawdis Gateway内でタスクを自動化できるようにします。このスキルは、特定のペイロードルールでメインセッションまたは分離セッションを対象とする、単発のリマインダーと定期的なジョブの両方をサポートしています。ジョブはJSON設定ファイルで管理され、cron.add、cron.run、wakeなどのWebSocket RPC呼び出しを通じて制御されます。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/steipete/clawdis
Git クローン代替
git clone https://github.com/steipete/clawdis.git ~/.claude/skills/clawdis-cron

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Clawdis Cron

Cron runs inside the Gateway. Jobs live in ~/.clawdis/cron/jobs.json and run logs in ~/.clawdis/cron/runs/<jobId>.jsonl.

Enable/disable

  • Enabled by default.
  • Disable with config cron.enabled=false or env CLAWDIS_SKIP_CRON=1.
  • Config: cron.store, cron.maxConcurrentRuns.

Job fields

  • name is required (non-empty).
  • description is optional.

RPC methods (Gateway WS)

  • cron.list, cron.status, cron.add, cron.update, cron.remove, cron.run, cron.runs
  • wake (enqueue system event + optionally trigger immediate heartbeat)

Payload rules

  • sessionTarget: "main" requires payload.kind: "systemEvent".
  • sessionTarget: "isolated" requires payload.kind: "agentTurn".

Examples

One-shot reminder (main session, immediate wake):

{
  "method": "cron.add",
  "params": {
    "name": "remind-me",
    "enabled": true,
    "schedule": { "kind": "at", "atMs": 1734715200000 },
    "sessionTarget": "main",
    "wakeMode": "now",
    "payload": { "kind": "systemEvent", "text": "Remind me in 20 minutes." }
  }
}

Recurring hourly check (isolated job, no external delivery):

{
  "method": "cron.add",
  "params": {
    "name": "hourly-check",
    "enabled": true,
    "schedule": { "kind": "every", "everyMs": 3600000 },
    "sessionTarget": "isolated",
    "wakeMode": "now",
    "payload": { "kind": "agentTurn", "message": "Check battery; report only if < 20%.", "deliver": false },
    "isolation": { "postToMainPrefix": "Cron" }
  }
}

Cron expression (weekday 07:30):

{
  "method": "cron.add",
  "params": {
    "name": "weekday-wakeup",
    "enabled": true,
    "schedule": { "kind": "cron", "expr": "30 7 * * 1-5", "tz": "America/Los_Angeles" },
    "sessionTarget": "isolated",
    "wakeMode": "now",
    "payload": { "kind": "agentTurn", "message": "Wake me up and start music.", "deliver": true, "channel": "whatsapp" }
  }
}

Run history

  • cron.runs returns recent JSONL entries for a job.

Notes

  • wakeMode: "now" triggers an immediate heartbeat for main jobs.
  • Isolated jobs run in cron:<jobId> sessions and post a summary back to main.

GitHub リポジトリ

steipete/clawdis
パス: skills/clawdis-cron
relaywhatsapp

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る