pw-scheduling

pw-scheduling is a skill for Claude Code, Codex from trk/processwire-boost. It costs 30 tokens per session (901 once invoked), scanned A, original, MIT.

A scheduling tool for ProcessWire, a PHP content management system, using CronExpression, a format for describing when jobs should run. It handles time-based tasks in a ProcessWire site.

In plain words
What is it for?
Use it to create, schedule, or manage recurring ProcessWire jobs such as maintenance or content-processing tasks.
Why use it?
It provides a defined way to create and manage scheduled work instead of running those tasks manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, schedule, or manage recurring ProcessWire jobs such as maintenance or content-processing tasks.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/trk/processwire-boost/pw-scheduling/github.svg)](https://agentmods.dev/skills/trk/processwire-boost/pw-scheduling)
Your own site
<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.

agentmods 80×15 button for pw-scheduling

Your own site · 80×15
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 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.00030 $0.00901
Opus 5.5 $0.00012 $0.00360
Sonnet 5.5 $0.00006 $0.00180
Haiku 4.5 $0.00003 $0.00090

Measured 29d ago against content hash 211eb447c9b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

resources/boost/skills/pw-scheduling/SKILL.md · 98 lines

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 namespace Site\Schedule)
    • Module tasks: site/modules/<ModuleName>/schedule/*Task.php (default namespace ProcessWire)
  • Naming: Class and file names must end with Task (e.g., ClearCachesTask in ClearCachesTask.php).
  • Base Class: Extend Totoglu\Console\Scheduling\Task and implement both schedule(Event $schedule): void and handle(): void. The ProcessWire instance 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

Read the full file on GitHub · 98 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. 29d ago Changed · +25 lines · +6 tokens per session 211eb447c9b1
  2. 3mo ago First seen · 73 lines · 24 tokens per session scan A 6ef047d569ad

Subscribe to this mod's changes

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.

Related

pw-scheduling compared with skills from other repositories

pw-scheduling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-schedulingtrk/processwire-boostSkill513d agoMITA30Claude Code, Codex
mk:context-auditngocsangyem/MeowKitSkill17yesterdayMITA24Claude Code
cf-clicloudflare/skillsSkill3.5k6d agoApache-2.0A78Claude Code
workers-best-practicescloudflare/skillsSkill3.5k6d agoApache-2.0A25Claude Code
cloudflare-app-bootstrapcloudflare/skillsSkill3.5k6d agoApache-2.0A69Claude Code
ai-answer-auditelvisun/newsjackSkill1.7k6d agoMITA70Claude Code
find-journalistselvisun/newsjackSkill1.7k6d agoMITA52Claude Code