ln-44-performance-optimizer

ln-44-performance-optimizer is a skill for Claude Code from levnikolaevich/claude-code-skills. It costs 21 tokens per session (2,638 once invoked), scanned A, original, MIT.

A method for finding and improving a measured performance bottleneck, such as a slow part of a program or service.

In plain words
What is it for?
It helps profile a known slow area, compare isolated experiments, and keep only improvements supported by comparable measurements.
Why use it?
It avoids optimizing guesses and helps prevent a change from making correctness or other agreed measures worse.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the implementation-suite plugin — 5 skills shipped together

Good fit It helps profile a known slow area, compare isolated experiments, and keep only improvements supported by comparable measurements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer
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 levnikolaevich/claude-code-skills --skill ln-44-performance-optimizer
Clone the repo
git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills

Made for: Claude Code.

Or install implementation-suite, the plugin that ships this one along with the rest of its 5 skills.

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 ln-44-performance-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer/github.svg)](https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer)
Your own site
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer/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 ln-44-performance-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer"><img src="https://agentmods.dev/badge/skills/levnikolaevich/claude-code-skills/ln-44-performance-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,638 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.00021 $0.02638
Opus 5.5 $0.00008 $0.01055
Sonnet 5.5 $0.00004 $0.00528
Haiku 4.5 $0.00002 $0.00264

Measured 7d ago against content hash 9c336ef3a209, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ln-44-performance-optimizer 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 7d 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.

plugins/implementation-suite/skills/ln-44-performance-optimizer/SKILL.md · 112 lines

How it starts

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

Performance Optimizer

Goal: Optimize only measured problems. Preserve correctness, isolate experiments, and retain a change only when comparable evidence shows that it improves the agreed metric without unacceptable regressions.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

Need Preferred tool Use it when Fallback
Repository state and safe edit boundary Git status, diff, branch or worktree inspection, and repository instructions Always before profiling or editing Stop if user changes cannot be isolated safely
Baseline and final metric Existing benchmark, load test, reproducible command, or production-like replay The metric and workload reflect the reported problem Create the smallest local benchmark that reproduces the behavior without inventing production scale
Bottleneck evidence Existing profiler, tracing, query diagnostics, allocation tools, or OS-level metrics Locating CPU, memory, I/O, lock, query, network, or scheduler cost Targeted instrumentation with cleanup plan
Code path and blast radius Language server or host-native code intelligence Following hot symbols, callers, implementations, and affected contracts Narrow search plus direct inspection of definitions and consumers
Correctness and regressions Repository-defined tests, build, lint, type, and smoke commands Before and after every retained experiment Choose the smallest portfolio action when current evidence cannot detect the likely material regression
Runtime and dependency semantics Official documentation, release notes, and specifications matching installed versions A hypothesis depends on optimizer, runtime, database, framework, or library behavior Primary-source web research; otherwise mark the hypothesis UNVERIFIED

Read the full file on GitHub · 112 lines

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. 7d ago Changed 9c336ef3a209
  2. 23d ago Changed d9311f3bcdda
  3. 27d ago First seen · 112 lines · 21 tokens per session scan A f434ce9a74cf

Subscribe to this mod's changes

ln-44-performance-optimizer is a skill published in the GitHub repository levnikolaevich/claude-code-skills (573 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 2,638 once invoked, about $0.0001 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-13.

Related

Other skills, from other repositories

semgrep-rule-creator

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

waybarrios/opencode-power-pack · 37 tokens

variant-analysis

Find similar vulnerabilities and bugs across codebases using pattern-based analysis. Use when hunting bug variants, building CodeQL/Semgrep queries, analyzing security vulnerabilities, or performing systematic code audits after finding an initial issue.

waybarrios/opencode-power-pack · 45 tokens

review-loop

Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…

sangrokjung/claude-forge · 100 tokens

fp-check

Systematically verifies suspected security bugs to eliminate false positives. Produces TRUE POSITIVE or FALSE POSITIVE verdicts with documented evidence for each bug.

waybarrios/opencode-power-pack · 32 tokens

vuln-report

Turn one confirmed security finding into a disclosure-ready GitHub advisory with root cause, proof of concept, impact, and source evidence. Use for reporting an established vulnerability, not discovering or validating one.

waybarrios/opencode-power-pack · 44 tokens

dx-audit

Audits libraries, CLIs, and SDKs using 38 rules for public contracts, package exports, piped output, errors, and configuration. Use when asked to "audit my CLI", "review my SDK", or diagnose package type resolution.

mblode/agent-skills · 54 tokens