performance

performance is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 90 tokens per session (3,517 once invoked), scanned A, original, Apache-2.0.

A guide to measuring and improving the speed of backend services, websites, and React Native mobile apps.

In plain words
What is it for?
Use it to investigate Lighthouse or Web Vitals problems, profile Go and Python services, improve mobile startup and animation speed, or set performance limits.
Why use it?
It helps identify why pages load slowly, mobile apps stutter or use too much memory, or backend requests become slow under load.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate Lighthouse or Web Vitals problems, profile Go and Python services, improve mobile startup and animation speed, or set performance limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouroshez/coding-os/performance
Install

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.

Any agent
npx skills add kouroshez/coding-os --skill performance
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/kouroshez/coding-os/performance/github.svg)](https://agentmods.dev/skills/kouroshez/coding-os/performance)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/performance"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/performance/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.

agentmods 80×15 button for performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/kouroshez/coding-os/performance"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.03517
Opus 5.5 $0.00036 $0.01407
Sonnet 5.5 $0.00018 $0.00703
Haiku 4.5 $0.00009 $0.00352

Measured 3mo ago against content hash 390bf52bbcf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

performance 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 3mo 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.

src/core/skills/performance/SKILL.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Performance — Web + Backend + Mobile

A practical playbook for measuring, profiling, and improving performance across the project's stack. Covers Web Vitals (Google's user-experience metrics), mobile perf budgets (FPS / TTI / memory), backend latency (P95 / P99 / saturation), with concrete tools per surface.

When to Use This Skill

  • Adding a perf budget to a new feature.
  • Investigating a Lighthouse / Web Vitals regression.
  • Mobile users report jank, slow app launch, battery drain.
  • Backend P95 latency exceeds SLO.
  • Bundle size jumped 30% after a release.
  • Lists scroll poorly; animations stutter.
  • Choosing between perf tools (when each pays off).

The Three Performance Surfaces

Surface Primary metrics Tools
Backend P50 / P95 / P99 latency, throughput, error rate, saturation (CPU / mem / IO) OpenTelemetry, Datadog APM, pprof (Go), py-spy (Python), pgbadger (Postgres)
Web frontend LCP, INP, CLS (Core Web Vitals), TTI, TBT, bundle size Lighthouse, Chrome DevTools Performance, WebPageTest, web-vitals JS lib
Mobile FPS (60/120), TTI, memory, bundle size, native render time Flipper, React DevTools Profiler, Hermes Sampling Profiler, Xcode Instruments, Android Profiler, FlashList Recorder

Each has its own measurement approach; conflate them at your peril.

Measurement First, Optimization Second

The cardinal rule: don't optimize without numbers. The biggest performance regressions in the wild come from devs "fixing" something that wasn't slow.

Workflow:

  1. Establish a budget (e.g., LCP < 2.5s P75, list scroll 60 FPS, P95 < 200ms).
  2. Measure on real conditions (real device, real network, real data volume).
  3. Identify the bottleneck via profiling.
  4. Fix the bottleneck.
  5. Re-measure to confirm improvement.
  6. Pin a regression test if possible (CI bundle-size gate, k6 load test).

Web Vitals (2026 — current Google ranking signals)

Metric What it measures Good Needs improvement Poor
LCP (Largest Contentful Paint) Time until largest element renders ≤ 2.5s 2.5–4.0s > 4.0s
INP (Interaction to Next Paint) Worst interaction latency in session — replaced FID March 2024 ≤ 200ms 200–500ms > 500ms
CLS (Cumulative Layout Shift) Visual stability over the page lifetime ≤ 0.1 0.1–0.25 > 0.25
TTFB (Time to First Byte) Server response start ≤ 0.8s 0.8–1.8s > 1.8s

Read the full file on GitHub · 306 lines

Files

What ships with it

3 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.

Changes

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.

  1. 3mo ago First seen · 306 lines · 90 tokens per session scan A 390bf52bbcf1

Subscribe to this mod's changes

performance is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 90 tokens to every session and 3,517 once invoked, about $0.0004 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.

Related

performance compared with skills from other repositories

performance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
performancekouroshez/coding-osSkill7yesterdayApache-2.0A90Claude Code, Codex
potpie-clipotpie-ai/potpieSkill5.8k5d agoApache-2.0A60Codex
potpie-debug-memorypotpie-ai/potpieSkill5.8k5d agoApache-2.0A41Claude Code, Codex
ops-metrics-analysiszj-unicom-ai/UniEmployeeSkill88710d agoMITA55Claude Code, Codex
windows-compatsdsrss/code-graph-mcpSkill1026d agoMITA165Claude Code, Codex
usageFreePeak/LeanKGSkill222yesterdayApache-2.0A27Claude Code
indexsdsrss/code-graph-mcpSkill1026d agoMITA44Claude Code