ubuntu-janitor

Automate remote Ubuntu maintenance and upgrades via SSH.

4|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/bnaylor/agent_skills --skill ubuntu-janitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ubuntu-janitor
Source: https://github.com/bnaylor/agent_skills/tree/main/ubuntu-janitor
Command: npx skills add https://github.com/bnaylor/agent_skills --skill ubuntu-janitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of maintaining and upgrading Ubuntu systems remotely via SSH, ensuring your fleet stays up-to-date and secure with minimal manual intervention.

Core Features & Use Cases

  • Remote Updates: Applies apt updates, upgrades, and kernel patches across multiple Ubuntu servers.
  • Safe Reboots: Manages system reboots after updates, ensuring services are healthy post-restart.
  • Fleet Synchronization: Ideal for keeping a group of servers consistent in terms of OS versions and security patches.

Quick Start

Use the ubuntu-janitor skill to update and upgrade all systems in the 192.168.1.0/24 network.

Frequently Asked Questions about ubuntu-janitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Ubuntu system maintenance and upgrades across multiple remote servers?

Automate Ubuntu system maintenance by using SSH to manage apt updates, apply kernel patches, and execute safe reboots across multiple nodes. This ensures fleet synchronization and security patching with minimal manual intervention.

What is the best way to safely reboot Ubuntu servers remotely after applying kernel patches?

Safely reboot Ubuntu servers after kernel patches by automating the process to include post-boot health verification. This ensures remote systems restart properly and critical services are healthy before completing the maintenance cycle.

Do I need passwordless sudo to run remote apt updates on an Ubuntu fleet via SSH?

Yes, running remote apt updates via SSH requires passwordless sudo or key-based authentication. This seamless execution method is necessary to apply upgrades and kernel patches across multiple nodes without manual password entry.

Can I synchronize OS versions and security patches across a group of Ubuntu servers?

Synchronize OS versions and security patches across Ubuntu servers by automating fleet updates over SSH. This applies consistent apt upgrades and kernel patches to designated network ranges like 192.168.1.0/24.

How does automated post-boot health verification work for remote Ubuntu upgrades?

Post-boot health verification for remote Ubuntu upgrades automatically checks systems after reboots to ensure services are healthy. This mechanism manages safe restarts following apt updates and kernel patches across multiple nodes.