Claude Linux System Optimisation Plugin
No description provided
About This Project
Linux System Optimisation is a Claude Code plugin designed for Linux desktop users. It is organised into two halves: performance tuning and space optimisation. The performance half runs a benchmark suite covering CPU, GPU, disk I/O, memory, and desktop responsiveness, then proposes tuning changes such as CPU governor, power profile, GPU profile, I/O scheduler, sysctl values, and zswap or zram settings based on the measured results rather than general assumptions. Changes are shown as a diff and applied only on confirmation, with persistent modifications to /etc/sysctl.d and systemd units requiring explicit approval. Benchmark results are saved as timestamped JSON alongside human-readable summaries.
The space half reports disk usage truthfully, including real free space, snapshot weight, and compression ratio on BTRFS filesystems using tools such as btrfs filesystem usage and compsize, with a fallback to df and hot-spot scanning on other filesystems. It also locates duplicate files with rmlint, jdupes, or fdupes and writes a review-able prune script without deleting anything automatically, audits apt, Flatpak, and Snap installations for orphans and stale packages in a report-only mode, and identifies stale Python virtual environments, node_modules directories, Rust target and Java build folders, language caches, and dangling Docker data before deleting a user-selected subset. The plugin is implemented as a set of skills invoked through Claude Code and installs its required benchmarking and cleanup utilities on first run when they are missing.
This project may be of interest to Linux desktop users who want evidence-based performance adjustments, BTRFS users who need accurate storage reporting, and developers who accumulate large amounts of build artefacts, caches, and virtual environments and want a cautious, reviewable way to reclaim disk space.