task-scheduling

task-scheduling is a skill for Claude Code from proyecto26/system-design-skills. It costs 133 tokens per session (3,400 once invoked), scanned A, original, MIT.

A guide for designing systems that run work later, repeatedly, or on a schedule, and assign jobs to workers. It covers job queues, which pass work between a caller and workers, plus leases, priorities, and retries.

In plain words
What is it for?
Use it for reminders, recurring jobs, delayed work, worker pools, nightly processing, priority handling, and reliable task completion.
Why use it?
It helps prevent scheduled work from being skipped, duplicated, unfairly delayed, or left stuck after a worker crashes.

Skill for Claude Code

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

Part of the system-design-skills plugin — 22 skills, 1 command, 1 agent shipped together

Good fit Use it for reminders, recurring jobs, delayed work, worker pools, nightly processing, priority handling, and reliable task completion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/proyecto26/system-design-skills/task-scheduling
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 proyecto26/system-design-skills --skill task-scheduling
Clone the repo
git clone --depth 1 https://github.com/proyecto26/system-design-skills

Made for: Claude Code.

Or install system-design-skills, the plugin that ships this one along with the rest of its 22 skills, 1 command, 1 agent.

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 task-scheduling

README.md
[![agentmods](https://agentmods.dev/badge/skills/proyecto26/system-design-skills/task-scheduling/github.svg)](https://agentmods.dev/skills/proyecto26/system-design-skills/task-scheduling)
Your own site
<a href="https://agentmods.dev/skills/proyecto26/system-design-skills/task-scheduling"><img src="https://agentmods.dev/badge/skills/proyecto26/system-design-skills/task-scheduling/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 task-scheduling

Your own site · 80×15
<a href="https://agentmods.dev/skills/proyecto26/system-design-skills/task-scheduling"><img src="https://agentmods.dev/badge/skills/proyecto26/system-design-skills/task-scheduling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,400 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.00133 $0.03400
Opus 5.5 $0.00053 $0.01360
Sonnet 5.5 $0.00027 $0.00680
Haiku 4.5 $0.00013 $0.00340

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

Security

Grade A, and why

task-scheduling 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 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.

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.

skills/task-scheduling/SKILL.md · 220 lines

How it starts

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

Task Scheduling

Decide when work runs and which worker runs it: fire jobs on a schedule (cron/delayed/recurring), hand each job to exactly one worker via a lease, and make sure it completes once despite crashes and retries. This sits on top of messaging-streaming queues — the queue is the transport; this skill adds the scheduling, leasing, priorities, and task-level idempotency. Getting it wrong shows up as jobs that never run, run twice (double charge, double email), or pile up until a worker fleet falls permanently behind.

When to reach for this

Work must run later (send a reminder in 24h), on a schedule (nightly rollups, hourly cron), or repeatedly (poll every 5 min); a slow operation is already off the request path (→ messaging-streaming) and now needs reliable allocation to a pool of workers; jobs need priorities (paid before free) or fairness (no single tenant starves others); or a job must complete exactly once even though the worker holding it can crash mid-flight.

When NOT to

The caller needs the result inline — that's a synchronous call, not a scheduled job. A single fire-and-forget async step with no schedule, priority, or exactly-once need — a plain queue + idempotent consumer (messaging-streaming) is simpler; don't add a scheduler on top. One periodic job on one box — OS cron is fine until you have multiple schedulers or need history and retries. A long-running multi-step saga with rollback — reach for a durable workflow engine instead of hand-rolling state across jobs. Don't stand up Airflow/Celery "because we'll have batch jobs eventually" (YAGNI): it's a stateful control plane to operate and monitor.

Clarify first

  • Trigger type — scheduled (cron/at a time), delayed (run after N seconds), recurring (every N), or event-driven (a queue message arrives)? This decides whether a scheduler is even in scope.
  • Exactly-once vs at-least-once — is a duplicate run harmful (money, email) or harmless (idempotent recompute)? Drives the leasing + dedup design.
  • Latency budget vs throughput — must a delayed job fire within seconds of its time, or is "within a few minutes" fine? Tight timing is more expensive.
  • Priority / fairness — do some jobs jump the line, and must one tenant or job class be prevented from starving the rest? (→ back-of-the-envelope for arrival vs. service rate.)
  • Job duration & variance — seconds or hours? Sets the visibility-timeout / lease length and whether long jobs need heartbeats.
  • Idempotency key — what identifies a task as the same task on retry? (The key contract is owned by api-design.)

Read the full file on GitHub · 220 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +4 lines 43077161f3b9
  2. 3mo ago First seen · 216 lines · 133 tokens per session scan A 2bbf4d851c24

Subscribe to this mod's changes

task-scheduling is a skill published in the GitHub repository proyecto26/system-design-skills (150 stars, last pushed 1mo ago), licensed MIT. It adds 133 tokens to every session and 3,400 once invoked, about $0.0005 per session on Opus 5.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-30.

Related

task-scheduling compared with skills from other repositories

task-scheduling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
task-schedulingproyecto26/system-design-skillsSkill1501mo agoMITA133Claude Code
api-designcbrock84/headcountSkill2.6kyesterdayMITA64Claude Code
data-engineeringcbrock84/headcountSkill2.6kyesterdayMITA67Claude Code
add-request-protectionarcjet/arcjet-pluginSkill1todayApache-2.0A40Claude Code
build-giraffe-web-appgaelic-ghost/socketSkill113mo agoApache-2.0A43Claude Code
build-oxpecker-web-appgaelic-ghost/socketSkill113mo agoApache-2.0A44Claude Code
build-falco-web-appgaelic-ghost/socketSkill113mo agoApache-2.0A42Claude Code