pw-migrations

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

A migration tool for ProcessWire, a content-management system, that manages changes to a site's database structure through its command-line interface.

In plain words
What is it for?
Use it to create, run, roll back, and manage ProcessWire schema migrations.
Why use it?
It makes schema changes repeatable and gives you a way to run or undo them from the command line.

Skill for Claude CodeCodex

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

Good fit Use it to create, run, roll back, and manage ProcessWire schema migrations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-migrations"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-migrations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,448 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.00034 $0.01448
Opus 5.5 $0.00014 $0.00579
Sonnet 5.5 $0.00007 $0.00290
Haiku 4.5 $0.00003 $0.00145

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

Security

Grade A, and why

pw-migrations 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-migrations/SKILL.md · 123 lines

How it starts

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

ProcessWire Schema Migrations

Manage ProcessWire schema changes (fields, templates, fieldgroups, pages, roles, permissions, and module installations) through timestamped PHP migration files in site/migrations/ tracked in the wire_migrations database table.

When to Use

  • Creating, updating, or attaching fields and templates.
  • Creating system pages, roles, permissions, or installing modules reproducibly across environments.
  • Rolling back or inspecting applied schema changes via vendor/bin/wire migrate:*.

CLI Migration Commands

All migration commands support --json for structured output (migrate:rollback, migrate:reset, migrate:refresh, and migrate:fresh require --force when used with --json).

Command Purpose
php vendor/bin/wire make:migration <name> [--type=<stub>] Create a timestamped migration in site/migrations/
php vendor/bin/wire migrate [--step=N] [--dry-run] [--json] Run all pending migrations
php vendor/bin/wire migrate:status [--json] List applied and pending migrations with batch numbers
php vendor/bin/wire migrate:rollback [--step=N] [--dry-run] [--force] [--json] Roll back the last batch (or last N migrations)
php vendor/bin/wire migrate:reset [--dry-run] [--force] [--json] Roll back all applied migrations
php vendor/bin/wire migrate:refresh [--dry-run] [--force] [--json] Roll back all migrations and re-run them
php vendor/bin/wire migrate:fresh [--dry-run] [--force] [--json] Drop wire_migrations tracking table and re-run all migrations
php vendor/bin/wire migrate:install [--json] Explicitly ensure the wire_migrations table exists

Scaffolding Migrations (make:migration)

# Blank migration
php vendor/bin/wire make:migration add_custom_index

# Create a field
php vendor/bin/wire make:migration create_summary_field --type=create-field --field=summary --fieldtype=FieldtypeTextarea --label="Summary"

# Create a template (with matching fieldgroup and optional template file)
php vendor/bin/wire make:migration create_article_template --type=create-template --template=article --label="Article"

# Attach an existing field to a template
php vendor/bin/wire make:migration attach_summary_to_article --type=attach-field --template=article --field=summary

# Create a page
php vendor/bin/wire make:migration create_blog_root --type=create-page --template=basic-page --parent=/ --label="Blog"

# Create a role
php vendor/bin/wire make:migration create_editor_role --type=create-role --label="Editor"

# Install a module
php vendor/bin/wire make:migration install_logger_module --type=install-module --module=ProcessLogger

Read the full file on GitHub · 123 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 · +2 lines a567689c61ff
  2. 29d ago Changed · -63 lines · +11 tokens per session 714bfd9fbdaa
  3. 3mo ago First seen · 184 lines · 23 tokens per session scan A 0fd1fa9dc180

Subscribe to this mod's changes

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

pw-migrations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-migrationstrk/processwire-boostSkill513d agoMITA34Claude Code, Codex
basincloudflare/skillsSkill3.5k6d agoApache-2.0A66Claude Code
k2cloudflare/skillsSkill3.5k6d agoApache-2.0A38Claude Code
coverage-trackerelvisun/newsjackSkill1.7k6d agoMITA47Claude Code
journalist-fit-checkelvisun/newsjackSkill1.7k6d agoMITA88Claude Code
warehouse-initastronomer/agentsSkill465yesterdayApache-2.0A54Claude Code
analyzing-dataastronomer/agentsSkill465yesterdayApache-2.0A78Claude Code