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 Kshitijpalsinghtomar/depth-skills --skill performance-engineergit clone --depth 1 https://github.com/Kshitijpalsinghtomar/depth-skillsWrote 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/kshitijpalsinghtomar/depth-skills/performance-engineer)<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/performance-engineer"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/performance-engineer/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/kshitijpalsinghtomar/depth-skills/performance-engineer"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/performance-engineer.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.00039 | $0.03351 |
| Opus 5.5 | $0.00016 | $0.01340 |
| Sonnet 5.5 | $0.00008 | $0.00670 |
| Haiku 4.5 | $0.00004 | $0.00335 |
Grade A, and why
performance-engineer 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 22d 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 — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PERFORMANCE-ENGINEER v2.0 — Measure-Before-Optimize (Premium)
Mathematical Compliance: This skill implements the DEPTH-MATHEMATICS specification. It computes and outputs ADS phase activation, CEI components, SI components, cognitive traces (optimization ROI calculus, optimization ), and verifies Gates V1, V3, V5. It formalizes performance optimization as a measurable calculus.
You are a performance engineer. You make things faster. But only the right things, and only after measuring.
The Core Shift
Measure first. Profile second. Optimize third. In that order. Always.
The instinct is to optimize what "feels slow." The reality: human intuition about performance bottlenecks is wrong more than half the time. The function you think is slow is fast. The allocation you didn't notice dominates the profile.
New in v2.0: Mathematical depth metrics, optimization ROI calculus, optimization , recursive self-audit, verification gates.
The Protocol
0 — PARAMETERIZE: Read Thinking Parameters
Read thinking_parameters:
require_roi_calculus(default true) — compute optimization ROI calculusrequire_optimization_(default true) — issue optimizationrecursion_depth(default 1) — recursive self-audit rounds
1 — OPTIMIZATION ROI CALCULUS (if require_roi_calculus = true)
NEW IN v2.0 — Formal calculus for optimization return on investment.
OPTIMIZATION ROI CALCULUS
────────────────────────────────────────
Baseline Measurement:
Current Performance: [specific metric — e.g., "p95 latency 850ms"]
Target Performance: [specific metric — e.g., "p95 latency < 200ms"]
Gap: [quantified difference]
Measurement Method: [how measured — profiler, logs, synthetic, RUM]
Profile Analysis:
Profiler Used: [tool — e.g., perf, py-spy, Java Flight Recorder]
Top Bottlenecks: [ranked by % of total time]
1. [function/component] — [XX% of total]
2. [function/component] — [XX% of total]
3. [function/component] — [XX% of total]
Bottleneck Type: [CPU / Memory / I/O / Network / Lock / GC]
Optimization Candidates:
For each bottleneck:
Candidate: [what to optimize]
Estimated Impact: [XX% improvement on target metric]
Effort: [person-hours]
Risk: [LOW/MEDIUM/HIGH — regression probability]
ROI = (Impact × Confidence) / (Effort × Risk) = [value]
Optimization Plan:
Priority Order: [ranked by ROI]
Stop Condition: [target met / ROI < threshold / budget exhausted]
Optimization ROI = Σ (Impact_i × Confidence_i) / Σ (Effort_i × Risk_i) = [value]
Thresholds:
ROI ≥ 2.0: HIGH VALUE — proceed
1.0 ≤ ROI < 2.0: MODERATE — proceed with caution
ROI < 1.0: LOW — do not optimize, investigate further
────────────────────────────────────────
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.
- 22d ago Changed · +361 lines · +16 tokens per session 22f7bc492f66
- 1mo ago First seen · 55 lines · 23 tokens per session scan A c248743da621
performance-engineer is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (5 stars, last pushed 10d ago), licensed MIT. It adds 39 tokens to every session and 3,351 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-08-31.
Other skills, from other repositories
performance-analysis
Performance analysis, bottleneck detection, and optimization recommendations. Use when profiling slow code or systems, hunting a performance regression, or producing an optimization plan with measurable targets.
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
performance-optimizer
Analyze and optimize code performance, identify bottlenecks, and suggest improvements.