croncron: Instructions file for Codex

AGENTS.md

croncron AGENTS.md is an instructions file for Codex, OpenCode from itsnotrwanman/croncron. It costs 565 tokens per session, scanned A, original, MIT.

Instructions for an AI agent that manages cron jobs with croncron. Cron jobs are scheduled commands that run automatically, such as backups or periodic checks.

In plain words
What is it for?
Use them to schedule commands in plain English or cron syntax, view run history and logs, run jobs immediately, and detect missed runs or failures.
Why use it?
They explain how to create, inspect, edit, pause, run, and remove scheduled jobs through a tool or command line. Machine-readable JSON output also makes results easier for agents to process.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code.

This is itsnotrwanman/croncron's own configuration. It tells Codex and OpenCode how to work on croncron itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything croncron configures →

Reuse

Borrowing it

Nothing to install: this file belongs to itsnotrwanman/croncron. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/itsnotrwanman/croncron/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/itsnotrwanman/croncron

Made for: Codex, OpenCode.

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 croncron AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/itsnotrwanman/croncron/agents-md/github.svg)](https://agentmods.dev/instructions/itsnotrwanman/croncron/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/itsnotrwanman/croncron/agents-md"><img src="https://agentmods.dev/badge/instructions/itsnotrwanman/croncron/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for croncron AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/itsnotrwanman/croncron/agents-md"><img src="https://agentmods.dev/badge/instructions/itsnotrwanman/croncron/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 565 This file is loaded in full into every session.
When invoked 565 The same file — it is already loaded in full.
Security scan A 1 finding. 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.00565 $0.00565
Opus 5.5 $0.00226 $0.00226
Sonnet 5.5 $0.00113 $0.00113
Haiku 4.5 $0.00056 $0.00056

Measured 2mo ago against content hash f4f8b6fda922, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

croncron AGENTS.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

croncron add "every 10 minutes" "curl -s https://example.com/ping" --json
AGENTS.md · 42 lines

How it starts

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

croncron — agent guide

You (an AI agent) can manage this machine's cron jobs with croncron. Two interfaces:

1. MCP (preferred when available)

Server: croncron mcp (stdio). Tools: cron_add, cron_list, cron_edit, cron_remove, cron_pause, cron_run_now, cron_logs, cron_catchup.

Register in Claude Code: claude mcp add --scope user croncron -- croncron mcp

2. CLI with --json (any shell-capable agent)

Every read/write command accepts --json and prints machine-readable JSON:

croncron add "every 10 minutes" "curl -s https://example.com/ping" --json
croncron add "daily at 3am" ./backup.sh --retry 2 --ping https://hc-ping.com/UUID --json
croncron list --json          # nextRun, lastRun {code,ms}, missedLastScheduledRun per job
croncron run <name> --json    # {exitCode, ms, output}
croncron runs <name> --json   # run history
croncron edit <name> --schedule "weekdays at 9am" --json
croncron rm <name> --json

Errors go to stderr as {"ok":false,"error":"..."} with exit code 1.

Things agents should know

  • Schedules: plain English ("every 5 minutes", "weekdays at 9:30", "monthly on the 1st at 9am") or raw 5-field cron. Both validated; bad input fails loudly with examples.
  • Output is captured automatically — never append >> file 2>&1 to commands.
  • cwd/PATH/shell are snapshotted at add time — add jobs from the project directory they should run in, or pass --cwd.
  • Verify your work: after add, run croncron run <name> --json once and check exitCode: 0.
  • Failures alert the user (macOS notification / Telegram) once per state change. Use --no-notify for noisy experimental jobs.
  • Reliability built in: --retry N re-attempts failures; overlapping runs are skipped; the watchdog re-runs jobs missed while the laptop slept (croncron watchdog status).
  • Never edit the crontab directly — croncron owns a marked block; everything else in the user's crontab is preserved and backed up to ~/.croncron/backups/.

Read the full file on GitHub · 42 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. 2mo ago First seen · 42 lines · 565 tokens per session scan A f4f8b6fda922

Subscribe to this mod's changes

croncron AGENTS.md is an instructions file published in the GitHub repository itsnotrwanman/croncron (0 stars, last pushed 3mo ago), licensed MIT. It adds 565 tokens to every session, about $0.0023 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

croncron AGENTS.md compared with instructions from other repositories

croncron AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
croncron AGENTS.mditsnotrwanman/croncronInstructions file03mo agoMITA565Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode