pw-seeder

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

A database-seeding tool for ProcessWire, a PHP content management system. Database seeding means creating repeatable initial or test data from files, here through ProcessWire Console.

In plain words
What is it for?
Use it to create, dispatch, or interact with file-based ProcessWire seeders.
Why use it?
It makes it easier to create and run defined sets of database data during development or setup.

Skill for Claude CodeCodex

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

Good fit Use it to create, dispatch, or interact with file-based ProcessWire seeders.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-seeder"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-seeder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 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.00028 $0.01141
Opus 5.5 $0.00011 $0.00456
Sonnet 5.5 $0.00006 $0.00228
Haiku 4.5 $0.00003 $0.00114

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

Security

Grade A, and why

pw-seeder 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-seeder/SKILL.md · 136 lines

How it starts

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

ProcessWire Database Seeding

Populate development, staging, or initial application data using Totoglu\Console\Database\Seeder classes discovered from site/seeders/ and site/modules/*/seeders/.

When to Use

  • Populating initial pages, roles, users, or taxonomy terms after running migrations.
  • Generating realistic fixture data with FakerPHP ($this->faker).
  • Orchestrating multiple seeders in sequence via $this->call().

Directory & Naming Conventions

  • Locations:
    • Global seeders: site/seeders/*Seeder.php (default namespace Site\Seeders)
    • Module seeders: site/modules/<ModuleName>/seeders/*Seeder.php (default namespace ProcessWire)
  • Naming: Class and file names must end with Seeder (e.g., ArticlesSeeder in ArticlesSeeder.php).
  • Base Class: Extend Totoglu\Console\Database\Seeder and implement public function run(): void. The booted ProcessWire instance is available at $this->wire, and $this->faker holds a \Faker\Generator instance when fakerphp/faker is installed.

Scaffolding & Implementing Seeders

# Global seeder in site/seeders/ArticlesSeeder.php
php vendor/bin/wire make:seeder ArticlesSeeder

# Module seeder in site/modules/Blog/seeders/ArticlesSeeder.php
php vendor/bin/wire make:seeder ArticlesSeeder --module=Blog

Implementation and orchestration pattern:

<?php

declare(strict_types=1);

namespace Site\Seeders;

use ProcessWire\Page;
use Totoglu\Console\Database\Seeder;

final class ArticlesSeeder extends Seeder
{
	public function run(): void
	{
		$pages = $this->wire->pages;
		$sanitizer = $this->wire->sanitizer;
		$parent = $pages->get('/articles/');

		if (!$parent->id) {
			return;
		}

		for ($i = 1; $i <= 5; $i++) {
			$title = $this->faker !== null
				? $this->faker->sentence(4)
				: "Sample Article {$i}";
			$name = $sanitizer->pageName($title);

			if ($pages->has("parent={$parent->id}, name={$name}, include=all")) {
				continue;
			}

			$article = $pages->new([
				'template' => 'article',
				'parent' => $parent,
				'name' => $name,
				'title' => $title,
			]);

			if ($article instanceof Page && $article->id) {
				$article->setAndSave('summary', 'Seeded summary text.');
			}

			if ($i % 100 === 0) {
				$pages->uncacheAll();
				$parent = $pages->get('/articles/');
			}
		}
	}
}

Read the full file on GitHub · 136 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 · +6 lines f35f95c88a41
  2. 13d ago Changed 2c9dbee30f31
  3. 29d ago Changed · +61 lines · -1 tokens per session fa5a02da984e
  4. 3mo ago First seen · 69 lines · 29 tokens per session scan A 26ddd476c62e

Subscribe to this mod's changes

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

pw-seeder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-seedertrk/processwire-boostSkill513d agoMITA28Claude 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