Install
openclaw skills install cron-job-token-auditorAudits OpenClaw Gateway cron jobs from jobs.json (or CLI), classifies scheduled workloads by token cost (agent turns vs deterministic work), and suggests whe...
openclaw skills install cron-job-token-auditorThis skill guides read-only reviews of OpenClaw Gateway cron jobs so the user can spot token-saving opportunities—typically moving purely mechanical recurring work to an OS-scheduled script (systemd timer, launchd, etc.) that calls openclaw message send without running the model on every tick.
jobs.json, systemd units, or user scripts unless the user explicitly asks for a draft or a diff to apply themselves.~/.openclaw/cron/jobs.json — confirm or use openclaw cron / docs if the install differs.jobs.json (or pastes JSON).jobs.json (or user-provided excerpt): each job’s name, enabled, schedule, payload, delivery, agentId.openclaw cron / openclaw cron list (or current CLI) when available — aligns with the live Gateway.REFERENCE.md in this skill folder for glossary and checklist language.payload.kind: agentTurn → counts as LLM-invoking for each run (unless documentation says otherwise for this version).***.Flag as candidate only when medium or high confidence:
| Signal | Suggests |
|---|---|
| Same task could be a shell/Python script + one message | Possible migration |
| Prompt needs search, summarization, judgment, variable tool use | Usually keep agent cron |
| Only fetch fixed URL, run CLI, grep, template message | Stronger candidate |
Patterns (map each candidate to one):
some-cli … \| … then openclaw message send …curl/fetch + parse + send (no LLM).## Cron Job Auditor — Summary
- **Source**: (path or CLI)
- **Jobs scanned**: N (enabled: M)
- **Likely LLM per run**: (count of agentTurn-style jobs, or “unknown” if schema unclear)
## Per-job table
| Job name | Enabled | Schedule | Payload kind | LLM? | Confidence (migration) | Notes |
|----------|---------|----------|--------------|------|------------------------|-------|
## Candidates for OS timer + script (no auto-migration)
For each row with confidence **medium** or **high**:
### 1. `<job name>`
- **Why it costs tokens**: …
- **Suggested pattern**: A / B / C (one paragraph)
- **Prerequisites**: …
- **Manual steps** (numbered):
1. Implement script at `…` (user path)
2. Test with dry-run / manual run
3. Add systemd timer (or launchd) — user edits unit files
4. **Disable or remove** the Gateway cron entry to avoid duplicate sends
5. Verify with checklist in REFERENCE.md
## Not recommended for migration
| Job | Reason |
|-----|--------|
## Low-confidence items
(Brief list — what would be needed to decide.)
openclaw message send for delivery only — that path avoids per-tick LLM usage for the poll itself.