cron
できること
このスキルは、決まった時刻や繰り返しのスケジュールで自動的に動くタスクを管理します。定期的なリマインダー、チェック、レポートがほしい人向けです。
使う場面
- ✓毎日、毎週、または特定の時刻にタスクを実行したいとき。
- ✓既存の定期タスクを、一時停止、再開、変更する必要があるとき。
- ✓結果を履歴に残しながら、タスクをバックグラウンドで静かに実行したいとき。
スキルのリンク
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/cron-en/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“平日の午前9時に、私に要約を送るジョブを設定してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、コマンドラインツールを通じて、定期ジョブの作成、一覧表示、更新、一時停止、削除を行います。すべてのコマンドは、それが属するエージェントを指定するので、タスクが既定のワークスペースに入ることはありません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Cron (Scheduled Task Management)
When to Use
Use this skill only when you need to automatically execute something at a future time or repeat execution on a schedule.
Should Use
- User asks to do something "daily / weekly / hourly"
- User asks for automatic reminders or execution "tomorrow at 9 AM / next Monday / at a specific time"
- Long-term periodic notifications, checks, or reports are needed
Should Not Use
- The task only needs to be executed once right now
- It is just a normal reply within the current session
- The user has not specified an execution time or schedule
- The target channel / user / session is still unclear
Decision Rules
- Only use cron for future scheduled or periodic execution
- If it only needs to be done once immediately, do not create a cron job
- Before creating, confirm execution time/schedule, target channel, target-user, and target-session
- All cron commands must explicitly include
--agent-id - Do not rely on the default agent, or the task may end up in the default workspace
- For an agent task that should run without channel output, add
--silent; execution, session history, trace, and optional Inbox recording still continue - Never run or resume an imported job while
requires_reviewis set; review and approve it in Console first
Hard Rules
Must Explicitly Specify --agent-id
All qwenpaw cron commands must include:
--agent-id <your_agent_id>
Your agent_id is found in the Agent Identity section of the system prompt (Your agent id is ...). Do not omit it, or the task may be incorrectly created in the default agent's workspace.
Common Commands
# List tasks
qwenpaw cron list --agent-id <agent_id>
# View task details
qwenpaw cron get <job_id> --agent-id <agent_id>
# View task status
qwenpaw cron state <job_id> --agent-id <agent_id>
# Create a task
qwenpaw cron create --agent-id <agent_id> ...
# Delete a task
qwenpaw cron delete <job_id> --agent-id <agent_id>
# Pause / Resume a task
qwenpaw cron pause <job_id> --agent-id <agent_id>
qwenpaw cron resume <job_id> --agent-id <agent_id>
# Run an existing task once immediately
qwenpaw cron run <job_id> --agent-id <agent_id>
# Update an existing task
qwenpaw cron update <job_id> --agent-id <agent_id> ...
Creating Tasks
Two types are supported:
- text: Send a fixed message on a schedule
- agent: Ask an agent a question on a schedule and send the reply to the target channel
Two schedule modes are supported:
- cron (
--schedule-type cron): classic cron recurrence (for example, daily 09:00 or every 2 hours) - scheduled (
--schedule-type scheduled): calendar-style schedule starting from--run-at, either one-time or repeating by day
Schedule Selection Rules (Must Follow)
- If user intent is generic recurrence ("hourly/daily/weekly") without a specific start date, prefer
cron - If user intent includes a concrete start date ("tomorrow", "next Monday", "starting from <date>", "for the next two weeks"), prefer
scheduled - For one-time
scheduledtasks: pass only--run-atand do not pass any--repeat-*options - For repeating
scheduledtasks: pass--repeat-every-daysand choose an end condition:- fixed count:
--repeat-end-type count --repeat-count N - end datetime:
--repeat-end-type until --repeat-until <ISO8601> - no end:
--repeat-end-type never
- fixed count:
Timeout Settings
Default timeout is 120 seconds (2 minutes). For longer agent tasks, you must explicitly set a larger timeout to prevent premature cancellation:
--timeout 600 # 10 minutes
--timeout 3600 # 1 hour
Core Rules:
- If the agent task involves web search, code execution, or multi-step tool calls, set
--timeout 600or higher - Timeout must be less than the scheduling interval to prevent overlap (a new run firing while the previous one is still executing). Examples:
- Every 15 minutes:
--timeoutshould not exceed 900 seconds - Every 10 minutes:
--timeoutrecommend no more than 80% of interval (i.e. 480 seconds) - Daily:
--timeoutcan be larger, no special restriction needed
- Every 15 minutes:
- For frequent tasks (interval ≤ 10 minutes), follow timeout ≤ 80% of interval; for infrequent tasks (hourly or above), set based on actual needs
Minimum Information Required Before Creating
--type--name--schedule-type--cron(when--schedule-type cron)- `--
よくある質問
一度だけのタスクにも使うべきですか?
いいえ。タスクを1回だけ、今すぐ実行すればよい場合は、スケジュールせずに直接行うとスキルは指示します。
なぜエージェントのIDを指定する必要があるのですか?
指定しないと、タスクが既定のワークスペースに入ってしまうおそれがあるため、スキルは常にIDを必要とします。
サイレントモードとは何をしますか?
出力をチャネルに送らずにエージェントのタスクを実行しますが、履歴は保持します。
詳細
作者による元の説明
Use this skill only for scheduled or recurring tasks. Manage jobs with qwenpaw cron list/create/get/state/update/pause/resume/delete/run, and always pass --agent-id explicitly.
repo: agentscope-ai/QwenPaw
人気
- GitHubのスター
- 37k
- ランキング
- #7574
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
terraform-skill
37kTerraformまたはOpenTofuのインフラのコードを書き、テストし、レビューできるよう支援します。モジュール、CI/CD、セキュリティスキャン、状態の問題を扱います。
computer_use
37k直接のツールでは仕事ができない場合に、エージェントがWindowsやmacOSのライブのアプリを、画面を見て、クリックし、各結果を確かめながら操作できるよう支援します。
browser
37kQwenPaw Browser SDKを通じて、ライブのWebブラウザを操作し、ページを読み、操作し、成功と主張する前に結果を確認できるよう、エージェントを支援します。
channel_message
37k適切な宛先を見つけた後で、特定のチャットチャネルやセッションに一方向のメッセージ(タスク完了の通知など)を送れるよう、エージェントを支援します。