memstack-automation-cron-scheduler

memstack-automation-cron-scheduler is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the memstack plugin — 87 skills, 2 commands, 6 hooks shipped together

Good fit It is for creating and operating monitored scheduled tasks such as periodic data updates, reports, or maintenance jobs.

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

Made for: Claude Code.

Or install memstack, the plugin that ships this one along with the rest of its 87 skills, 2 commands, 6 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/github.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/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 memstack-automation-cron-scheduler

Your own site · 80×15
<a href="https://agentmods.dev/skills/cwinvestments/memstack/cron-scheduler"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/cron-scheduler.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 307
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • medium Privilege Escalation · line 37
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00067 $0.02487
Opus 5.5 $0.00027 $0.00995
Sonnet 5.5 $0.00013 $0.00497
Haiku 4.5 $0.00007 $0.00249

Measured 1mo ago against content hash f253f75ecb87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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. 1mo ago Changed f253f75ecb87
  2. 1mo 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 (425 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 2,487 once invoked, about $0.0003 per session on Opus 5.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

rtk-optimizer

Wrap high-verbosity shell commands with RTK to reduce token consumption. Use when running git log, git diff, cargo test, pytest, or other verbose CLI output that wastes context window tokens.

FlorianBruniaux/claude-code-ultimate-guide · 44 tokens

session-save

Save the current session state (decisions, modified files, current status, and next steps) to a handoff file for later resume.

FlorianBruniaux/claude-code-ultimate-guide · 31 tokens

handoff-create

Generate a structured handoff document from the current session. Captures scope, relevant files with line numbers, key discoveries, work completed, current status, next steps, and code snippets. Use before ending a session or handing work to another agent.

FlorianBruniaux/claude-code-ultimate-guide · 53 tokens

handoff-update

Update an existing handoff document with current session progress. Applies section-specific merge rules: append-only for Work Done (never deletes history), replace for Status and Next Steps, merge for Files and Discoveries. Falls back to creating a new handoff if no source file is found.

FlorianBruniaux/claude-code-ultimate-guide · 60 tokens

multitask

Coordinate multi-part work through parallel subagents when two or more workstreams can proceed independently. Use for decomposable tasks where concurrency materially reduces the critical path; skip for trivial or tightly sequential work.

GCWing/BitFun · 43 tokens

low-code-platforms

Low-code and internal tool platforms including Retool, Supabase, Appsmith, Tooljet, n8n, and Zapier. Use when building admin panels, internal tools, workflow automations, or integrating low-code platforms with custom code.

travisjneuman/.claude · 54 tokens