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-docs-architectgit 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-docs-architect)<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-docs-architect"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-docs-architect/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-docs-architect"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-docs-architect.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.00040 | $0.01917 |
| Opus 5.5 | $0.00016 | $0.00767 |
| Sonnet 5.5 | $0.00008 | $0.00383 |
| Haiku 4.5 | $0.00004 | $0.00192 |
Grade A, and why
pw-docs-architect 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 — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ProcessWire Docs Architect
Author accurate, developer-grade documentation (README.md, API.md, [Type]Field.php PHPDoc companions, and AGENTS.md) for ProcessWire modules, packages, and projects.
When to Use
- Writing or updating a ProcessWire module's
README.mdorAPI.md. - Documenting a
Fieldtypemodule and its[Type]Field.phpIDE settings class. - Documenting
vendor/bin/wireCLI commands, URL hook endpoints, or MCP tools.
Phase 1: Source-of-Truth Discovery
Inspect the implementation before writing a single line of documentation:
- Run
pw_schema_readandpw_module_list(MCP) or inspectgetModuleInfo()andconfigure()in the target source files. - Check existing
API.mdconventions viawire/core/Tools/WireApiDocs/HOWTO-API.mdorphp index.php docs get-text <Class>. - Verify every public/hookable PHP method signature, parameter type, and default value directly from source or
ReflectionClass(orphp index.php docs method <Class> <method>), and every CLI command option fromconfigure().
Phase 2: Document Templates by Artifact Type
1. Module API.md Reference (Upstream ProcessWire Standard)
Place API.md in the module root directory alongside the .module.php file:
# FieldtypeMyCustom
Stores normalized decimal prices with currency code metadata.
## Value type
`MyCustomValue` (object) when formatted or unformatted.
## Getting and setting values
```php
// Reading
$price = $page->price;
echo $price->amount; // 125.50
echo $price->currency; // "EUR"
// Writing
$page->of(false);
$page->price->amount = 199.00;
$page->price->currency = 'EUR';
$page->save('price');
```
## Selectors
```php
// Query by amount (default column) or currency subfield
$items = $pages->find('template=product, price>=100, price.currency=EUR, limit=25');
```
## Output / markup
```php
echo $page->price; // Outputs formatted string e.g. "€199.00" when $page->of(true)
```
## Notes
- Database schema uses `DECIMAL(12,2)` for `data` and `CHAR(3)` for `currency`.
- Empty values return a blank `MyCustomValue` with `amount = 0.0`.
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 · +29 lines c6157915cb0c
- 14d ago Changed de7ac44e5683
- 1mo ago Changed · -211 lines · +9 tokens per session 9b364084eaff
- 1mo ago Changed · +22 lines d286df4e02ce
- 3mo ago First seen · 313 lines · 31 tokens per session scan A 6662deef41d5
pw-docs-architect is a skill published in the GitHub repository trk/processwire-boost (5 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,917 once invoked, about $0.0002 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-docs-architect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pw-docs-architecttrk/processwire-boost | Skill | 5 | today | MIT | A | 40 | Claude Code, Codex |
| sandbox-stablecloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 39 | Claude Code |
| durable-objectscloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 22 | Claude Code |
| sandbox-nextcloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 39 | Claude Code |
| cloudflarecloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 103 | Claude Code |
| cloudflare-email-servicecloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 21 | Claude Code |
| workers-best-practicescloudflare/skills | Skill | 3.6k | 6d ago | Apache-2.0 | A | 25 | Claude Code |