linux-ops

Diagnose and safely change Linux hosts across systemd, storage, networking, and backup recovery.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill linux-ops-lynricsy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linux-ops
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/linux-ops
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill linux-ops-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Operating Linux hosts under incident pressure risks losing remote access, destroying evidence, or corrupting recovery data. This Skill enforces disciplined diagnosis and gated change procedures so service, storage, network, and backup operations stay recoverable and evidence-preserving. ## Core Features & Use Cases - Systemd service operations: Distinguish disk, manager, and live process state; handle capabilities, mount namespaces, resource limits, and correct activation without abandoning isolation. - Storage and process diagnosis: Resolve df/du discrepancies, deleted-open files, inode exhaustion, and file descriptor limits without destructive shortcuts. - Safe remote and firewall changes: Plan SSH, routing, and nftables changes with armed rollback and fresh-session verification so management access is never lost. - Backup and recovery proof: Select restic snapshots by identity, restore into isolated targets, preserve rsync metadata, and validate RPO/RTO claims with real evidence. - Use Case: A deleted log file still consumes 70 GiB because two workers hold it open. The Skill guides you to preserve evidence, use the documented SIGUSR1 reopen, and verify both block and inode headroom. ## Quick Start Ask the agent to review the supplied Linux incident evidence and produce a diagnosis with a safe, gated change and verification plan.

Frequently Asked Questions about linux-ops

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

FAQPage Schema
How do I safely change firewall rules without losing SSH access?

Save runtime and persistent rules, arm a privileged detached rollback timer independent of the SSH session, validate the candidate with nft -c, then apply and test a fresh non-multiplexed SSH connection on both IPv4 and IPv6 before cancelling the rollback.

Why does disk space stay full after deleting a large log file?

A deleted file still consumes blocks while any process holds it open; the space is reclaimed only when the last holder closes it. Use lsof +L1 to find holders grouped by device and inode, then use the application's documented reopen mechanism instead of truncating proc FDs.

Does systemctl daemon-reload apply new unit settings to a running service?

No. daemon-reload reloads unit definitions into the manager but does not retrofit mount namespaces, credentials, capabilities, or limits into the existing MainPID. Execution-policy changes require an approved drain and restart of the affected process.

Can I raise LimitNOFILE above 1024 for any service?

Not blindly. Programs using select(2) cannot safely handle descriptors above 1023, so raising the limit can cause memory corruption instead of clean capacity failures. Confirm the polling backend first and inspect /proc/PID/limits on the live process.

How do I verify a restic backup actually meets RPO and RTO?

Select snapshots by explicit ID, host, and path rather than unqualified latest, and compute recoverable age at incident time. Structural checks and even --read-data do not prove application usability or RTO; only a timed isolated restore with application validation does.

When should I not use this Linux host operations skill?

Do not use it for cloud IAM or provider networking, container and Kubernetes resources, application-level code bugs, or database-consistent backup protocols. Those belong to the respective cloud, container, language, or database skills.