KS
Killer-Skills

upgrade-flake — how to use upgrade-flake how to use upgrade-flake, upgrade-flake setup guide, nix flake update command, upgrade-flake vs nixos-rebuild, what is upgrade-flake, upgrade-flake install, nixos package management, flake.lock update, nixpkgs update

v1.0.0
GitHub

About this Skill

Ideal for NixOS Agents requiring automated package updates and dependency management. upgrade-flake is a skill that updates all inputs to their latest commits, including nixpkgs and home-manager, without changing NixOS release channels.

Features

Updates all inputs to their latest commits using `nix flake update`
Does not change release channels, staying on the same NixOS version
Safely updates `flake.lock` file
Allows rollback to previous versions
Runs `just update` command to update the lock file

# Core Topics

richardgill richardgill
[29]
[1]
Updated: 2/25/2026

Quality Score

Top 5%
41
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add richardgill/nix/upgrade-flake

Agent Capability Analysis

The upgrade-flake MCP Server by richardgill is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use upgrade-flake, upgrade-flake setup guide, nix flake update command.

Ideal Agent Persona

Ideal for NixOS Agents requiring automated package updates and dependency management.

Core Value

Empowers agents to update `flake.lock` files, pulling in the latest commits from all flake inputs like nixpkgs and home-manager, ensuring safe and up-to-date package versions without changing NixOS release channels, all through the `nix flake update` command.

Capabilities Granted for upgrade-flake MCP Server

Updating flake inputs to the latest commits
Safely updating packages without changing release channels
Rolling back to previous versions if needed

! Prerequisites & Limits

  • Requires NixOS environment
  • Limited to updating flake inputs, not changing release channels
Project
SKILL.md
1.2 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Upgrade Flake Inputs

Update flake.lock to pull in the latest commits from all flake inputs. This gets you newer package versions without changing NixOS release channels.

What this does

  • Updates all inputs to their latest commits (nixpkgs, home-manager, etc.)
  • Does NOT change release channels (stays on same NixOS version)
  • Safe operation - can always rollback

Process

  1. Update the lock file

    bash
    1just update

    This runs nix flake update and updates flake.lock.

  2. Build and verify (safe dry-run)

    bash
    1just check

    Builds all configurations without applying. If this fails, fix errors before proceeding.

  3. Apply the update (when ready)

    bash
    1just switch
  4. Verify services are running

    bash
    1systemctl status docker tailscaled

Rollback if needed

When you're done echo out the instructions to:

bash
1# Revert to previous system generation 2sudo nixos-rebuild switch --rollback 3 4# Revert flake.lock to previous state 5git checkout flake.lock

Tips

  • show the user what ch git diff flake.lock to see what changed before applying
  • Old boot entries remain available for rollback until garbage collected

$ARGUMENTS

Related Skills

Looking for an alternative to upgrade-flake or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication