measured-performance

measured-performance is a skill for Claude Code, Codex from gabriele-mastrapasqua/codex-lean-team. It costs 33 tokens per session (178 once invoked), scanned A, original, MIT.

A method for improving code speed based on measurements, repeatable tests, and profiling. It covers native, managed, backend, and graphics-processing workloads.

In plain words
What is it for?
Use it to set performance targets, compare before-and-after results, find slow code, and check correctness, memory use, and response-time variation.
Why use it?
It prevents guesswork and avoids making code more complicated when an apparent speed improvement is only measurement noise.

Skill for Claude CodeCodex

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

Good fit Use it to set performance targets, compare before-and-after results, find slow code, and check correctness, memory use, and response-time variation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabriele-mastrapasqua/codex-lean-team/measured-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 gabriele-mastrapasqua/codex-lean-team --skill measured-performance
Clone the repo
git clone --depth 1 https://github.com/gabriele-mastrapasqua/codex-lean-team

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 measured-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabriele-mastrapasqua/codex-lean-team/measured-performance/github.svg)](https://agentmods.dev/skills/gabriele-mastrapasqua/codex-lean-team/measured-performance)
Your own site
<a href="https://agentmods.dev/skills/gabriele-mastrapasqua/codex-lean-team/measured-performance"><img src="https://agentmods.dev/badge/skills/gabriele-mastrapasqua/codex-lean-team/measured-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 measured-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabriele-mastrapasqua/codex-lean-team/measured-performance"><img src="https://agentmods.dev/badge/skills/gabriele-mastrapasqua/codex-lean-team/measured-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 178 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.00033 $0.00178
Opus 5 $0.00016 $0.00089
Sonnet 5 $0.00007 $0.00036
Haiku 4.5 $0.00003 $0.00018

Measured 9d ago against content hash 4e26363194ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

measured-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 9d 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.

skills/measured-performance/SKILL.md · 16 lines

What it actually says

Define the metric and baseline before changing code.

  1. Confirm workload, hardware/runtime, warmup, sample count, and correctness criteria.
  2. Profile or isolate the hot path.
  3. Choose the smallest plausible optimization.
  4. Measure before and after using the same method.
  5. Check correctness, variance, memory, and tail latency.
  6. Reject changes whose improvement is within noise or whose complexity is not justified.

For C/C++/Rust/CUDA/Metal, also check vectorization, locality, transfers, synchronization, alignment, aliasing, and numerical drift. For Go/Python/TypeScript, adapt to GC, event loops, allocation behavior, I/O, and runtime tooling.

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. 9d ago First seen · 16 lines · 33 tokens per session scan A 4e26363194ae

Subscribe to this mod's changes

measured-performance is a skill published in the GitHub repository gabriele-mastrapasqua/codex-lean-team (3 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 178 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

openlore-debug

Debug with OpenLore structural context, an explicit root-cause hypothesis, and RED/GREEN verification. Use when a bug, failure, or regression needs diagnosis and repair.

clay-good/OpenLore · 39 tokens

openlore-analyze-codebase

Run a full static OpenLore analysis and summarize architecture, call graph, refactoring issues, and duplicate code. Use when asked to analyze, map, or assess a codebase without LLM inference.

clay-good/OpenLore · 48 tokens

bug-detective

This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing", or reports errors/exceptions/bugs. Provides systematic debugging workflow and common error patterns.

Galaxy-Dawn/claude-scholar · 75 tokens

tfx-find

A codebase search tool for quickly locating files, functions, classes, variables, text, and project structure. A codebase is the collection of source files that make up a software project.

tellang/triflux · 87 tokens

do-it-code-quality

Use when designing, changing, or debugging code to locate causal ownership and close the affected behavior.

tdwhere123/do-it · 24 tokens

maintain-codex-wiki

Maintain a review-first Markdown knowledge base for Codex practices with source provenance, engineering capture, citation-aware queries, explicit archive and promotion, and deterministic linting. Use when asked to capture a durable engineering lesson, ingest Codex research, query or archive what the repository knows…

Phelan164/codex-howto · 76 tokens