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 skills add trk/processwire-boost --skill pw-schedulinggit clone --depth 1 https://github.com/trk/processwire-boostWrote 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.
[](https://agentmods.dev/skills/trk/processwire-boost/pw-scheduling)<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-scheduling"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-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.
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-scheduling"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-scheduling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.00901 |
| Opus 5.5 | $0.00012 | $0.00360 |
| Sonnet 5.5 | $0.00006 | $0.00180 |
| Haiku 4.5 | $0.00003 | $0.00090 |
Grade A, and why
pw-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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ProcessWire Task Scheduling
Define recurring cron tasks in PHP classes discovered from site/schedule/ and site/modules/*/schedule/, and execute all due tasks from a single server crontab entry (php vendor/bin/wire schedule:run).
When to Use
- Scheduling periodic maintenance, cache pruning, feed imports, or dispatching background queue jobs on a cron schedule.
- Replacing multiple raw server crontab entries with version-controlled PHP task classes.
Directory & Naming Conventions
- Locations:
- Global tasks:
site/schedule/*Task.php(default namespaceSite\Schedule) - Module tasks:
site/modules/<ModuleName>/schedule/*Task.php(default namespaceProcessWire)
- Global tasks:
- Naming: Class and file names must end with
Task(e.g.,ClearCachesTaskinClearCachesTask.php). - Base Class: Extend
Totoglu\Console\Scheduling\Taskand implement bothschedule(Event $schedule): voidandhandle(): void. TheProcessWireinstance is injected at$this->wire.
Scaffolding & Implementing a Task
# Global task in site/schedule/ClearCachesTask.php
php vendor/bin/wire make:task ClearCachesTask
# Module-scoped task in site/modules/Analytics/schedule/SyncMetricsTask.php
php vendor/bin/wire make:task SyncMetricsTask --module=Analytics
Implementation pattern:
<?php
declare(strict_types=1);
namespace Site\Schedule;
use Totoglu\Console\Queue\Queue;
use Totoglu\Console\Scheduling\Event;
use Totoglu\Console\Scheduling\Task;
final class ClearCachesTask extends Task
{
public function schedule(Event $schedule): void
{
$schedule->dailyAt('04:00');
}
public function handle(): void
{
$this->wire->cache->maintenance();
Queue::push('PruneExpiredSessionsQueue');
}
}
Available Schedule Frequencies (Totoglu\Console\Scheduling\Event)
| Method | Cron Expression | Meaning |
|---|---|---|
$schedule->everyMinute() |
* * * * * |
Every minute |
$schedule->everyFiveMinutes() |
*/5 * * * * |
Every 5 minutes |
$schedule->hourly() |
0 * * * * |
Top of every hour |
$schedule->daily() |
0 0 * * * |
Daily at 00:00 |
$schedule->dailyAt('13:30') |
30 13 * * * |
Daily at specified HH:MM |
$schedule->weekly() |
0 0 * * 0 |
Sundays at 00:00 |
$schedule->monthly() |
0 0 1 * * |
1st day of each month at 00:00 |
$schedule->cron('15 */6 * * *') |
Custom 5-field cron | Arbitrary cron expression |
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.
- 29d ago Changed · +25 lines · +6 tokens per session 211eb447c9b1
- 3mo ago First seen · 73 lines · 24 tokens per session scan A 6ef047d569ad
pw-scheduling is a skill published in the GitHub repository trk/processwire-boost (5 stars, last pushed 13d ago), licensed MIT. It adds 30 tokens to every session and 901 once invoked, about $0.0001 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-31.
pw-scheduling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pw-schedulingtrk/processwire-boost | Skill | 5 | 13d ago | MIT | A | 30 | Claude Code, Codex |
| mk:context-auditngocsangyem/MeowKit | Skill | 17 | yesterday | MIT | A | 24 | Claude Code |
| cf-clicloudflare/skills | Skill | 3.5k | 6d ago | Apache-2.0 | A | 78 | Claude Code |
| workers-best-practicescloudflare/skills | Skill | 3.5k | 6d ago | Apache-2.0 | A | 25 | Claude Code |
| cloudflare-app-bootstrapcloudflare/skills | Skill | 3.5k | 6d ago | Apache-2.0 | A | 69 | Claude Code |
| ai-answer-auditelvisun/newsjack | Skill | 1.7k | 6d ago | MIT | A | 70 | Claude Code |
| find-journalistselvisun/newsjack | Skill | 1.7k | 6d ago | MIT | A | 52 | Claude Code |