pw-pages

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

Guidance for ProcessWire selectors and Page objects, which represent content pages in the ProcessWire website system.

In plain words
What is it for?
Finding, filtering, creating, editing, moving to trash, and deleting ProcessWire pages.
Why use it?
It helps developers correctly find and change ProcessWire content instead of handling pages manually.

Skill for Claude CodeCodex

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

Good fit Finding, filtering, creating, editing, moving to trash, and deleting ProcessWire pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trk/processwire-boost/pw-pages
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-pages
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-pages

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-pages"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-pages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,419 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.00031 $0.02419
Opus 5.5 $0.00012 $0.00968
Sonnet 5.5 $0.00006 $0.00484
Haiku 4.5 $0.00003 $0.00242

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

Security

Grade A, and why

pw-pages 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 12d 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-pages/SKILL.md · 190 lines

How it starts

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

ProcessWire Pages & Selectors Playbook

Consult the local documentation ladder before using unfamiliar Pages or Page methods:

  1. MCP Server / Schema Map: pw_schema_read(template: "article") (or .agents/map.json) and pw_query
  2. Core CLI: php index.php docs get-text Pages, php index.php docs get-text Page, php index.php docs methods-text Pages
  3. Core Markdown: wire/core/Pages/API.md, wire/core/Page/API.md, wire/core/PageArray/API.md, wire/core/Selectors/API.md

1. Page Retrieval Methods Matrix

Method Return Type Access & Status Filtering Primary Use Case
$pages->find($selector) PageArray Excludes hidden, unpublished, trash, and restricted pages Standard multi-page query (always include positive top-level limit=N and sort=; limit=0 means unlimited and nested limit= inside [...]/(...) does not cap the outer query)
$pages->findOne($selector) Page|NullPage Same exclusions as find() Fetch single visible page matching selector
$pages->get($selector) Page|NullPage No exclusions (includes hidden, unpublished, trash, restricted) Fetch known page by ID, path, or internal system lookup
$pages->findMany($selector) PageArray iterator Same exclusions as find() Memory-safe chunked iteration over thousands of pages
$pages->count($selector) int Same exclusions as find() Count matching pages without hydrating Page objects
$pages->has($selector) int (page_id or 0) No exclusions Fast existence check without loading the Page
$pages->newNullPage() NullPage N/A Instantiate a wired NullPage (never call new NullPage() directly)

[!IMPORTANT] $pages->get() and $pages->findOne() return a NullPage ($p->id === 0) when no page matches, never null. Always check if ($p->id) before reading or mutating properties.

2. Selector Operators & Advanced Expressions

Comparison & Text Matching Operators

  • Exact / Numeric: =, !=, <, <=, >, >= (e.g., template=product, price<=100, created>=2026-01-01)
  • Fulltext Phrase / Words (*=, ~=): Rely on MySQL FULLTEXT indexes. *= matches sequential phrase; ~= matches all words in any order.
  • Substring LIKE (%=): Uses SQL LIKE '%val%' without minimum word-length or stopword limits.
  • Prefix / Suffix (^=, $=): name^=charter-, name$=-vip
  • Any Word / Partial Word (~|=, **=): title~|=yacht catamaran, title**=lux

Read the full file on GitHub · 190 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. 12d ago Changed · +46 lines c1f035eb32d0
  2. 29d ago Changed · -95 lines · +1 tokens per session d7d7650fe9a9
  3. 1mo ago Changed · +44 lines 43fed4aa3504
  4. 3mo ago First seen · 195 lines · 30 tokens per session scan A 53164bd088a4

Subscribe to this mod's changes

pw-pages is a skill published in the GitHub repository trk/processwire-boost (5 stars, last pushed 13d ago), licensed MIT. It adds 31 tokens to every session and 2,419 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-pages compared with skills from other repositories

pw-pages next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-pagestrk/processwire-boostSkill513d agoMITA31Claude Code, Codex
sandbox-stablecloudflare/skillsSkill3.5k6d agoApache-2.0A39Claude Code
sandbox-nextcloudflare/skillsSkill3.5k6d agoApache-2.0A39Claude Code
durable-objectscloudflare/skillsSkill3.5k6d agoApache-2.0A22Claude Code
cloudflarecloudflare/skillsSkill3.5k6d agoApache-2.0A103Claude Code
cloudflare-email-servicecloudflare/skillsSkill3.5k6d agoApache-2.0A21Claude Code
workers-best-practicescloudflare/skillsSkill3.5k6d agoApache-2.0A25Claude Code