Skip to content

danielrosehill/Claude-Linux-System-Optimisation-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Linux System Optimisation

Claude Code plugin for Linux desktop users. Two halves:

  1. Performance tuning — benchmark the local machine, then apply CPU / GPU / I/O / memory tuning based on actual measured behaviour rather than guesses.
  2. Space optimisation — truthfully report disk usage (BTRFS-aware), find duplicate files, audit installed packages, prune dev clutter (venvs, node_modules, language caches).

Skills

Performance

  • onboard — first-run setup. Detects hardware, picks a benchmark folder (default ~/linux-system-optimisation/benchmarks/), runs the first tailored benchmark.
  • benchmark — re-run the benchmark suite (CPU, GPU, disk I/O, memory, desktop responsiveness). Saves timestamped JSON + human-readable summary.
  • optimise — read the latest benchmark, propose tuning (governor, power profile, GPU profile, I/O scheduler, sysctls, zswap/zram), show the diff, and apply on confirmation. Persistent changes (/etc/sysctl.d, systemd units) require explicit confirmation.

Space

  • disk-usage — analyse disk fill; on BTRFS reports real free space, snapshot weight, and compression ratio (btrfs filesystem usage, compsize). On other filesystems, falls back to df + hot-spot scan.
  • find-duplicates — find duplicate files under a path using rmlint / jdupes / fdupes. Reports reclaimable bytes and writes a review-able prune script. Never auto-deletes.
  • audit-installed — audit apt / Flatpak / Snap installs; surface orphans, unused runtimes, and packages that haven't been touched in months. Report-only.
  • prune-dev-clutter — find stale Python venvs, node_modules, Rust target/, Java build/, language caches, Docker dangling. Quantifies reclaim, then deletes the user's chosen subset.

Required tools

Installed on first benchmark run if missing: sysbench, stress-ng, fio, glmark2, vkmark, mbw, cpupower, power-profiles-daemon, lm-sensors. Space skills additionally use rmlint (preferred) / jdupes and compsize (BTRFS).

Installation

claude plugins install linux-system-optimisation@danielrosehill

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors