π¦ ClawHub
Runtime Instructions Control Plane
by @danielsinewe
Load per-job runtime instructions from Google Sheets, cache them locally, and reconcile cron job enablement flags safely for OpenClaw operations.
TERMINAL
clawhub install runtime-instructions-control-planeπ About This Skill
name: runtime-instructions-control-plane description: Load per-job runtime instructions from Google Sheets, cache them locally, and reconcile cron job enablement flags safely for OpenClaw operations. metadata: { "openclaw": { "emoji": "π§", "requires": { "bins": ["node"] } } }
Runtime Instructions Control Plane
Use this skill to run OpenClaw jobs from a Google Sheet control plane without editing cron/jobs.json manually.
What this provides
enabled flags from sheet rows in dry-run or apply mode.Included files
scripts/load-sheet-instructions.mjsscripts/reconcile-cron-from-sheet.mjsreferences/google-sheet-instructions-schema.mdtemplates/job_instructions_template.csvEnvironment
Set these before running:GOOGLE_SHEETS_SPREADSHEET_IDGOOGLE_SHEETS_RANGE (optional, default in scripts)GOOGLE_SERVICE_ACCOUNT_EMAIL
- GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY
gcloud for token fallback in loader script.Optional path overrides:
OPENCLAW_ROOT (default: ~/.openclaw)OPENCLAW_RUNTIME_INSTRUCTIONS_DIR (default: $OPENCLAW_ROOT/memory/runtime-instructions)OPENCLAW_CRON_JOBS_PATH (default: $OPENCLAW_ROOT/cron/jobs.json)Usage
Load one job's runtime instructions:
node scripts/load-sheet-instructions.mjs \
--job-id "" \
--job-name ""
Load from cache only (no network):
node scripts/load-sheet-instructions.mjs --job-id "" --local-only
Preview cron enable/disable changes from sheet:
node scripts/reconcile-cron-from-sheet.mjs
Apply cron enable/disable changes:
node scripts/reconcile-cron-from-sheet.mjs --apply
Safety notes
--apply.jobs.json.π‘ Examples
Load one job's runtime instructions:
node scripts/load-sheet-instructions.mjs \
--job-id "" \
--job-name ""
Load from cache only (no network):
node scripts/load-sheet-instructions.mjs --job-id "" --local-only
Preview cron enable/disable changes from sheet:
node scripts/reconcile-cron-from-sheet.mjs
Apply cron enable/disable changes:
node scripts/reconcile-cron-from-sheet.mjs --apply