From nix-manager
Cleanly remove a package, module, or capability from the NixOS config. Traces all references and cleans up. Use when user says "remove X", "uninstall X", "drop X", "I don't use X anymore".
How this skill is triggered — by the user, by Claude, or both
Slash command
/nix-manager:remove-itThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Cleanly remove a package or capability. Traces all references, proposes a removal plan, cleans up.
Cleanly remove a package or capability. Traces all references, proposes a removal plan, cleans up.
$ARGUMENTS is what to remove.
Examples: "steam", "bluetooth", "the gaming module", "firefox"
Search the entire config for all references to the target:
home.packages, environment.systemPackages)programs.*, services.*)Present findings:
Found 3 references to bluetooth:
system/desktop.nix:18--hardware.bluetooth.enablesystem/desktop.nix:19--hardware.bluetooth.powerOnBootsystem/desktop.nix:20--services.blueman.enable
Done when: all references are mapped.
For each reference, state what will happen:
If a module file would become empty after removal, propose deleting the file and its import.
Ask user to confirm scope -- they might want to keep some parts.
Done when: user approves the plan.
Remove approved items. Also clean up:
imports = [];, packages = [];)Done when: all removals applied, no orphans left.
Post-edit, explain:
Done when: user acknowledges.
Ask: "Want me to run nixos-rebuild test to try it, or nixos-rebuild switch to apply?"
If the rebuild fails, invoke /debug to diagnose.
Done when: rebuild succeeds or user declines.
npx claudepluginhub xxkeefer/skills --plugin nix-managerCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.