ap-cron

ap-cron is a skill for Claude Code, Codex from agentproto/ts. It costs 70 tokens per session (1,634 once invoked), scanned A, original, Apache-2.0.

A scheduling tool for running commands or agent prompts once or repeatedly at specified local times.

In plain words
What is it for?
Use it for nightly audits, periodic health checks, recurring agent sessions, delayed reminders, and test runs of scheduled jobs.
Why use it?
It keeps routine checks and follow-up work running without someone having to start them manually each time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for nightly audits, periodic health checks, recurring agent sessions, delayed reminders, and test runs of scheduled jobs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentproto/ts/ap-cron
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 agentproto/ts --skill ap-cron
Clone the repo
git clone --depth 1 https://github.com/agentproto/ts

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 ap-cron

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentproto/ts/ap-cron/github.svg)](https://agentmods.dev/skills/agentproto/ts/ap-cron)
Your own site
<a href="https://agentmods.dev/skills/agentproto/ts/ap-cron"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-cron/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 ap-cron

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentproto/ts/ap-cron"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-cron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,634 The whole file, excluding the scripts and references it only reads on demand.
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.00070 $0.01634
Opus 5.5 $0.00028 $0.00654
Sonnet 5.5 $0.00014 $0.00327
Haiku 4.5 $0.00007 $0.00163

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

Security

Grade A, and why

ap-cron 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 5d 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.

"command": "curl",
packages/skill-pack-agentproto/src/skills/ap-cron/SKILL.md · 182 lines

How it starts

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

ap-cron

When to use

  • Work must run on a schedule with nobody prompting it (nightly audits, periodic sweeps).
  • A long-running mission needs periodic check-ins that keep its context alive.
  • You want a delayed one-shot action ("in 20 minutes, poke the deploy").

Create a job

cron_create takes a 5-field cron expression in local time and exactly one action. label is the human-readable name; recurring defaults to true.

{
  "tool": "cron_create",
  "args": {
    "schedule": "0 9 * * 1-5",
    "label": "morning-standup",
    "action": {
      "kind": "agent",
      "harness": "claude-code",
      "prompt": "Summarize overnight commits and draft the day's priority list.",
      "cwd": "/repo",
      "model": "claude-sonnet-5-5"
    }
  }
}

Three action kinds:

  • command — run an allowlisted executable. command is the basename (git, not /usr/bin/git) and must be listed in <workspace>/.agentproto/allowed-commands.json.
{
  "tool": "cron_create",
  "args": {
    "schedule": "*/30 * * * *",
    "label": "health-check",
    "action": {
      "kind": "command",
      "command": "curl",
      "args": [
        "-fsS",
        "http://localhost:8080/health"
      ],
      "cwd": ".",
      "timeoutMs": 15000
    }
  }
}

Notify mode: quiet successes

By default a successful command run wakes sessions that follow it. Set notify: "onFailure" when the success needs no attention: it lands in their inbox as fyi and does not start a turn. A non-zero exit still crashes and wakes them.

{
  "tool": "cron_create",
  "args": {
    "schedule": "*/30 * * * *",
    "notify": "onFailure",
    "action": {
      "kind": "command",
      "command": "curl",
      "args": [
        "-fsS",
        "http://localhost:8080/health"
      ]
    }
  }
}
  • agent — spawn a brand-new session on each firing. Use for self-contained periodic work.
  • prompt-session — re-ping an EXISTING living session, by id or by agent label.

Read the full file on GitHub · 182 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. 5d ago Changed · +51 lines fca5dd7f263e
  2. 1mo ago Changed · +15 lines 39400e9d160d
  3. 1mo ago Changed · +32 lines 4b3f1df91a59
  4. 3mo ago First seen · 84 lines · 70 tokens per session scan A 848843c1341d

Subscribe to this mod's changes

ap-cron is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 70 tokens to every session and 1,634 once invoked, about $0.0003 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-09-04.

Related

ap-cron compared with skills from other repositories

ap-cron next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ap-cronagentproto/tsSkill11yesterdayApache-2.0A70Claude Code, Codex
markedit-toolssammcj/agentic-codingSkill174todayApache-2.0A16Claude Code, Codex
deferred-task-executionsammcj/agentic-codingSkill174todayApache-2.0A54Claude Code
herdrsammcj/agentic-codingSkill174todayApache-2.0A29Claude Code, Codex
glyphyonatangross/orchestkitSkill317todayMITA53Claude Code
disk-cleanupyonatangross/orchestkitSkill317todayMITA61Claude Code
skill-creator-primersammcj/agentic-codingSkill174todayApache-2.0A74Claude Code