diazmelgarejo/orama-system/openclaw-add-cron

Claude Code and agent skill by diazmelgarejo/orama-system

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Add cron, every, or at scheduled OpenClaw jobs with isolated sessions and jobs.json-safe deployment.

Install

npx vskill@latest install diazmelgarejo/orama-system/openclaw-add-cron

SKILL.md

The same SKILL.md was published earlier as diazmelgarejo/orama-system/openclaw-add-cron.

Overlay Source

This Orama-normalized skill extends the upstream cc-openclaw skill at `../cc-openclaw/.claude/skills/openclaw-add-cron/SKILL.md`. Use the upstream file as the behavioral baseline and this file as the cross-harness overlay for Orama, Perpetua-Tools, Codex, Hermes, Gemini, and other agent runners.

Purpose

Create scheduled jobs in OpenClaw without breaking the symlinked cron state. This skill supports cron, every, and at schedule types with consistent job schema. It defaults to isolated execution to avoid context bleed and control cost.

When to Use

  • Scheduling recurring maintenance or memory jobs
  • Adding one-shot delayed tasks
  • Migrating ad hoc schedules into versioned config

Inputs

  • Required:
  • job_id
  • agent_id
  • schedule_type (cron|every|at)
  • schedule_value (expression, interval, or timestamp)
  • prompt
  • Optional:
  • isolated (default true)
  • enabled (default true)

Procedure

  1. Validate schedule inputs.
bash
set -euo pipefail
case "$schedule_type" in cron|every|at) ;; *) echo "invalid schedule_type" >&2; exit 1;; esac
[ -n "$job_id" ] && [ -n "$agent_id" ] && [ -n "$schedule_value" ] && [ -n "$prompt" ]
  1. Append or update cron job in openclaw.json.
bash
jq --arg id "$job_id" --arg aid "$agent_id" --arg t "$schedule_type" --arg v "$schedule_value" --arg p "$prompt" '
(.cron.jobs //= []) |
.cron.jobs |= map(select(.id != $id)) + [{
id:$id,
agentId:$aid,
schedule:{type:$t,value:$v},
prompt:$p,
isolated:true,
enabled:true
}]
' openclaw.json > openclaw.json.tmp && mv openclaw.json.tmp openclaw.json
  1. Remove transient jobs.json before deployment.
bash
rm -f ~/.openclaw/cron/jobs.json
  1. Deploy with stow.
bash
stow --no-folding -t "$HOME" .
  1. Restart gateway and wait.
bash
launchctl kickstart -k "gui/$(id -u)/com.openclaw.gateway"
sleep 5
  1. Verify job materialization.
bash
jq '.cron.jobs[] | select(.id=="'"$job_id"'")' openclaw.json
  1. Verify runtime logs for scheduler load.
bash
log show --style syslog --last 5m --predicate 'eventMessage CONTAINS[c] "cron" OR eventMessage CONTAINS[c] "scheduler"' | tail -n 120

Output Contract

json
{
"status": "ok|error",
"files_modified": ["openclaw.json"],
"follow_up_actions": ["openclaw-status", "observe-next-run"]
}

Naming Enforcement

  • job_id should be lowercase-hyphen format.
  • agent_id must match an existing lowercase-hyphen agent ID.
  • schedule.type must be exactly one of cron, every, at.

Gotchas

  • ~/.openclaw/cron/jobs.json is regenerated by gateway and must be treated as transient.
  • Forgetting rm -f ~/.openclaw/cron/jobs.json can break stow symlink behavior.
  • Non-isolated cron sessions can inflate context cost and produce cross-task leakage.

See Also

  • ../openclaw-dream-setup/SKILL.md
  • ../openclaw-restart/SKILL.md
  • ../openclaw-stow/SKILL.md

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diazmelgarejo/orama-system/openclaw-add-cron/badge)](https://verified-skill.com/skills/diazmelgarejo/orama-system/openclaw-add-cron)

Something wrong with this skill or its page? Tell us.