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.
npx agentmods add agents/cloudflare/agents/schedulinggit clone --depth 1 https://github.com/cloudflare/agentsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.07858 |
| Opus 5 | $0.00000 | $0.03929 |
| Sonnet 5 | $0.00000 | $0.01572 |
| Haiku 4.5 | $0.00000 | $0.00786 |
Grade A, and why
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 1,059 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scheduling
Schedule tasks to run in the future — whether that's seconds from now, at a specific date/time, or on a recurring cron schedule. Scheduled tasks survive agent restarts and are persisted to SQLite.
Overview
The scheduling system supports four modes:
| Mode | Syntax | Use Case |
|---|---|---|
| Delayed | this.schedule(60, ...) |
Run in 60 seconds |
| Scheduled | this.schedule(new Date(...), ...) |
Run at specific time |
| Cron | this.schedule("0 8 * * *", ...) |
Run on recurring schedule |
| Interval | this.scheduleEvery(30, ...) |
Run every 30 seconds |
Under the hood, scheduling uses Durable Object alarms to wake the agent at the right time. Tasks are stored in a SQLite table and executed in order.
Scheduler Lifecycle primitive
Experimental. The
Schedulerprimitive and theagents/lifecyclesurface it builds on may change between releases. Agent's established scheduling methods (this.schedule()and friends) are stable.
Scheduler is a reusable Lifecycle capability. A plain Lifecycle Object can
install it without extending Agent:
import { DurableObject } from "cloudflare:workers";
import { Lifecycle } from "agents/lifecycle";
import { Scheduler, type Schedule } from "agents/schedules";
export class ReminderObject extends DurableObject<Env> {
readonly scheduler = new Scheduler({
callbacks: {
sendReminder: (
payload: { message: string },
schedule: Schedule<{ message: string }>
) => {
console.log(schedule.id, payload.message);
}
}
});
readonly lifecycle = Lifecycle.install(this).use(this.scheduler);
async createReminder(message: string): Promise<string> {
const schedule = await this.scheduler.set(300, "sendReminder", {
message
});
return schedule.id;
}
}
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.
- yesterday First seen · 1,059 lines · 0 tokens per session scan A 5157b83a0b3a
scheduling is an agent published in the GitHub repository cloudflare/agents (5,498 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,858 tokens. 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.
Other agents, from other repositories
arxiv-2307-07191
Agent "arxiv-2307-07191" from SAIRAMANALADI/vybe-intelligence-vault, covering summary, why it matters, paper metadata and key topics & tags.
0x4m4-hexstrike-ai
Explain why this repository is useful for advanced web development, 3D frontend, animations, UI systems, or creative development.
0xsteph-pentest-ai-agents
Explain why this repository is useful for advanced web development, 3D frontend, animations, UI systems, or creative development.
15-updates-from-google-i-o-2026-powering-the-agent
General public resource representing technology updates, guides, or tutorials.
amap-ml-longhorizon-harness
Explain why this repository is useful for advanced web development, 3D frontend, animations, UI systems, or creative development.
24-i-cset-awesome
General public resource representing technology updates, guides, or tutorials.