skylv-context-aware-scheduler

Context-aware task scheduling with priority management

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skylv-context-aware-scheduler" with this command: npx skills add sky-lv/skylv-context-aware-scheduler

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

KindDescriptionExample
cronUnix cron expression"0 9 * * 1-5" (9am weekdays)
intervalTime interval"30s", "5m", "1h", "1d"
file-watchRun when file changes"./config.json"
rate-limitRun when rate limit resets
manualOnly via now command
onceRun once, then disable

Condition Kinds

KindDescription
alwaysNo condition — always run
file-existsRun only if file exists
file-not-existsRun only if file does NOT exist
time-windowRun only within time range
api-readyRun 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)

MetricValue
Incumbentsocial-media-scheduler (score: 1.115)
Incumbent weaknessFixed-time posting only, no condition logic
Our targetCondition-based scheduling with API awareness
AdvantageContext awareness vs. pure time scheduling

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

FeatureThis skillsocial-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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated