Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ops-speedup

БесплатноБез исполняемых скриптовНе проверен

Cross-platform, hardware-adaptive system optimizer. Auto-detects macOS / Linux / WSL / Windows (MINGW/Cygwin/MSYS2) and CPU/RAM/disk/GPU profile, then picks…

davepoonот davepoon★ 3 815 звёзд на GitHub

Об этом скилле

Runtime Context

Before scanning, load:

  1. Preferences: cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json — read timezone for timestamps

OPS > SPEEDUP — System Optimizer

Architecture

The bin/ops-speedup binary is the single source of truth for probes AND actions. This skill's job is to:

  1. Call the binary with the right flags based on user intent
  2. Parse the JSON
  3. Present a health score + cleanup report
  4. Confirm destructive actions per plugin Rule 5
  5. Invoke the binary's clean/deep/aggressive modes to execute

CLI Reference — bin/ops-speedup

Command Purpose Side effects
ops-speedup Visual banner + hardware summary None
ops-speedup --json Quick JSON diagnostics (disk/mem/net only) None
ops-speedup --scan Full parallel probe: disk + mem + CPU hogs + power hogs + GPU/ANE + startup None
ops-speedup --clean Safe cleanup: caches, tmp, logs, demote daemons, DNS flush, kernel tune Non-destructive
ops-speedup --deep --clean + Trash, DerivedData, simulators, animation cuts, launch-agent kill Removes files
ops-speedup --aggressive --deep + unload launch agents, docker --volumes, stale node_modules (>14d), TCP BBR Potentially breaking — confirm first

All modes:

  • Auto-detect OS (macOS / Linux / WSL / Windows) and dispatch OS-specific ops
  • Idempotent — skip DerivedData/Metro/journal if last run was <1h ago
  • Write telemetry to ~/.ops-speedup/history.jsonl
  • Only raise kernel tuning parameters, never lower
  • Protected processes list blocks killing of shells, IDEs, daemons

OS-specific capabilities

Capability macOS Linux WSL Windows
Disk reclaimable scan ✓ ✓ ✓ limited
Memory + swap ✓ ✓ ✓ limited
CPU hog kill ✓ ✓ ✓ —
Power/Energy Impact ✓ (top -stats power) ✓ (powertop) — —
GPU/Neural Engine ✓ (powermetrics) ✓ (nvidia-smi) — —
Launch agent offenders ✓ — — —
systemd unit masking — ✓ ✓ —
E-core demotion ✓ (taskpolicy -b) ✓ (renice+ionice) ✓ —
UI animation cuts ✓ — — —
Kernel tune (vnodes/somaxconn) ✓ ✓ ✓ —
TCP BBR — ✓ (aggressive) ✓ (aggressive) —
DNS flush ✓ (dscacheutil) ✓ (resolved) ✓ (via Windows) —
Memory purge ✓ (purge) ✓ (drop_caches) ✓ —
Stale build dir prune (>14d) ✓ ✓ ✓ —

Phase 1 — Visual header

${CLAUDE_PLUGIN_ROOT}/bin/ops-speedup 2>/dev/null || echo "SCAN_FAILED"

Phase 2 — Full diagnostic scan (parallel, all probes)

${CLAUDE_PLUGIN_ROOT}/bin/ops-speedup --scan 2>/dev/null || echo '{}'

The binary already runs all probes in parallel. Do NOT add additional serial probe calls from this skill — they will duplicate work that's already in the JSON output.

Phase 3 — Health score + cleanup report

Parse the JSON and render:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 OPS > SYSTEM SPEEDUP — [os] [os_version] [chip]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

 HEALTH SCORE: [0-100] / 100  [████████░░ 80%]

 DISK                                    RECLAIMABLE
 ────────────────────────────────────────────────────
 brew cache          [N] MB              ✓ safe
 npm cache           [N] MB              ✓ safe
 pnpm cache          [N] MB              ✓ safe
 Xcode DerivedData   [N] MB              ✓ safe
 Xcode DeviceSupport [N] MB              ✓ safe
 Docker reclaimable  [N] MB              ✓ safe
 Metal shader cache  [N] MB              ✓ safe
 Trash               [N] MB              ✓ safe
 Logs                [N] MB              ✓ safe
 Downloads           [N] MB              ⚠ review
 Caches (general)    [N] MB              ⚠ review
 /tmp                [N] MB              ✓ safe
 apt/journal         [N] MB              ✓ safe (linux)
 ────────────────────────────────────────────────────
 TOTAL RECLAIMABLE:  [N] GB

 MEMORY
 ────────────────────────────────────────────────────
 Pressure:    [N]% free    Swap: [N] MB    Free: [N] MB

 NETWORK
 ────────────────────────────────────────────────────
 Interface:   [iface]      DNS: [N]ms

 STARTUP
 ────────────────────────────────────────────────────
 Login items:   [N]              (macOS)
 Launch agents: [N]              (macOS)
 Failed units:  [N]              (Linux)
 Enabled units: [N]              (Linux)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Health score calculation:

  • Start at 100
  • Disk > 90% used: -20
  • Disk > 80% used: -10
  • RAM pressure < 20% free: -15
  • RAM pressure < 40% free: -5
  • Swap > 1GB: -10
  • DNS > 100ms: -5
  • 10 launch agents (macOS) or > 3 failed systemd units (Linux): -5

  • 5GB reclaimable: -10

  • 10GB reclaimable: -20

Phase 4 — Present cleanup choice (max 4 options per AskUserQuestion)

AskUse

Полный SKILL.md на GitHub

Установить ops-speedup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Grep
Glob
AskUserQuestion

FAQ

Что делает скилл ops-speedup?

Cross-platform, hardware-adaptive system optimizer. Auto-detects macOS / Linux / WSL / Windows (MINGW/Cygwin/MSYS2) and CPU/RAM/disk/GPU profile, then picks the right cleanup strategy. Scans reclaimable disk space, memory pressure, runaway processes, startup bloat, network issues. CleanMyMac built into Claude Code.

Как установить скилл ops-speedup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ops-speedup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ops-speedup с