cron-schedule
できること
このスキルは、定期的なセキュリティスキャンのような、バックグラウンドのタスクを時計に合わせてスケジュールします。忘れずに定期的な確認を実行させたい人向けです。
使う場面
- ✓作業中、数分ごとに確認を実行させたいとき。
- ✓定期的なスキャンやメモリーの掃除を、決まった時刻に行わせたいとき。
- ✓もう必要ない定期ジョブを止めたいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-loop-workers/skills/cron-schedule/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今日は作業中ずっと、15分ごとにセキュリティ監査を実行してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、5つの要素からなる cron の時刻と、実行するプロンプトを持つ定期ジョブを作成します。これらのジョブはセッションが開いている間だけ動作し、定期ジョブは7日後に期限切れになります。ジョブのIDを使ってキャンセルできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Use CronCreate for a worker that should fire on a clock while this Claude Code session is open:
CronCreate({ cron: "*/15 * * * *", prompt: "Dispatch the audit worker with mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: \"audit\" }) and report anything critical", recurring: true })
The parameters are cron (five-field expression), prompt and recurring. A schedule: field does not exist. These jobs live in the session: they stop when you close it, and recurring jobs expire on their own after 7 days. Cancel one sooner with CronDelete (find its id with CronList). For a worker that must keep running after the session ends, use /schedule (cloud routines) or an OS scheduler (cron, systemd timer) that calls npx @claude-flow/cli@latest hooks worker dispatch --trigger audit.
Recommended Schedules
| Worker | Cron | Description |
|---|---|---|
| audit | */15 * * * * |
Security scanning |
| optimize | */30 * * * * |
Performance optimization |
| consolidate | 0 * * * * |
Memory consolidation |
| map | */30 * * * * |
Codebase mapping |
| testgaps | */15 * * * * |
Test coverage analysis |
| document | 0 */2 * * * |
API documentation |
When to Use Cron vs Loop
/loop: In-session, self-pacing. Use for active development.- CronCreate: In-session, fixed clock, auto-expires after 7 days. Use for regular checks while you work.
/scheduleor an OS scheduler: Survives the session. Use for CI-style monitoring.
よくある質問
セッションを閉じた後もジョブは動き続けますか?
いいえ。セッションが閉じると止まります。動き続ける必要があるジョブについては、ソースがクラウドのルーチンやオペレーティングシステムのスケジューラーを提案しています。
定期ジョブはどれくらい続きますか?
7日後に自動的に期限切れになります。
ジョブはどうやって止めますか?
ジョブ一覧にあるIDを使って、削除コマンドでキャンセルできます。
詳細
人気
- GitHubのスター
- 81k
- ランキング
- #1641
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。