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-module-developmentgit 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-module-development)<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-module-development"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-module-development/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-module-development"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-module-development.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.00066 | $0.02755 |
| Opus 5.5 | $0.00026 | $0.01102 |
| Sonnet 5.5 | $0.00013 | $0.00551 |
| Haiku 4.5 | $0.00007 | $0.00276 |
Grade A, and why
pw-module-development 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 today.
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 — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ProcessWire Module Development
Authoritative playbook for building, refactoring, and packaging ProcessWire 3 modules using PHP 8.3+ and strict typing. Scaffold modules via php vendor/bin/wire make:module <ModuleName> --type=module|process|fieldtype|inputfield.
Mandatory Step 1: Specialized Module & Core Reference Routing
Every module obeys the rules below. Read the matching sibling reference in references/ before writing code:
| Topic / Module Family | Scope & Naming | Mandatory Reference File |
|---|---|---|
| Core Runtime, Boot & Native APIs | Boot guarantees, cross-namespace scoping, $input, $session->CSRF, $files, WireHttp, WireUpload |
Read references/core-runtime-and-scoping.md |
| Fieldtype & Inputfield | Fieldtype<Base> + Inputfield<Base> + <Base>Field.php |
Read references/fieldtype-inputfield.md |
| Process (Admin Controller) | Process<Name> extends Process (___execute*, RBAC, admin page) |
Read references/process.md (and pw-admin-ui for UI) |
| Textformatter | Textformatter<Name> extends Textformatter (format(&$str): void) |
Read references/textformatter.md |
| FileValidator | FileValidator<Name> extends FileValidatorModule (isValidFile($filename)) |
Read references/filevalidator.md |
| Backend / Service / Markup | WireData implements Module (and optional ConfigurableModule) |
Covered directly below |
Boot Contract & 6-Context API Scoping
- Guaranteed Non-Null Booted Core APIs: ProcessWire preloads core classes via
wire/core/WireClassLoader/boot.phpand populateswire,classLoader,hooks,config,urls,notices,log,sanitizer,datetime,files,mail,database,cache,modules,fieldtypes,fields,fieldgroups,templates,pages,permissions,roles,users,session($session->CSRF),user, andinputbeforestatusInit. Access them directly ($this->wire()->session,$this->wire()->sanitizer) — never guard them withif ($session instanceof Session),if ($this->wire()->modules),$this->wire()?->..., ormethod_exists($csrf, ...). Reserve null checks strictly for optional/lifecycle vars ($languages,$adminTheme,$pagesVersions,$profiler,$pagebeforestatusReady, and custom module Fuel vars). - 6-Context Scoping & Cross-Namespace Matrix:
What ships with it
5 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.
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.
- today Changed · +10 lines · +9 tokens per session 7a7469126847
- 12d ago Changed · +4 lines · +14 tokens per session 413fcfed8ea8
- 14d ago Changed · -4 lines fe98e50e9562
- 1mo ago Changed · +13 tokens per session abde9cfae05c
- 1mo ago Changed · -105 lines 10066b340dd8
- 3mo ago First seen · 239 lines · 30 tokens per session scan A bcdf416f94b3
pw-module-development is a skill published in the GitHub repository trk/processwire-boost (5 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 2,755 once invoked, about $0.0003 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-module-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pw-module-developmenttrk/processwire-boost | Skill | 5 | today | MIT | A | 66 | Claude Code, Codex |
| drupaltools-optimizedrupaltools/skills | Skill | 18 | 1mo ago | none | A | 100 | Claude Code, Codex |
| drupaltools-oop-hooksdrupaltools/skills | Skill | 18 | 1mo ago | none | C | 160 | Claude Code, Codex |
| authoring-java-sdk-tasksastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 152 | Claude Code |
| mvc-expertroedyrustam/vibes-plug | Skill | 131 | 5d ago | MIT | A | 30 | Cursor |
| zcfgAdamBien/airails | Skill | 76 | today | MIT | A | 75 | Claude Code |
| loom-phpcosmix/loom | Skill | 66 | yesterday | MIT | A | 15 | Claude Code, Codex |