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 agentmods add skills/imyourboyroy/portable_web_toolkit/pagespeed-diagnosticsnpx skills add ImYourBoyRoy/Portable_Web_toolkit --skill pagespeed-diagnosticsgit clone --depth 1 https://github.com/ImYourBoyRoy/Portable_Web_toolkitWrote 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/imyourboyroy/portable_web_toolkit/pagespeed-diagnostics)<a href="https://agentmods.dev/skills/imyourboyroy/portable_web_toolkit/pagespeed-diagnostics"><img src="https://agentmods.dev/badge/skills/imyourboyroy/portable_web_toolkit/pagespeed-diagnostics.svg" alt="Measured on agentmods" 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 | $0.00051 | $0.00302 |
| Opus 5 | $0.00026 | $0.00151 |
| Sonnet 5 | $0.00010 | $0.00060 |
| Haiku 4.5 | $0.00005 | $0.00030 |
Grade A, and why
pagespeed-diagnostics 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 4d 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.
What it actually says
PageSpeed Diagnostics
Thin skill for Google PageSpeed Insights via the toolkit CLI.
Prerequisites
- Client
.envhasGOOGLE_PAGESPEED_API_KEY(section A). *.site-profile.jsonand linkedWeb_Toolkit/.
Commands
node ./Web_Toolkit/pagespeed_diagnostics/bin/pagespeed-diagnostics.mjs run \
--site-profile ./<site>.site-profile.json --strategy both
# Agent-friendly batch / regression
node ./Web_Toolkit/pagespeed_diagnostics/bin/pagespeed-diagnostics.mjs agent-batch \
--site-profile ./<site>.site-profile.json --routes core --strategy mobile
node ./Web_Toolkit/pagespeed_diagnostics/bin/pagespeed-diagnostics.mjs agent-diff \
--site-profile ./<site>.site-profile.json
Rules
- Prefer measuring after remote cache warm (cold edge skews scores).
- Summarize CWV + top opportunities; propose a minimal fix plan before editing.
- 100/100/100/100 is a target — do not break brand, forms, or a11y chasing scores.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 34 lines · 51 tokens per session scan A 823db7926df0
pagespeed-diagnostics is a skill published in the GitHub repository ImYourBoyRoy/Portable_Web_toolkit (2 stars, last pushed 23d ago), licensed MIT. It adds 51 tokens to every session and 302 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
accounting-workflow
End-to-end Malaysian accounting engagement workflow. Takes a client folder and produces accrual-basis financial statements (Excel working papers + PDF) compliant with MPERS / MFRS / ITA 1967. Covers Sole Proprietor, Partnership, Sdn Bhd, Berhad, and NGO. USE THIS SKILL when the user wants to: Start or continue an…
agent-harness-fault-injection
Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.
aria
Designs the data model, API contracts, and structural foundation of the system.
diagnose
Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
peon-ping-log
Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".