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-migrationsgit 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-migrations)<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.
<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>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.00034 | $0.01448 |
| Opus 5.5 | $0.00014 | $0.00579 |
| Sonnet 5.5 | $0.00007 | $0.00290 |
| Haiku 4.5 | $0.00003 | $0.00145 |
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.
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
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.
- 12d ago Changed · +2 lines a567689c61ff
- 29d ago Changed · -63 lines · +11 tokens per session 714bfd9fbdaa
- 3mo ago First seen · 184 lines · 23 tokens per session scan A 0fd1fa9dc180
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.
pw-migrations compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pw-migrationstrk/processwire-boost | Skill | 5 | 13d ago | MIT | A | 34 | Claude Code, Codex |
| basincloudflare/skills | Skill | 3.5k | 6d ago | Apache-2.0 | A | 66 | Claude Code |
| k2cloudflare/skills | Skill | 3.5k | 6d ago | Apache-2.0 | A | 38 | Claude Code |
| coverage-trackerelvisun/newsjack | Skill | 1.7k | 6d ago | MIT | A | 47 | Claude Code |
| journalist-fit-checkelvisun/newsjack | Skill | 1.7k | 6d ago | MIT | A | 88 | Claude Code |
| warehouse-initastronomer/agents | Skill | 465 | yesterday | Apache-2.0 | A | 54 | Claude Code |
| analyzing-dataastronomer/agents | Skill | 465 | yesterday | Apache-2.0 | A | 78 | Claude Code |