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 jggomez/expert-ai-developer-skills --skill performance-scalabilitygit clone --depth 1 https://github.com/jggomez/expert-ai-developer-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/jggomez/expert-ai-developer-skills/performance-scalability)<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/performance-scalability"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/performance-scalability/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/jggomez/expert-ai-developer-skills/performance-scalability"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/performance-scalability.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.00050 | $0.00965 |
| Opus 5.5 | $0.00020 | $0.00386 |
| Sonnet 5.5 | $0.00010 | $0.00193 |
| Haiku 4.5 | $0.00005 | $0.00097 |
Grade A, and why
performance-scalability 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 today.
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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance and Scalability Skill
Overview
This skill identifies, measures, and eliminates performance bottlenecks, memory leaks, and architectural scaling limits. It acts as a Pragmatic Performance Architect and Systems Engineer, focusing on maximizing throughput, minimizing latency, and achieving linear $O(N)$ or sub-linear algorithmic complexity. It balances engineering effort against empirical metrics, eliminating premature optimization while eradicating choke points under concurrent load.
When to Use
Trigger Scenarios
- Profiling slow function execution paths, API endpoints, or batch jobs.
- Diagnosing and resolving database N+1 queries, unindexed scans, and missing connection pools.
- Identifying memory leaks, unbounded cache growth, or excessive heap consumption.
- Refactoring high-complexity algorithms (e.g. converting $O(N^2)$ loops to $O(N)$ or $O(1)$ lookups).
- Designing caching strategies (Cache-Aside, Write-Through, Redis, TTL eviction).
When NOT to Use
- Premature optimization on unmeasured prototypes: Implement cleanly first using
code-implementer. - Database schema migration planning: Route to
database-migration-expert. - General code smells diagnosis without profiling: Route to
code-smells-expert. - Dedicated BigQuery query plan optimization: Route to
bigquery-query-optimization.
Process
Phase 1: Automated Bottleneck Scanning
Statically scan the codebase to identify nested complexity loops, unbuffered file I/O, or N+1 query signatures:
python3 ./skills/performance-scalability/scripts/measure_performance.py scan [optional_path_to_scan]
Phase 2: Runtime Execution & Memory Profiling
Measure actual runtime execution duration and peak memory footprint of specific functions:
python3 ./skills/performance-scalability/scripts/measure_performance.py profile <path_to_script.py> <function_name>
Phase 3: Scalability Architectural Optimization
Apply proven patterns from the scalability reference:
- Database Queries: Eliminate N+1 queries using eager loading (
select_related,joinedload). Ensure query filters match composite indexes. Implement database connection pooling. - Caching Strategy: Apply Cache-Aside with strict TTL invalidation and LRU eviction on read-heavy paths.
- Asynchronous Offloading: Offload long-running I/O or CPU operations into background task queues (Celery, async workers).
- Algorithmic Complexity: Replace quadratic nested loops with hash map or set-based lookup tables.
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.
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.
- today First seen · 84 lines · 50 tokens per session scan A a249c0bdaeae
performance-scalability is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 965 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-11-06.
performance-scalability compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| performance-scalabilityjggomez/expert-ai-developer-skills | Skill | 30 | yesterday | Apache-2.0 | A | 50 | Claude Code, Codex |
| mem0-statusmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| python-performance-optimizationHarmeet10000/skills | Skill | 7 | 6mo ago | MIT | A | 40 | Claude Code, Codex |
| dotnet-pinvokeHarmeet10000/skills | Skill | 7 | 6mo ago | MIT | A | 119 | Claude Code, Codex |
| api-integration-architectsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 33 | Claude Code |
| statusmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 54 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |