/linux-system-optimisation:optimisefrom linux-system-optimisation
Read the latest benchmark results from the linux-system-optimisation benchmark folder, then propose and apply tuning — CPU governor + EPP, power-profiles-daemon profile, GPU power profile (NVIDIA / AMD / Intel vendor-specific), per-disk I/O scheduler, swappiness, vm.* sysctls, transparent hugepages, zswap/zram. Shows a before/after diff before applying. Persistent changes (/etc/sysctl.d, systemd units) require explicit confirmation; runtime-only changes apply directly. Triggers on "optimise my system", "tune based on benchmark", "apply optimisations".
Ships in linux-system-optimisation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read benchmark output → propose tuning → diff → apply.
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/linux-system-optimisation/config.json
benchmarks_dir points to the result store. Read the most recent results.json (highest ISO timestamp). If none exist → call benchmark first.
Map findings → actions. Only propose actions backed by an actual benchmark observation; don't speculate.
| Observation | Proposed action |
|---|---|
| CPU thermal throttling under load | Set governor to performance only when on AC; otherwise schedutil. EPP balance_performance. Check thermal paste / fan curve as a non-software follow-up. |
Low CPU events/sec, governor was powersave | Switch governor (cpupower frequency-set -g performance or via power-profiles-daemon). |
| GPU hitting power cap on NVIDIA | nvidia-smi -pm 1 + raise power limit within hardware max via nvidia-smi -pl <W>. |
| AMD GPU stuck at low pstate | Set /sys/class/drm/card*/device/power_dpm_force_performance_level to auto or high. |
| Disk IOPS far below class baseline (NVMe < 50k randread) | Switch I/O scheduler: NVMe → none; SATA SSD → mq-deadline; HDD → bfq. Apply via udev rule. |
| Memory pressure / heavy swap | Lower vm.swappiness (default 60 → 10 on workstations with ≥16 GB RAM). Enable zram if not already. |
| Many minor faults / slow allocations | Enable transparent hugepages madvise mode. |
| Lots of dirty page writeback stalls | Tune vm.dirty_ratio / vm.dirty_background_ratio. |
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) and target value. Present as a unified table./etc/sysctl.d/99-linux-system-optimisation.conf/etc/udev/rules.d/60-linux-system-optimisation-ioscheduler.rules/etc/systemd/system/linux-system-optimisation-gpu.service (only if GPU tuning needs persistence)
Confirm once before writing the batch — not per file.sysctl --system, udevadm control --reload && udevadm trigger, systemctl daemon-reload && systemctl enable --now <unit>.benchmark and write a delta summary into the new result folder noting which tunings preceded it.nvidia-smi -q | grep 'Max Power Limit'./sys/class/thermal/*.pre-optimise-sysctl.conf).What SKILL.md sets; muted values are Claude Code's defaults
linux-system-optimisation@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin linux-system-optimisation4 skills in this plugin
/audit-installedAudit installed packages on a Linux desktop and surface candidates for removal — manually-installed packages that haven't been used recently, orphaned dependencies, large packages, and unused Flatpak / Snap apps. Cross-references package-manager records with binary access times where available. Reports only — does not uninstall. Triggers on "what can I uninstall", "audit installed packages", "find unused programs"./benchmarkRun a system benchmark tailored to the detected hardware on a Linux desktop. CPU (sysbench / stress-ng), GPU (glmark2 / vkmark / clpeak — chosen by GPU vendor), disk I/O (fio against the benchmark folder's filesystem), memory (sysbench memory + mbw), and a quick desktop-responsiveness probe. Saves timestamped JSON + Markdown summary to the user-defined benchmark folder. Triggers on "benchmark my system", "run benchmark", "rebench", or as a follow-up to `onboard`./onboardOther plugins' skills for the same job