pw-writing-skills

pw-writing-skills is a skill for Claude Code, Codex from trk/processwire-boost. It costs 36 tokens per session (1,384 once invoked), scanned A, original, MIT.

A writing guide for creating or improving Boost skills for ProcessWire coding agents. ProcessWire is a content-management system for building websites.

In plain words
What is it for?
Use it when writing or updating ProcessWire agent skills and checking their CSO formatting and tests.
Why use it?
It helps keep these skills consistent with the required formatting and testing rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it when writing or updating ProcessWire agent skills and checking their CSO formatting and tests.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-writing-skills"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-writing-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,384 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.00036 $0.01384
Opus 5.5 $0.00014 $0.00554
Sonnet 5.5 $0.00007 $0.00277
Haiku 4.5 $0.00004 $0.00138

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

Security

Grade A, and why

pw-writing-skills 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-writing-skills/SKILL.md · 89 lines

How it starts

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

ProcessWire Writing Skills & Agent Documents

Author, refine, and verify SKILL.md playbooks and guideline documents for the ProcessWire Boost ecosystem.

1. Core Principles (writing-for-agents + Skill TDD)

Context Pointers & The Two Loads

  • Context load is the permanent cost of always-loaded text (AGENTS.md guidelines and skill description frontmatter) on every turn.
  • A skill's description is a context pointer: its wording alone decides when the agent loads the skill.
    • Start with "Use when..." in third-person.
    • List distinct trigger branches (symptoms, ProcessWire classes, CLI commands, or tasks that require the skill).
    • Never summarize the workflow or process in description. When a description summarizes the steps, agents follow the one-line summary as a shortcut and skip reading SKILL.md.

Information Hierarchy, Co-location & Pruning

  • In-file steps (ordered actions ending on a checkable completion criterion) sit at the top of the hierarchy.
  • In-file reference (tables, API signatures, anti-patterns) is co-located under clear headings so reading a rule brings its caveats with it.
  • Progressive disclosure: Keep SKILL.md under 500 lines. Push heavy 100+ line API tables or templates into sibling reference files inside the skill directory and point to them explicitly.
  • Single source of truth & pruning: Never duplicate rules already enforced by php.md or processwire-core.md unless a domain-specific gotcha requires it. Delete no-op sentences that do not change default model behavior.

Match the Guidance Form to the Failure Mode

Baseline Agent Failure Effective Form Counter-Productive Form
Violates a discipline rule under pressure (skips logs, skips migrations, guesses schema) Hard gate + prohibition + rationalization counter-table Soft advice ("prefer...", "consider...")
Produces wrong-shaped output (wrong class structure, wrong indentation, wrong API scope) Positive recipe / complete canonical code block List of "don't..." negations
Omits a required piece (missing [Type]Field.php, missing down() in migration) Explicit numbered phase or checklist slot Prose reminder buried in a paragraph

Read the full file on GitHub · 89 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 · +10 lines 8a04f0aa8ce6
  2. 13d ago Changed · -1 lines 253ca89c9f17
  3. 29d ago Changed · -47 lines · +10 tokens per session 9e483792dc64
  4. 3mo ago First seen · 127 lines · 26 tokens per session scan A 5d0ac9c1458e

Subscribe to this mod's changes

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

pw-writing-skills next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-writing-skillstrk/processwire-boostSkill513d agoMITA36Claude 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