memstack-automation-cron-scheduler

memstack-automation-cron-scheduler is a skill for Claude Code, Codex from cwinvestments/memstack. It costs 67 tokens per session (2,487 once invoked), scanned B, original, MIT.

A guide for building recurring jobs with cron, a system that runs commands at set times or intervals. It covers time zones, preventing overlapping runs, health checks, monitoring, alerts, and structured logs.

In plain words
What is it for?
It is for creating and operating monitored scheduled tasks such as periodic data updates, reports, or maintenance jobs.
Why use it?
It helps avoid scheduled jobs running twice, using the wrong local time, or failing without anyone noticing.

Skill for Claude CodeCodex

Part of the memstack plugin — 86 skills, 2 commands, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/cwinvestments/memstack/cron-scheduler
Any agent
npx skills add cwinvestments/memstack --skill cron-scheduler
Clone the repo
git clone --depth 1 https://github.com/cwinvestments/memstack

Made for: Claude Code, Codex.

Or install memstack, the plugin that ships this one along with the rest of its 86 skills, 2 commands, 5 hooks.

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 memstack-automation-cron-scheduler

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwinvestments/memstack/cron-scheduler.svg)](https://agentmods.dev/skills/cwinvestments/memstack/cron-scheduler)
Your own site
<a href="https://agentmods.dev/skills/cwinvestments/memstack/cron-scheduler"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/cron-scheduler.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
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 $0.00067 $0.02487
Opus 5 $0.00034 $0.01243
Sonnet 5 $0.00013 $0.00497
Haiku 4.5 $0.00007 $0.00249

Measured yesterday against content hash f253f75ecb87, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

memstack-automation-cron-scheduler scanned grade B with 2 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 yesterday.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| "Run as root" | Principle of least privilege. Run jobs under a dedicated service account. |

Makes network callslowCapability

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

await fetch(url); // Services: Cronitor, Healthchecks.io, Better Uptime
skills/automation/cron-scheduler/SKILL.md · 308 lines

How it starts

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

Cron Scheduler: Building scheduled job...

Builds production-grade scheduled jobs with cron syntax, timezone handling, overlap prevention, health checks, monitoring, alerting, and structured logging.

Activation

When this skill activates, output:

Cron Scheduler: Building scheduled job...

Then execute the protocol below.

Context Guard

Context Status
User says "cron job", "scheduled task", "run every" ACTIVE
User says "cron expression" or "recurring job" ACTIVE
User needs a time-based scheduled task with monitoring ACTIVE
User wants a visual n8n workflow DORMANT: use n8n Workflow Builder
User wants an event-driven webhook DORMANT: use Webhook Designer

Common Mistakes

Mistake Why It's Wrong
"No overlap prevention" If a job takes 10 min and runs every 5 min, you get concurrent executions corrupting data.
"Ignore timezones" Cron defaults to server timezone. Midnight UTC ≠ midnight local. Always set TZ explicitly.
"No monitoring" Silent job failures are invisible. You won't know it broke until users complain.
"Log to stdout only" Stdout disappears on restart. Use structured logging with persistence.
"Run as root" Principle of least privilege. Run jobs under a dedicated service account.

Protocol

Step 1: Gather Job Requirements

If the user hasn't provided details, ask:

  1. Task: what does the job do? (sync data, send emails, clean up, generate reports)
  2. Schedule: how often? (every 5 min, hourly, daily at 2 AM, weekly)
  3. Duration: how long does a typical run take?
  4. Timezone: which timezone matters? (UTC, user's local, business hours)
  5. Platform: where does this run? (server crontab, cloud function, Docker, Kubernetes)
  6. Failure mode: what happens if it fails? (retry, alert, skip until next run)

Step 2: Write the Cron Expression

Cron syntax (5-field standard):

┌───────────── minute (0-59)
│ ┌───────────── hour (0-23)
│ │ ┌───────────── day of month (1-31)
│ │ │ ┌───────────── month (1-12)
│ │ │ │ ┌───────────── day of week (0-7, 0 and 7 = Sunday)
│ │ │ │ │
* * * * *

Read the full file on GitHub · 308 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. yesterday Changed f253f75ecb87
  2. 5d ago First seen · 308 lines · 67 tokens per session scan B 0bda4fc70504

Subscribe to this mod's changes

memstack-automation-cron-scheduler is a skill published in the GitHub repository cwinvestments/memstack (419 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 2,487 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

design-review

Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues in source code, committing each fix atomically and re-verifying with before/after screenshots. For plan-mode design review (before implementation), use…

GCWing/BitFun · 125 tokens

plan-eng-review

Eng manager-mode plan review. Lock in the execution plan — architecture, data flow, diagrams, edge cases, test coverage, performance. Walks through issues interactively with opinionated recommendations. Use when asked to "review the architecture", "engineering review", or "lock in the plan". Proactively suggest when…

GCWing/BitFun · 116 tokens

autoplan

Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. Surfaces taste decisions (close approaches, borderline scope, codex disagreements) at a final approval gate. One command, fully reviewed plan out. Use when…

GCWing/BitFun · 152 tokens

pre-landing-review

Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by BitFun's unified Review mechanism instead.…

GCWing/BitFun · 74 tokens

miniapp-dev

Develops, maintains, and generates BitFun MiniApps (Zero-Dialect Runtime). Use when (1) working on miniapp framework code under src/crates/assembly/core/src/miniapp/ or src/web-ui/src/app/scenes/miniapps/; or (2) generating / creating / designing a NEW MiniApp for the user — including any request like "做一个小应用 / 生成…

GCWing/BitFun · 143 tokens

commit-push-pr

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.

GCWing/BitFun · 68 tokens