optimize

optimize is a skill for Claude Code from whawkinsiv/solo-founder-skills. It costs 105 tokens per session (1,707 once invoked), scanned A, original, MIT.

A workflow for making an existing application faster, smaller, and less wasteful. It covers page and API speed, dependencies, database queries, and unused code.

In plain words
What is it for?
Use it to measure performance, fix slow pages or endpoints, remove unused packages and files, clean orphaned database data, and check whether the changes helped.
Why use it?
It helps locate the real sources of slowness, unnecessary hosting cost, large bundles, and accumulated code clutter before making changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the solo-founder-skills plugin — 54 skills, 1 command shipped together

Good fit Use it to measure performance, fix slow pages or endpoints, remove unused packages and files, clean orphaned database data, and check whether the changes helped.

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

Made for: Claude Code.

Or install solo-founder-skills, the plugin that ships this one along with the rest of its 54 skills, 1 command.

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 optimize

README.md
[![agentmods](https://agentmods.dev/badge/skills/whawkinsiv/solo-founder-skills/optimize/github.svg)](https://agentmods.dev/skills/whawkinsiv/solo-founder-skills/optimize)
Your own site
<a href="https://agentmods.dev/skills/whawkinsiv/solo-founder-skills/optimize"><img src="https://agentmods.dev/badge/skills/whawkinsiv/solo-founder-skills/optimize/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 optimize

Your own site · 80×15
<a href="https://agentmods.dev/skills/whawkinsiv/solo-founder-skills/optimize"><img src="https://agentmods.dev/badge/skills/whawkinsiv/solo-founder-skills/optimize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,707 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 pass 7 Sept 2026
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.00105 $0.01707
Opus 5 $0.00053 $0.00853
Sonnet 5 $0.00021 $0.00341
Haiku 4.5 $0.00011 $0.00171

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

Security

Grade A, and why

optimize 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 11d 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/optimize/SKILL.md · 264 lines

How it starts

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

Optimize

Reduce waste and improve efficiency. Only optimize after you have real users and real problems — premature optimization is the most common waste of founder time.

This skill is for making existing things faster and leaner. For building features, use build. For fixing bugs, use debug. For monitoring performance in production, use monitor. For database schema design, use database.

Workflow

Optimize your app:
- [ ] Measure first — get actual numbers (page load, API speed, bundle size)
- [ ] Speed — fix the slowest page or API endpoint
- [ ] Dependencies — update packages, remove unused ones
- [ ] Database — clean orphaned data, optimize slow queries
- [ ] Code — remove dead code and unused files
- [ ] Re-measure — verify improvements with numbers

When to Optimize (and When NOT To)

Don't optimize when:

  • Building your MVP
  • Fewer than ~100 active users
  • Everything works fine
  • You haven't measured the problem

Optimize when:

  • Users complain about slowness (Speed)
  • Bundle size warnings or security alerts appear (Dependencies)
  • App noticeably slower than when you launched (Speed/Database)
  • You're paying for hosting you shouldn't need (Speed/Database)

Rule: Make it work → get users → measure → THEN make it lean.


Priority Order

When multiple things need work:

  1. Speed — Users feel this immediately. Slow = churn.
  2. Dependencies — Security vulnerabilities are urgent. Bundle bloat affects speed.
  3. Database — Affects long-term performance and hosting costs.
  4. Code — Affects maintainability. Lowest user impact.

Speed Optimization

Targets

Metric Good Bad
Page load < 3s > 5s
API response < 500ms > 1s
Time to interactive < 5s > 8s

Step 1: Measure

Claude Code (can measure directly):

Audit app performance:
- Measure page load times for the 3 most important pages
- Log API response times for the 5 most-used endpoints
- Identify the slowest database queries
- Check total bundle size
Report findings with specific numbers.

Read the full file on GitHub · 264 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. 11d ago First seen · 264 lines · 105 tokens per session scan A 7fcced26572a

Subscribe to this mod's changes

optimize is a skill published in the GitHub repository whawkinsiv/solo-founder-skills (243 stars, last pushed 15d ago), licensed MIT. It adds 105 tokens to every session and 1,707 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens