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 Pixel-Process-UG/superkit-agents --skill performance-optimizationgit clone --depth 1 https://github.com/Pixel-Process-UG/superkit-agentsWrote 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/pixel-process-ug/superkit-agents/performance-optimization)<a href="https://agentmods.dev/skills/pixel-process-ug/superkit-agents/performance-optimization"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/performance-optimization/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/pixel-process-ug/superkit-agents/performance-optimization"><img src="https://agentmods.dev/badge/skills/pixel-process-ug/superkit-agents/performance-optimization.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.00062 | $0.02602 |
| Opus 5.5 | $0.00025 | $0.01041 |
| Sonnet 5.5 | $0.00012 | $0.00520 |
| Haiku 4.5 | $0.00006 | $0.00260 |
Grade A, and why
performance-optimization 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 — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Optimization
Overview
Systematically identify and resolve performance bottlenecks using measurement-driven methodology. This skill enforces a strict MEASURE-IDENTIFY-OPTIMIZE-VERIFY cycle, preventing premature optimization and speculation. Every optimization must produce measurable improvement or be reverted.
Announce at start: "I'm using the performance-optimization skill to diagnose and resolve bottlenecks."
Phase 1: MEASURE (Establish Baseline)
Goal: Capture real metrics before changing anything.
Actions
# Web: Lighthouse CI
npx lighthouse https://your-app.com --output=json --output-path=baseline.json
# API: load test with k6
k6 run --out json=baseline.json loadtest.js
# Database: slow query log
# PostgreSQL: SET log_min_duration_statement = 100; -- log queries > 100ms
Record these numbers. They are the baseline against which improvement is measured.
STOP — Do NOT proceed to Phase 2 until:
- Baseline metrics are captured and saved
- Specific metric targets are defined (e.g., LCP < 2.5s)
- Measurement methodology is documented (so it can be repeated)
Phase 2: IDENTIFY (Find the Actual Bottleneck)
Goal: Use profiling tools to find WHERE time is spent. Do NOT guess.
Profiling Tool Selection Table
| Layer | Tool | What It Shows |
|---|---|---|
| Frontend rendering | React DevTools Profiler, Chrome Performance tab | Component render times |
| Network | Chrome Network tab, WebPageTest | Request waterfall, TTFB |
| JavaScript | Chrome Performance tab, console.time() |
Function execution time |
| Node.js server | --prof flag, clinic.js, 0x |
CPU flame graphs |
| Database | EXPLAIN ANALYZE, pg_stat_statements |
Query plans, slow queries |
| Memory | Chrome Memory tab, heapdump | Allocation patterns, leaks |
| Bundle size | webpack-bundle-analyzer, vite-bundle-visualizer | Module sizes |
The bottleneck is almost never where you assume it is. Measure first.
What ships with it
1 file 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.
- 2mo ago First seen · 288 lines · 62 tokens per session scan A 6c930883d2a8
performance-optimization is a skill published in the GitHub repository Pixel-Process-UG/superkit-agents (4 stars, last pushed 8mo ago), licensed MIT. It adds 62 tokens to every session and 2,602 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-09-03.
performance-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| performance-optimizationPixel-Process-UG/superkit-agents | Skill | 4 | 8mo ago | MIT | A | 62 | Claude Code, Codex |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 96 | Claude Code |
| performance-optimizationaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 59 | Claude Code |
| debugging-and-error-recoveryaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 129 | Claude Code |
| systematic-debuggingjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 24 | Claude Code |
| diagnosing-superpowersjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 111 | Claude Code |
| browser-tracemxyhi/ok-skills | Skill | 518 | 11d ago | Apache-2.0 | A | 88 | Claude Code |