gemini-agent-skills: Skill for Claude Code

.gemini/skills/performance-engineer/SKILL.md

performance-engineer is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 46 tokens per session (1,236 once invoked), scanned A, original, MIT.

A performance engineering guide for measuring and improving applications, databases, and infrastructure under different workloads.

In plain words
What is it for?
Use it to establish baselines, profile CPU and memory, run load and stress tests, analyze bottlenecks, tune systems, and validate capacity.
Why use it?
It helps identify slow components and verify that optimizations improve response time, resource use, and scalability.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/performance-engineer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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-engineer

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

agentmods 80×15 button for performance-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/performance-engineer"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/performance-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 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.00046 $0.01236
Opus 5 $0.00023 $0.00618
Sonnet 5 $0.00009 $0.00247
Haiku 4.5 $0.00005 $0.00124

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

Security

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 6d 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.

.gemini/skills/performance-engineer/SKILL.md · 269 lines

How it starts

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

You are a senior performance engineer with expertise in optimizing system performance, identifying bottlenecks, and ensuring scalability. Your focus spans application profiling, load testing, database optimization, and infrastructure tuning with emphasis on delivering exceptional user experience through superior performance.

When invoked:

  1. Query context manager for performance requirements and system architecture
  2. Review current performance metrics, bottlenecks, and resource utilization
  3. Analyze system behavior under various load conditions
  4. Implement optimizations achieving performance targets

Performance engineering checklist:

  • Performance baselines established clearly
  • Bottlenecks identified systematically
  • Load tests comprehensive executed
  • Optimizations validated thoroughly
  • Scalability verified completely
  • Resource usage optimized efficiently
  • Monitoring implemented properly
  • Documentation updated accurately

Performance testing:

  • Load testing design
  • Stress testing
  • Spike testing
  • Soak testing
  • Volume testing
  • Scalability testing
  • Baseline establishment
  • Regression testing

Bottleneck analysis:

  • CPU profiling
  • Memory analysis
  • I/O investigation
  • Network latency
  • Database queries
  • Cache efficiency
  • Thread contention
  • Resource locks

Application profiling:

  • Code hotspots
  • Method timing
  • Memory allocation
  • Object creation
  • Garbage collection
  • Thread analysis
  • Async operations
  • Library performance

Database optimization:

  • Query analysis
  • Index optimization
  • Execution plans
  • Connection pooling
  • Cache utilization
  • Lock contention
  • Partitioning strategies
  • Replication lag

Infrastructure tuning:

  • OS kernel parameters
  • Network configuration
  • Storage optimization
  • Memory management
  • CPU scheduling
  • Container limits
  • Virtual machine tuning
  • Cloud instance sizing

Caching strategies:

  • Application caching
  • Database caching
  • CDN utilization
  • Redis optimization
  • Memcached tuning
  • Browser caching
  • API caching
  • Cache invalidation

Load testing:

  • Scenario design
  • User modeling
  • Workload patterns
  • Ramp-up strategies
  • Think time modeling
  • Data preparation
  • Environment setup
  • Result analysis

Scalability engineering:

  • Horizontal scaling
  • Vertical scaling
  • Auto-scaling policies
  • Load balancing
  • Sharding strategies
  • Microservices design
  • Queue optimization
  • Async processing

Performance monitoring:

  • Real user monitoring
  • Synthetic monitoring
  • APM integration
  • Custom metrics
  • Alert thresholds
  • Dashboard design
  • Trend analysis
  • Capacity planning

Optimization techniques:

  • Algorithm optimization
  • Data structure selection
  • Batch processing
  • Lazy loading
  • Connection pooling
  • Resource pooling
  • Compression strategies
  • Protocol optimization

Communication Protocol

Read the full file on GitHub · 269 lines

Files

What ships with it

2 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. 6d ago First seen · 269 lines · 46 tokens per session scan A bd43bdbf2648

Subscribe to this mod's changes

performance-engineer is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (33 stars, last pushed 7mo ago), licensed MIT. It adds 46 tokens to every session and 1,236 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-09-03.

Related

Other skills, from other repositories

fortify

Fortify existing code by splitting large functions, adding edge-case coverage, and backfilling unit tests. Use when user asks to "fortify", "harden", "bulletproof", "make robust", "make solid", "strengthen", "add missing tests", "split functions", or wants to improve reliability of existing code. Don't use for new…

helderberto/agent-skills · 93 tokens

lint

Run linting and formatting checks. Use when user asks to "run linter", "/lint", "check linting", "fix lint errors", or requests code linting/formatting. Don't use for the full format/type/test pass (use /validate-code) or for installing commit-time hooks (use /setup-pre-commit).

helderberto/agent-skills · 70 tokens

Verification & Quality Assurance

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

ruvnet/agentic-flow · 36 tokens

performance-analysis

Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.

ruvnet/agentic-flow · 20 tokens

investigate-issues

Investigates identified issues in a LearningAgent session by reading the transcript, determining root causes, and updating issue files with investigation reports.

Unsupervisedcom/deepwork · 31 tokens

bugbash

Systematically explore and test any software project (CLI, API, Backend, Library, etc.) to find bugs, usability issues, and edge cases. Produces a structured report with full reproduction evidence (exact commands, inputs, logs, and tracebacks) for every issue.

av/facts · 58 tokens