Borrowing it
Nothing to install: this file belongs to Considus/pagespeed-insights-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Considus/pagespeed-insights-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/Considus/pagespeed-insights-mcpWrote 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/instructions/considus/pagespeed-insights-mcp/agents-md)<a href="https://agentmods.dev/instructions/considus/pagespeed-insights-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/considus/pagespeed-insights-mcp/agents-md/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/instructions/considus/pagespeed-insights-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/considus/pagespeed-insights-mcp/agents-md.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.00987 | $0.00987 |
| Opus 5.5 | $0.00395 | $0.00395 |
| Sonnet 5.5 | $0.00197 | $0.00197 |
| Haiku 4.5 | $0.00099 | $0.00099 |
Grade B, and why
pagespeed-insights-mcp AGENTS.md scanned grade B with 1 finding 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 13d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
for h in pre-commit commit-msg; do git show "origin/main:hooks/$h" > "$d/$h.tmp" && chmod 755 "$d/$h.tmp" && mv "$d/$h.tmp" "$d/$h" || { rm -f "$d/$h.tmp"; echo "not copied: $h"; }; done How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent notes
For a coding agent working in this repo: the part an agent needs and a person already knows. People start with CONTRIBUTING.md; read it before writing, because this file does not repeat it.
Build
- Keep the three ground rules in
CONTRIBUTING.md: standard library only, no number without its uncertainty, lab and field kept separate. They are constraints, not preferences: a change that breaks one is rejected however good the rest is. - Keep Python 3.9 working. CI runs 3.9 and 3.12 on Linux, macOS and Windows. A 3.10-only construct (
match, a runtime-evaluatedX | Yannotation,zip(strict=),itertools.pairwise,tomllib,dataclass(slots=)) passes on a newer interpreter and fails only in the 3.9 leg. - Change the version in
pagespeed_insights/__init__.pyand the tool list in the package, then run./build-mcpb.py --sync.manifest.jsonis generated from them, so edit it only through--sync. Tool titles and hints are inCONTRIBUTING.md, under "Building the bundle". - Extract shared logic only when two callers need it. One caller makes a layer for nothing.
Test
python3 -m compileall -q pagespeed_insights setup.py mcp_server.py tests
python3 -m unittest discover -s tests -v
./build-mcpb.py --check
A PR needs all three green. Read the test count, not the word "passed": a collection error reports zero failures. No test needs an API key or a network connection; to try the real API, follow "Testing against the real APIs" in CONTRIBUTING.md.
Capture the before while you are still reproducing the problem, which is when it is cheapest, and the after once the change works. Here that is usually a pair of command outputs.
Not checkable locally: the Windows and Linux CI legs, the 3.9 leg unless 3.9 is installed, how a client renders the tool list, and whether the MCP Registry accepts a listing (mcp-publisher validate is the only thing that answers that before a release is cut).
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.
- 13d ago Changed · +64 tokens per session d92628b7aedd
- 19d ago Changed · +9 lines · +210 tokens per session scan A → B b0b82f251df2
- 20d ago Changed · +6 tokens per session 53a55ccf8de3
- 23d ago Changed · -29 lines · -534 tokens per session 7b86e09fb966
- 1mo ago Changed · +2 lines · +46 tokens per session e80f56c1cdd5
- 1mo ago Changed · +10 tokens per session 1e12eb4d4a81
- 1mo ago Changed · +5 tokens per session 9ef28849dd45
- 1mo ago Changed · +37 tokens per session 0ef599f9f2c6
- 1mo ago Changed · +46 tokens per session d32cdb1249d2
- 1mo ago First seen · 67 lines · 1,097 tokens per session scan A 140a20522813
pagespeed-insights-mcp AGENTS.md is an instructions file published in the GitHub repository Considus/pagespeed-insights-mcp (1 stars, last pushed 7d ago), licensed Apache-2.0. It adds 987 tokens to every session, about $0.0039 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.
pagespeed-insights-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pagespeed-insights-mcp AGENTS.mdConsidus/pagespeed-insights-mcp | Instructions file | 1 | 7d ago | Apache-2.0 | B | 987 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |