makushingu/harness-maxxing/maxxing-cron
Claude Code and agent skill by makushingu/harness-maxxing
- community
Checking that the SKILL.md file is still in the repository.
Create, change, disable or debug Harness Maxxing scheduled jobs (shell commands or Claude prompts run in a topic on a cron schedule, with Telegram reports). Use when the user wants something to happen every day/hour/week, asks about crons, or a job did not run.
Install
npx vskill@latest install makushingu/harness-maxxing/maxxing-cronSKILL.md
The same SKILL.md was published earlier as makushingu/harness-maxxing/maxxing-cron.
Scheduled jobs
Not at set times but when something happens (a service calls, a notification arrives, an agent run or a cron run ends) -> a webhook or an event, without AI: skill maxxing-webhooks (e.g. "when the backup job fails, post to ntfy"). With judgement (AI) on an event -> an agent (skill maxxing-agents).
Jobs are managed by Harness Maxxing and stored in {{STATE_DIR}}/crons/jobs.json. Each enabled job is one line of a managed block in root's crontab calling maxxing cron run <id>; lines outside the block are never touched. Run history: crons/runs.jsonl (shown in Settings -> Crons).
Prefer the UI
Settings -> Crons -> New job: name, schedule (with a live preview of the next runs), type, notify policy, timeout. "Run now" and history are there too.
Job fields
| Field | Meaning | |||
|---|---|---|---|---|
name | short label (max 80 chars) | |||
schedule | 5-field cron expression ("" for a one-time job) in the server system time zone (keep it equal to the config time zone - maxxing doctor checks it) - min hour day month weekday; also @daily, @hourly, @weekly, @monthly, @reboot | |||
kind | shell (runs command with bash) or claude (sends prompt to a Claude session in topic_path) | |||
command | shell only, e.g. {{WORKSPACE}}/projects/acme/scripts/report.sh | |||
topic_path | claude only: projects/acme/topics/blog ("" = workspace root) | |||
prompt | claude only: the instruction, self-contained (the job has no conversation context unless reuse_session) | |||
model | claude only, "" = default model | |||
reuse_session | claude only: keep one session for every run (it accumulates context) instead of a new one per run | |||
enabled | on/off | |||
notify | never \ | failure (default) \ | always - Telegram report in the "Crons" thread | |
timeout_s | max duration, 10 s to 7 days (default 3600) | |||
once_at | one-time job instead of schedule: "YYYY-MM-DDTHH:MM", wall time in the configured zone; runs once, then enabled: false + done_at | |||
delete_after | one-time job: removed once it ran (archived, maxxing cron deleted) instead of disabled | |||
catch_up | default true: a run missed while the server was down (last 24 h, jobs at most hourly) runs once when it is back (not if the next run is close) | |||
retries | shell only, 0-5 (default 0): retry a failed command after 5, 15, 30 min. Claude jobs retry by themselves after a usage limit or an API/network error (3 max); a timeout is never retried |
Schedule examples: 0 7 * * * every day 07:00 · */15 * * * * every 15 min · 30 8 * * 1-5 weekdays 08:30 · 0 9 1 * * 1st of the month 09:00 · 0 */6 * * * every 6 h.
One-time jobs ("remind me in 30 min", "tomorrow at 9")
Turn the request into a once_at in the configured time zone (maxxing status or config timezone; compute it with TZ=<zone> date -d '+30 min' +%Y-%m-%dT%H:%M), with schedule: "". A reminder = a Claude job whose prompt writes the reminder text, with notify: "always" so it arrives on Telegram, and usually delete_after: true. Tell the user the exact date and time you set. A past once_at is refused.
Nothing to report
A Claude job may answer exactly [SILENT]: no Telegram report (with notify: "always" its turn is told so). For watch jobs, say it in the prompt too: "if nothing changed since the last run, answer [SILENT]".
Without the UI (CLI + file)
- Read
{{STATE_DIR}}/crons/jobs.json({"version": 1, "jobs": [...]}). - Add or edit a job object with the fields above plus a unique
id(c_+ 6 hex chars, e.g.
c_3fa91c), created/updated (Unix seconds). Keep unknown fields and every other job. Read and write in the same step, under the lock the server uses (flock {{STATE_DIR}}/.crons.lock python3 - <<'EOF' … EOF), never from a copy read earlier; write atomically (write a temp file in the same folder, then rename).
maxxing cron sync- rewrites the crontab block.maxxing cron list- check.maxxing cron run <id>- test it now (records a run, sends the report pernotify).
Good practice
- Claude jobs: say exactly what to produce and where to write it; mention the skill to use if one
exists ("Use the memory-compaction skill…"). Claude jobs appear as sessions flagged cron.
- Shell jobs: absolute paths, idempotent scripts, write their own logs if long; the run keeps the
last 2 KB of output.
- Long work: raise
timeout_srather than chaining jobs. Overlapping runs of the same job are skipped. - A job disappeared:
maxxing cron deletedlists the removed ones (deleted, or gone after a hand edit of
jobs.json), maxxing cron restore <id> puts one back with its id.
- Debug:
maxxing cron list(last result, done / missed one-time jobs, waiting retry),maxxing cron run <id>,
crontab -l, systemctl status cron. A run's trigger in runs.jsonl says who started it (schedule, manual, catch-up, retry with attempt).
- Never edit lines inside the
# >>> claude-maxxing (managed) >>>block by hand: they are rewritten.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/maxxing-cron/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/makushingu/harness-maxxing/maxxing-cron)