memstack-development-performance-audit

memstack-development-performance-audit is a skill for Claude Code from cwinvestments/memstack. It costs 69 tokens per session (4,382 once invoked), scanned A, original, MIT.

A systematic check for causes of slow websites and applications across the browser, server, and network.

In plain words
What is it for?
Investigating load times, Core Web Vitals, Lighthouse results, memory leaks, repeated rendering, large files, and database query bottlenecks.
Why use it?
Slow loading, inefficient queries, large bundles, and unnecessary rendering can hurt users, but their causes are often hard to identify without measurements.

Skill for Claude Code

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

Part of the memstack plugin — 87 skills, 2 commands, 6 hooks shipped together

Good fit Investigating load times, Core Web Vitals, Lighthouse results, memory leaks, repeated rendering, large files, and database query bottlenecks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cwinvestments/memstack/performance-audit
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 cwinvestments/memstack --skill performance-audit
Clone the repo
git clone --depth 1 https://github.com/cwinvestments/memstack

Made for: Claude Code.

Or install memstack, the plugin that ships this one along with the rest of its 87 skills, 2 commands, 6 hooks.

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 memstack-development-performance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwinvestments/memstack/performance-audit/github.svg)](https://agentmods.dev/skills/cwinvestments/memstack/performance-audit)
Your own site
<a href="https://agentmods.dev/skills/cwinvestments/memstack/performance-audit"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/performance-audit/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 memstack-development-performance-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/cwinvestments/memstack/performance-audit"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/performance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,382 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 43
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 47
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 50
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00069 $0.04382
Opus 5.5 $0.00028 $0.01753
Sonnet 5.5 $0.00014 $0.00876
Haiku 4.5 $0.00007 $0.00438

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

Security

Grade A, and why

memstack-development-performance-audit 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 1mo 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/development/performance-audit/SKILL.md · 486 lines

How it starts

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

🚀 Performance Audit: Full-Stack Performance Scanner

Identify and prioritize performance bottlenecks across frontend, backend, and network layers with measured impact and fix priority.

Activation

When this skill activates, output:

🚀 Performance Audit: Scanning for performance bottlenecks...

Context Status
User says "performance audit", "optimize", "slow app" ACTIVE
User mentions bundle size, N+1 queries, or Core Web Vitals ACTIVE
User wants to find memory leaks or unnecessary re-renders ACTIVE
User wants database schema optimization specifically DORMANT: see database-architect
User wants API design review (not performance) DORMANT: see api-designer
User wants general code quality review DORMANT: see code-reviewer

Protocol

Step 1: Gather Inputs

Ask the user for:

  • Stack: Frontend framework, backend language, database?
  • Symptoms: What feels slow? (initial load, interactions, API responses, builds)
  • Scale: How many users? How much data?
  • Metrics: Any existing performance data? (Lighthouse scores, APM dashboards)
  • Priority: User-facing speed or server-side efficiency?

Step 2: Frontend: Bundle Analysis

Check bundle size and composition:

# Next.js
npx @next/bundle-analyzer
# or: ANALYZE=true next build

# Webpack (generic)
npx webpack-bundle-analyzer stats.json

# Vite
npx vite-bundle-visualizer

What to look for:

Issue Detection Impact Fix
Large dependencies Bundle > 200KB gzipped Slow initial load Replace with lighter alternatives
Duplicate packages Same lib in multiple versions Wasted bytes Dedupe or pin single version
Unused exports Tree-shaking not working Wasted bytes Use ESM imports, avoid barrel files
No code splitting Single large bundle Slow initial load Dynamic imports, route-based splitting
Unoptimized images Images > 100KB without optimization Slow load next/image, sharp, WebP/AVIF
Missing compression No gzip/brotli on responses 60-80% larger payloads Enable in server/CDN config

Read the full file on GitHub · 486 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. 1mo ago Changed 7c92430c2173
  2. 1mo ago First seen · 486 lines · 69 tokens per session scan A df4f75b40947

Subscribe to this mod's changes

memstack-development-performance-audit is a skill published in the GitHub repository cwinvestments/memstack (425 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 4,382 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

investigate

Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug…

GCWing/BitFun · 112 tokens

network-troubleshooting

Systematic, safety-first diagnosis of developer network failures such as connection refused, DNS resolution errors, TLS certificate problems, proxy failures, and package registry timeouts. Use when a command fails with a network-shaped error (curl, npm, pip, git, docker), when a service is unreachable, or when the…

Mindrally/skills · 81 tokens

eval-hooks

Audit Claude Code and Codex hooks for validity, safety, and correctness across settings.json, hooks.json, config.toml, plugin, and skill or agent frontmatter hooks. Resolves each command, checks event names, handler types, matchers, exit-code and JSON decision strategy, and timeouts against each host's documented…

FlorianBruniaux/claude-code-ultimate-guide · 115 tokens

check-cache-bugs

Audit Claude Code setup for cache bugs (CC#40524): sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5.

FlorianBruniaux/claude-code-ultimate-guide · 38 tokens

sandbox-unblock

Diagnostic protocol to run before reporting a sandbox blocker or asking for a configuration change. Eleven checks that eliminate false positives, then a report template the person holding the settings can act on. On one measured day, six of eight reported blockers turned out to be false, all from the same handful of…

FlorianBruniaux/claude-code-ultimate-guide · 65 tokens

monitoring-observability

OpenTelemetry, structured logging, distributed tracing, alerting, and dashboards. Use when instrumenting services, designing logs/traces/metrics, defining SLOs and alerts, or debugging production behavior from telemetry.

travisjneuman/.claude · 48 tokens