cron-job-workflows

cron-job-workflows is a skill for Claude Code, Codex from lamenting-hawthorn/SkillLoop. It costs 30 tokens per session (2,682 once invoked), scanned A, original, Apache-2.0.

Guidance for running coding tasks as scheduled cron jobs, which are automatic jobs that run at set times without a person present.

In plain words
What is it for?
Use it when designing or running scheduled agent tasks, especially tasks that need terminal commands, scripts, or output delivery.
Why use it?
It explains which tools and actions are unavailable in unattended runs and gives a documented way to complete work and deliver the result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it when designing or running scheduled agent tasks, especially tasks that need terminal commands, scripts, or output delivery.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lamenting-hawthorn/skillloop/cron-job-workflows
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lamenting-hawthorn/SkillLoop --skill cron-job-workflows
Clone the repo
git clone --depth 1 https://github.com/lamenting-hawthorn/SkillLoop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cron-job-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/lamenting-hawthorn/skillloop/cron-job-workflows.svg)](https://agentmods.dev/skills/lamenting-hawthorn/skillloop/cron-job-workflows)
Your own site
<a href="https://agentmods.dev/skills/lamenting-hawthorn/skillloop/cron-job-workflows"><img src="https://agentmods.dev/badge/skills/lamenting-hawthorn/skillloop/cron-job-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,682 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.02682
Opus 5 $0.00015 $0.01341
Sonnet 5 $0.00006 $0.00536
Haiku 4.5 $0.00003 $0.00268

Measured 8d ago against content hash fe9136268eac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cron-job-workflows scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

references/hermes-skills/cron-job-workflows/SKILL.md · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cron Job Workflows

Use this skill whenever you are running as a scheduled cron job (your conversation starts with "[IMPORTANT: You are running as a scheduled cron job]").

Key restrictions (cron mode)

These tools/patterns are blocked in cron mode — the system cannot prompt for approval without a user present:

Pattern Status Error you'll see
execute_code() ❌ Blocked BLOCKED: execute_code runs arbitrary local Python... Cron jobs run without a user present to approve it.
terminal("python3 -c '...'") ❌ Blocked pending_approval — matches the script execution via -e/-c flag approval pattern
terminal("python3 << 'EOF' ... EOF") ❌ Likely blocked Same inline-execution approval trigger
clarify() / asking questions ❌ Not available "There is no user present — you cannot ask questions, request clarification, or wait for follow-up."
send_message() ❌ Not needed Your final response IS the delivery mechanism

Proven workaround: write_file + terminal

The reliable pattern for running Python analysis in cron mode:

  1. Write the script with write_file (always works — no approval needed)
  2. Execute it with terminal("python3 <path>") (works — shell runs a file, not inline code)
# Step 1: Write the analysis script
write_file(
    path="/path/to/_tmp_report.py",
    content='''#!/usr/bin/env python3
import json, os, glob, statistics

# ... your analysis logic ...
print(f"Total: {n}, Average: {avg:.2f}")
'''
)

# Step 2: Execute it
terminal("python3 /path/to/_tmp_report.py")

Cleanup

After the task, delete the temp script:

rm /path/to/_tmp_report.py

Output delivery rules

  • Your final response is automatically delivered to the configured destination (email, Slack, Telegram, etc.).
  • Do NOT call send_message() or any delivery tool — let the system handle it.
  • If there is genuinely nothing new to report, respond with exactly [SILENT] (nothing else) to suppress delivery.
  • Never combine [SILENT] with content — either report findings normally, or say [SILENT] and nothing more.

Read the full file on GitHub · 275 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 275 lines · 30 tokens per session scan A fe9136268eac

Subscribe to this mod's changes

cron-job-workflows is a skill published in the GitHub repository lamenting-hawthorn/SkillLoop (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 2,682 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.