optimize-system-performance

optimize-system-performance is a skill for Claude Code, Codex from WiseWong6/wise-skills. It costs 94 tokens per session (1,959 once invoked), scanned A, original, MIT.

A read-only troubleshooting method for slow, hot, memory-limited, or unstable Mac and Windows computers. It collects evidence about CPU, memory, disk, network, local development servers, background services, and startup items before suggesting low-risk actions.

In plain words
What is it for?
Use it to diagnose swapping, high CPU use, heat, energy use, disk or network load, development-server problems, and startup issues.
Why use it?
It helps explain the cause of performance problems without automatically deleting files, changing settings, stopping services, or killing processes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to diagnose swapping, high CPU use, heat, energy use, disk or network load, development-server problems, and startup issues.

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

Made for: Claude Code, Codex.

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-system-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/wisewong6/wise-skills/optimize-system-performance.svg)](https://agentmods.dev/skills/wisewong6/wise-skills/optimize-system-performance)
Your own site
<a href="https://agentmods.dev/skills/wisewong6/wise-skills/optimize-system-performance"><img src="https://agentmods.dev/badge/skills/wisewong6/wise-skills/optimize-system-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,959 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 Rogue Agent · line 13
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 25
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 31
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00094 $0.01959
Opus 5 $0.00047 $0.00979
Sonnet 5 $0.00019 $0.00392
Haiku 4.5 $0.00009 $0.00196

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

Security

Grade A, and why

optimize-system-performance 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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/capture_macos_snapshot.sh, scripts/capture_windows_snapshot.ps1, scripts/compare_snapshots.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

optimize-system-performance/SKILL.md · 112 lines

How it starts

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

Optimize System Performance

Use a diagnose-first workflow. The default mode is read-only: capture a baseline, explain the causes in plain Chinese, show a short low-risk cleanup choice, then wait for the user before any cleanup. Treat this as a diagnosis and decision skill, not an automatic cleaner.

Safety Rules

  • Default actions must be L0/L1 only: low-permission sampling, Chinese explanation, and cleanup recommendations.
  • Do not use sudo, elevated PowerShell, reboot, log out, clear caches, delete configs, disable startup items, unload plists, edit registry, change services, change scheduled tasks, or force-kill processes by default.
  • Do not stop browser main processes, remote control, VPN/proxy, sync drives, input methods, security software, enterprise management, meeting software, IDEs, Docker/VMs, Codex/Claude sessions, or local business services unless the user confirms that specific high-risk target after seeing the risk.
  • Batch cleanup is allowed only for the report's explicit low-risk cleanup list after the user confirms a simple choice such as 清理低风险项. Never include protected, ambiguous, startup, service, Docker/VM/browser/IDE, or business-service targets in that batch.
  • When cleanup is confirmed, use only gentle user-process termination: macOS kill -TERM <pid>; Windows Stop-Process -Id <pid> without -Force. If it fails, report it and stop.
  • Deep forensics are opt-in only. Before any high-risk tool, read the relevant reference and explain use, risk, permissions, duration, artifacts, and low-permission alternatives.
  • For macOS deep forensics, run a command-path preflight first. Prefer system absolute paths such as /usr/bin/sample and /usr/sbin/spindump; never assume a bare command is the Apple tool because Python, Homebrew, or third-party installs may shadow it in PATH.
  • Default snapshots store executable/process names rather than full process arguments. Full command-line capture can expose tokens, paths, URLs, and business context, so treat it as opt-in deep inspection.
  • Redact sensitive text in user-facing reports. Keep snapshot paths visible so the user can decide whether to delete them.
  • Make decision ownership explicit but simple: the agent explains evidence and tradeoffs; the user can choose 清理低风险项 or 只观察. High-risk targets still need specific confirmation.

Read the full file on GitHub · 112 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. 8d ago First seen · 112 lines · 94 tokens per session scan A 320ce90d4e76

Subscribe to this mod's changes

optimize-system-performance is a skill published in the GitHub repository WiseWong6/wise-skills (6 stars, last pushed 2d ago), licensed MIT. It adds 94 tokens to every session and 1,959 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-31.

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