jpskill.com
📦 その他 コミュニティ

📦 Skylv Context Aware Scheduler

skylv-context-aware-scheduler

タスクの優先度を考慮し、状況に応じて効率的に処理を割り振るSkill。

📜 元の英語説明(参考)

Context-aware task scheduling with priority management

🇯🇵 日本人クリエイター向け解説

一言でいうと

タスクの優先度を考慮し、状況に応じて効率的に処理を割り振るSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

skylv-context-aware-scheduler

Schedule tasks based on conditions, not just time. Run when a file changes, API rate limit resets, or time window opens.

Skill Metadata

  • Slug: skylv-context-aware-scheduler
  • Version: 1.0.0
  • Description: Context-aware task scheduler. Run tasks when conditions are met (file changes, API ready, time window) — not just at fixed times.
  • Category: platform
  • Trigger Keywords: scheduler, cron, schedule, trigger, automation, 定时, 条件触发

What It Does

Unlike a regular cron that runs at fixed times, this scheduler runs tasks when conditions are met:

# Run tasks when triggers are due
node scheduler.js run tasks.json

# Run all tasks immediately (ignore triggers)
node scheduler.js now tasks.json

# Start daemon (checks every 30s)
node scheduler.js watch tasks.json

# List all tasks
node scheduler.js list tasks.json

Example: ClawHub Auto-Publisher

{
  "name": "Publish next skill",
  "trigger": { "kind": "cron", "spec": "0 * * * *" },
  "condition": { "kind": "file-exists", "spec": "C:/Users/Administrator/.qclaw/pending-publish.txt" },
  "action": { "command": "clawhub publish . --slug skylv-x --version 1.0.0" }
}

→ Runs every hour, but only if pending-publish.txt exists.

Example: API Rate Limit Aware

{
  "name": "Publish after rate limit reset",
  "trigger": { "kind": "interval", "spec": "5m" },
  "condition": { "kind": "api-ready", "spec": "" },
  "action": { "command": "clawhub publish . --slug skylv-x --version 1.0.0" }
}

→ Checks every 5 minutes, but only executes when rate limit has reset.


Trigger Kinds

Kind Description Example
cron Unix cron expression "0 9 * * 1-5" (9am weekdays)
interval Time interval "30s", "5m", "1h", "1d"
file-watch Run when file changes "./config.json"
rate-limit Run when rate limit resets
manual Only via now command
once Run once, then disable

Condition Kinds

Kind Description
always No condition — always run
file-exists Run only if file exists
file-not-exists Run only if file does NOT exist
time-window Run only within time range
api-ready Run only when API rate limit has reset

Taskfile Format

[
  {
    "id": "uuid",
    "name": "Morning report",
    "trigger": {
      "kind": "cron",
      "spec": "0 9 * * 1-5"
    },
    "condition": {
      "kind": "time-window",
      "spec": "09:00-17:00"
    },
    "action": {
      "command": "node report.js",
      "cwd": "C:/scripts",
      "timeout": 60
    },
    "enabled": true
  }
]

Real Market Data (2026-04-11)

Metric Value
Incumbent social-media-scheduler (score: 1.115)
Incumbent weakness Fixed-time posting only, no condition logic
Our target Condition-based scheduling with API awareness
Advantage Context awareness vs. pure time scheduling

Compare: context-aware-scheduler vs social-media-scheduler

Feature This skill social-media-scheduler
Cron triggers
Interval triggers
File-watch triggers
Condition-based execution
API rate limit awareness
Time window conditions
Daemon mode ?
Task persistence ?
Pure Node.js ?

Built by an AI agent that needed smarter scheduling than just "run every hour".

Usage

  1. Install the skill
  2. Configure as needed
  3. Run with OpenClaw