← Back to Skills Marketplace
sky-lv

Skylv Smart Task Scheduler

by SKY-lv · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
48
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install skylv-smart-task-scheduler
Description
Context-aware task scheduling with priority management
README (SKILL.md)

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
Usage Guidance
Review this skill carefully before installing. It is transparent about being a scheduler, but its task files are effectively a shell-command automation mechanism. Only run trusted task files, avoid daemon mode for sensitive commands unless you can monitor it, and consider adding command allowlists or explicit approval for actions that publish, delete, move money, change accounts, or modify important files.
Capability Analysis
Type: OpenClaw Skill Name: skylv-smart-task-scheduler Version: 1.0.0 The skill is a task scheduler that executes arbitrary shell commands via 'child_process.execSync' in 'scheduler.js'. While the code aligns with the stated purpose in 'SKILL.md', it provides high-risk capabilities including a background daemon mode ('watch' command) and the ability to define custom environment variables for executed tasks. These features create a significant attack surface for Remote Code Execution (RCE) and persistence if the 'tasks.json' configuration is influenced by a malicious actor or prompt injection.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The scheduler purpose is coherent, but its core capability is broad shell automation: task files can specify arbitrary commands, including account-affecting publish commands.
Instruction Scope
The usage docs show immediate and daemon execution modes, but do not provide guardrails such as command allowlists, per-run approval, dry-run review, or rollback guidance for high-impact tasks.
Install Mechanism
There is no install script, package install, remote download, or dependency chain shown; the reviewed behavior is in the included JavaScript file.
Credentials
Scheduled commands run through the local shell with the process environment inherited, so configured tasks may affect local files, installed tools, or authenticated CLI sessions.
Persistence & Privilege
Daemon/watch mode is disclosed and user-started, but it can keep checking every 30 seconds and repeatedly execute configured commands until stopped.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skylv-smart-task-scheduler
  3. After installation, invoke the skill by name or use /skylv-smart-task-scheduler
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: context-aware task scheduler for flexible, condition-driven automation. - Schedule tasks to run not only by time, but also based on file changes, API readiness, or custom conditions. - Supports multiple trigger types: cron, interval, file-watch, rate-limit, manual, and one-time execution. - Flexible condition logic: only run tasks when specific files exist, APIs are ready, or within defined time windows. - Includes command line options for running, listing, and watching tasks in real-time. - Provides a robust alternative to fixed-time-only schedulers.
Metadata
Slug skylv-smart-task-scheduler
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Skylv Smart Task Scheduler?

Context-aware task scheduling with priority management. It is an AI Agent Skill for Claude Code / OpenClaw, with 48 downloads so far.

How do I install Skylv Smart Task Scheduler?

Run "/install skylv-smart-task-scheduler" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skylv Smart Task Scheduler free?

Yes, Skylv Smart Task Scheduler is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skylv Smart Task Scheduler support?

Skylv Smart Task Scheduler is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skylv Smart Task Scheduler?

It is built and maintained by SKY-lv (@sky-lv); the current version is v1.0.0.

💬 Comments