Borrowing it
Nothing to install: this file belongs to dev-lou/PixelPilot. 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/dev-lou/PixelPilot/main/vscode/.github/instructions/performance-auditor.instructions.mdgit clone --depth 1 https://github.com/dev-lou/PixelPilotWrote 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/dev-lou/pixelpilot/performance-auditor)<a href="https://agentmods.dev/instructions/dev-lou/pixelpilot/performance-auditor"><img src="https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/performance-auditor/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/dev-lou/pixelpilot/performance-auditor"><img src="https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/performance-auditor.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.03104 | $0.03104 |
| Opus 5.5 | $0.01242 | $0.01242 |
| Sonnet 5.5 | $0.00621 | $0.00621 |
| Haiku 4.5 | $0.00310 | $0.00310 |
Grade A, and why
PixelPilot performance-auditor.instructions.md 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 2mo 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 — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Auditor 2026
Run → capture → score → fix. Automates Lighthouse audits via MCP (headless Chrome), reports CWV, and maps every failing audit to a concrete, token-aware fix.
CORE WEB VITALS TARGETS (2026)
| Metric | Good | Needs Improvement | Poor |
|---|---|---|---|
| LCP Largest Contentful Paint | ≤ 2.5 s | 2.5–4.0 s | > 4.0 s |
| INP Interaction to Next Paint | ≤ 200 ms | 200–500 ms | > 500 ms |
| CLS Cumulative Layout Shift | ≤ 0.1 | 0.1–0.25 | > 0.25 |
| FCP First Contentful Paint | ≤ 1.8 s | 1.8–3.0 s | > 3.0 s |
| TTFB Time to First Byte | ≤ 800 ms | 800–1800 ms | > 1800 ms |
| TBT Total Blocking Time | ≤ 200 ms | 200–600 ms | > 600 ms |
Score targets:
- Performance: ≥ 90
- Accessibility: ≥ 95
- Best Practices: ≥ 95
- SEO: ≥ 90
STEP 1 — CHOOSE AUDIT METHOD
Method A — Chrome DevTools MCP (preferred for local dev)
// Navigate to target
await browser_navigate({ url: TARGET_URL });
// Wait for page to fully load
await browser_evaluate({ script: `
await new Promise(resolve => {
if (document.readyState === 'complete') return resolve();
window.addEventListener('load', resolve);
});
await new Promise(r => setTimeout(r, 1000));
` });
// Collect Web Vitals via PerformanceObserver
const vitals = await browser_evaluate({ script: `
const nav = performance.getEntriesByType('navigation')[0];
const paint = performance.getEntriesByType('paint');
const lcp = await new Promise(res => {
new PerformanceObserver(list => {
const entries = list.getEntries();
res(entries[entries.length - 1].startTime);
}).observe({ type: 'largest-contentful-paint', buffered: true });
setTimeout(() => res(null), 3000);
});
return {
TTFB: nav?.responseStart - nav?.requestStart,
FCP: paint.find(e => e.name === 'first-contentful-paint')?.startTime,
LCP: lcp,
TBT: nav?.domComplete - nav?.domInteractive,
domSize: document.querySelectorAll('*').length,
scripts: performance.getEntriesByType('resource')
.filter(r => r.initiatorType === 'script')
.map(r => ({ url: r.name.split('/').pop(), size: r.transferSize, duration: r.duration }))
.sort((a,b) => b.size - a.size)
.slice(0, 10),
images: performance.getEntriesByType('resource')
.filter(r => r.initiatorType === 'img')
.map(r => ({ url: r.name.split('/').pop(), size: r.transferSize }))
.sort((a,b) => b.size - a.size)
.slice(0, 10),
thirdParty: performance.getEntriesByType('resource')
.filter(r => !r.name.includes(location.hostname))
.reduce((acc, r) => acc + r.transferSize, 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.
- 2mo ago First seen · 364 lines · 3,104 tokens per session scan A b4fb6892ef80
PixelPilot performance-auditor.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 7mo ago), licensed MIT. It adds 3,104 tokens to every session, about $0.0124 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.
PixelPilot performance-auditor.instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| PixelPilot performance-auditor.instructions.mddev-lou/PixelPilot | Instructions file | 2 | 7mo ago | MIT | A | 3,104 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |