Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devops-linux

БесплатноЗапускает вложенные скриптыНе проверен

Use when administering a Debian/Ubuntu or RHEL-family server - systemd units, timers, journald, sandboxing and resource limits, apt/dnf and unattended…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

Covers day-2 administration of Debian/Ubuntu and RHEL-family servers: systemd (units, drop-ins, timers, journald, sandboxing, resource control), apt/dnf and automatic updates, users/groups/sudo, sshd and ssh client configuration, partitions/LVM/filesystems/fstab, sysctl and limits, SELinux and AppArmor operation, time sync, performance troubleshooting (USE method) and robust bash. Does not cover firewall/DNS/TLS/VPN, ZFS/Ceph/backups, hypervisors, configuration management, or security audits/benchmarks - see related skills.

DevOps Linux

Agent Workflow (MANDATORY)

Before ANY change, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - Find existing units, scripts, configs in the repo
  2. fuse-ai-pilot:research-expert - Verify every directive/flag at the official man page for the target release
  3. mcp__fuse-browser__browser_fetch - Fast-path read of freedesktop.org / man7.org / distro docs

On a live host: discovery (read-only) -> proposal with rollback -> owner's go -> change -> verify. After file changes, run fuse-ai-pilot:sniper.

Overview

Area Debian / Ubuntu RHEL family
Packages apt, apt-mark hold, unattended-upgrades dnf, dnf versionlock, dnf-automatic (dnf5: dnf5-automatic.timer)
MAC AppArmor (aa-status) SELinux (getenforce, semanage)
Admin group (convention - read /etc/sudoers) sudo wheel
Services, logs, timers systemd + journald (both) systemd + journald (both)

Releases verified 2026-11-10: Debian 13.7 "trixie" (https://www.debian.org/releases/), Ubuntu 26.04.1 LTS (https://releases.ubuntu.com/), RHEL 10.2 and 9.8 (https://access.redhat.com/articles/3078). systemd man pages are read at https://www.freedesktop.org/software/systemd/man/latest/ (systemd 262); every directive there carries "Added in version N" - compare with systemctl --version.

Critical Rules

  1. Discover before you touch - systemctl status, journalctl -u, cat /etc/os-release, systemctl --version first; never assume the distro or systemd version
  2. Never edit vendor files - units via systemctl edit drop-ins, sshd via sshd_config.d/, sudo via visudo -f /etc/sudoers.d/<name>, sysctl via /etc/sysctl.d/
  3. Validate before reload - systemd-analyze verify, sshd -t, visudo -c, findmnt --verify, sysctl -p <file>
  4. Lock-out risk = second session open - touching sshd, sudoers, PAM, network or firewall: keep a working root session open until the new login is proven
  5. Destructive = propose, then the owner's go - rm -rf, filesystem creation, dd, wipefs, lvremove, userdel -r, systemctl mask, partition tools: state the exact effect and target, wait for the go
  6. Never disable SELinux/AppArmor to "fix" a denial - read the denial, fix the label/boolean/profile
  7. Never invent a directive - verify at the man page of the shipped version; unverified -> "I don't know"

Reference Guide

Concepts

Topic Reference When to Consult
Units, timers, journald systemd-units-journald.md Writing a service, cron -> timer, log retention
Sandboxing, resources systemd-hardening-resources.md ProtectSystem=, MemoryMax=, systemd-analyze security
Packages, updates packages-updates.md apt/dnf, pinning, holds, unattended upgrades
Users, sudo, SSH users-sudo-ssh.md Accounts, sudoers drop-ins, sshd/ssh config
Storage storage-lvm-fs.md Disks, LVM grow, ext4/xfs, fstab, swap
Kernel, limits kernel-sysctl-limits.md sysctl drop-ins, LimitNOFILE=, limits.conf
SELinux, AppArmor selinux-apparmor.md Denials, labels, booleans, profile modes
Time sync time-sync.md chrony / timesyncd, clock drift
Troubleshooting perf-troubleshooting.md Slow host, OOM, full disk, USE method
Bash bash-scripting.md Strict mode, traps, locking, shellcheck

Templates

Template When to Use
hardened.service Long-running daemon with sandboxing
job.service + job.timer Replace a cron job
journald-retention.conf Persistent journal with a size cap
sshd-10-hardening.conf Key-only sshd drop-in
sudoers-ops Group-scoped sudo r
Полный SKILL.md на GitHub

Установить devops-linux в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/bash-scripting.mdreferences/kernel-sysctl-limits.mdreferences/packages-updates.mdreferences/perf-troubleshooting.mdreferences/selinux-apparmor.mdreferences/storage-lvm-fs.mdreferences/systemd-hardening-resources.mdreferences/systemd-units-journald.mdreferences/templates/52unattended-upgrades-localreferences/templates/dnf-automatic.confreferences/templates/hardened.servicereferences/templates/job.servicereferences/templates/job.timerreferences/templates/journald-retention.confreferences/templates/script-skeleton.shreferences/templates/sshd-10-hardening.confreferences/templates/sudoers-opsreferences/time-sync.mdreferences/users-sudo-ssh.md

FAQ

Что делает скилл devops-linux?

Use when administering a Debian/Ubuntu or RHEL-family server - systemd units, timers, journald, sandboxing and resource limits, apt/dnf and unattended upgrades, users/groups/sudo, sshd and ssh client config, partitions/LVM/filesystems/fstab, sysctl and limits, SELinux or AppArmor operation, time sync, CPU/memory/disk/network troubleshooting with the USE method, or robust bash scripts. Not for firewall/DNS/TLS/VPN (devops-networking), ZFS/Ceph/backups (devops-storage-backup), KVM/LXC (devops-virtualization), Ansible (devops-ansible), or security audits and hardening benchmarks (fuse-security:security-expert).

Как установить скилл devops-linux?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devops-linux запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить devops-linux с