/linux:linux-sysadminfrom linux
Routes Linux server administration tasks across provisioning, security, networking, recovery, databases, containers, storage, performance, and compliance for Debian/Ubuntu and RHEL-family systems.
Ships in linux. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
sk-* scripts; load linux-bash-scripting.| Artefact | Source | Required? | If absent |
|---|---|---|---|
| Server role, intended outcome, or observed symptom | User request | yes | Ask for or gather only the context needed to route safely. |
| Distro family and version | /etc/os-release or user | conditional | Route provisionally and require detection before family-specific commands. |
| Authority boundary and operational constraints | User and environment | yes for mutation | Default to read-only diagnosis; do not infer production-change authority. |
Classify the task using the routing table.
Load the matching specialist skill and follow its manual workflow as the source of truth.
Use the optional sk-* scripts only when they are installed and fit the task.
Stop before destructive, externally visible, or production-changing work that lacks explicit authority.
If the first route fails, recover by returning to the observed symptom and select the nearest diagnostic skill rather than guessing a repair.
Verify the result with service checks, config validation, or follow-up inspection before closing.
After an engine-mediated administration task, append a minimal activity record with python3 scripts/linux_admin_activity.py record ...; include the status, whether the task changed state, and a short redacted summary. Keep raw output in the specialist's evidence location and link by relative evidence ID only.
Generate a date-ranged summary with python3 scripts/linux_admin_activity.py report --from YYYY-MM-DD --to YYYY-MM-DD. State that it covers recorded engine activity, not all host activity.
For an engine or product audit, load meta/kaizen-improvement-system/SKILL.md, publish the raw dimensions with a hard-capped maximum of 65/100, and create a 95/100 improvement plan. For current distro, security, compliance, vendor, or platform claims, route through the digital-research-engine engine before standardising.
docs/engine-design/spec.md.linux-mysql-mariadb or linux-postgresql and follow its evidence contract.sk-* command is installed. Fix: keep the manual procedure as the baseline and verify any accelerator before use.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Ranked specialist route | Operator or downstream agent | Primary skill is named and the closest rejected neighbour is explained when ambiguous. |
| Authority and context handoff | Selected specialist | Distro, server role, change boundary, and missing evidence are explicit. |
| Verification target | Operator | A concrete service, configuration, log, backup, or system state proves completion. |
| Category | Artefact | Acceptance condition |
|---|---|---|
| Routing | Route record | Selected skill, trigger evidence, neighbour distinction, and verification target are present. |
Routing requires read access to the request and skill catalogue. System inspection is read-only by default. Editing, package changes, service reloads, network changes, destructive actions, and production mutation are governed by the selected specialist and require explicit authority.
If the server or catalogue cannot be inspected, return the top three plausible skills with the missing fact that separates them. Do not issue family-specific or mutating commands and do not treat unobserved system state as healthy.
| Choice | Route or action | Failure or risk avoided |
|---|---|---|
| Cause is unknown and symptom spans components | linux-troubleshooting first | Premature repair of the wrong subsystem |
| User asks for a security posture report | linux-security-analysis read-only | Accidental hardening changes during assessment |
| User explicitly asks to apply security fixes | linux-server-hardening | Audit workflow that cannot implement authorised repairs |
Work creates or reviews an sk-* script | linux-bash-scripting before domain skill | Distro-specific and unsafe script drift |
"The website is returning 502 after a PHP upgrade" routes first to linux-webstack, with linux-service-management and linux-log-management as neighbours. The handoff records the distro family, affected virtual host, recent package change, and a read-only first pass before any reload.
docs/engine-design/spec.mddocs/engine-design/script-inventory.mdmeta/kaizen-improvement-system/SKILL.mddocs/continuous-improvement/linux-product-audit-checklist.mddocs/continuous-improvement/two-family-validation-and-recovery.mdThis context applies to the primary managed server. Update when working on a different server.
OS: Ubuntu/Debian production server
Web: Nginx (80/443) → PHP-FPM | Apache (8080) | Node.js services
DBs: MySQL 8 | PostgreSQL 15 | Redis
Security: UFW (22/80/443 only), fail2ban, SSH keys-only, certbot ECDSA certs
Backups: Cron → backup-alert.sh → GPG AES256 → rclone → Google Drive
Local: 7 days | Remote: 3 days | Credentials: mode 600
Deployment:sk-update-all-repos (pull --rebase --autostash + optional build)
Admin: /home/administrator | Web: /var/www/html/ and /var/www/
Nginx cfg: /etc/nginx/sites-available/*.conf | snippets: /etc/nginx/snippets/
Toolkit: /usr/local/bin/sk-* (installed by install-skills-bin)
Library: /usr/local/lib/linux-skills/common.sh
Logs: /var/log/linux-skills/
All scripts and skills in this repo follow the conventions in
docs/engine-design/spec.md. The curated
catalogue of ~88 scripts lives in
docs/engine-design/script-inventory.md.
Before writing or reviewing a script, load linux-bash-scripting.
This hub routes to 44 specialist skills in 16 categories (01-16),
including linux-bash-scripting (choice 0). The filesystem catalogue is authoritative.
Linux Server Management
═══════════════════════════════════════════════════════
FOUNDATION
0. Write or review a script (the meta-skill)
PROVISIONING & DEPLOYMENT
1. Set up a new server (from scratch)
2. Bootstrap with cloud-init / autoinstall YAML
3. Deploy a new website
14. Manage packages (apt, snap, unattended-upgrades)
24. Safely update git repos (never destroy local work)
SECURITY
4. Security analysis (deep read-only audit + severity report)
5. Security hardening (apply fixes interactively)
6. Manage users & access control
7. Firewall & SSL certificates
8. Intrusion detection (fail2ban, active response)
15. Secrets (scanning, rotation, age/sops)
OPERATIONS
9. Manage services (nginx, mysql, php-fpm, cron…)
10. Disk & storage management
11. Monitor system health
12. Web stack (Nginx, Apache, PHP-FPM, Node.js)
13. Log management & analysis
NETWORKING
16. Networking (interfaces, netplan, DNS client, NTP)
17. DNS server (bind9 / unbound)
18. Mail server (Postfix / Exim, SPF/DKIM/DMARC)
CONTAINERS & AUTOMATION
19. Virtualization (KVM/libvirt, LXD)
20. Configuration management (Ansible, drift detection)
21. Observability (Prometheus, log shipping, /health)
RECOVERY
22. Troubleshoot an issue
23. Disaster recovery & restore from backup
DATABASES & CACHING
25. MySQL / MariaDB (install, tune, backup)
26. PostgreSQL (install, tune, backup)
27. In-memory stores (Redis, Memcached)
CONTAINERS & ORCHESTRATION
28. Container engine (Docker / Podman install & management)
29. Container deployment (run & operate containers)
30. Image hygiene (reclaim disk from the container engine)
BACKUP & ARCHIVING
31. rsync sync (offsite & incremental backups)
32. Archive integrity (tar.gz / tar.xz create + verify)
33. Filesystem snapshots (point-in-time snapshots)
PERFORMANCE & KERNEL
34. sysctl tuning (performance kernel tuning)
35. Kernel modules (drivers)
36. perf profiling (find the bottleneck before tuning)
COMPLIANCE & AUDITING
37. auditd rules (audit daemon for compliance/forensics)
38. File integrity (FIM with AIDE)
39. Benchmark scanning (security-benchmark / compliance scans)
40. NGO cyber resilience and incident readiness
NETWORK EQUIPMENT (routers/switches — not a Linux host)
41. Cisco IOS / IOS-XE config review and change-window checks
42. Netmiko SSH automation against network devices
43. Pre-deployment router/switch config validation
═══════════════════════════════════════════════════════
| Choice | Skill |
|---|---|
| 0 | linux-bash-scripting |
| 1 | linux-server-provisioning |
| 2 | linux-cloud-init |
| 3 | linux-site-deployment |
| 4 | linux-security-analysis |
| 5 | linux-server-hardening |
| 6 | linux-access-control |
| 7 | linux-firewall-ssl |
| 8 | linux-intrusion-detection |
| 9 | linux-service-management |
| 10 | linux-disk-storage |
| 11 | linux-system-monitoring |
| 12 | linux-webstack |
| 13 | linux-log-management |
| 14 | linux-package-management |
| 15 | linux-secrets |
| 16 | linux-network-admin |
| 17 | linux-dns-server |
| 18 | linux-mail-server |
| 19 | linux-virtualization |
| 20 | linux-config-management |
| 21 | linux-observability |
| 22 | linux-troubleshooting |
| 23 | linux-disaster-recovery |
| 24 | linux-repo-sync |
| 25 | linux-mysql-mariadb |
| 26 | linux-postgresql |
| 27 | linux-inmemory-stores |
| 28 | linux-container-engine |
| 29 | linux-container-deployment |
| 30 | linux-image-hygiene |
| 31 | linux-rsync-sync |
| 32 | linux-archive-integrity |
| 33 | linux-filesystem-snapshots |
| 34 | linux-sysctl-tuning |
| 35 | linux-kernel-modules |
| 36 | linux-perf-profiling |
| 37 | linux-auditd-rules |
| 38 | linux-file-integrity |
| 39 | linux-benchmark-scanning |
| 40 | linux-ngo-cyber-resilience |
| 41 | cisco-ios-patterns |
| 42 | netmiko-ssh-automation |
| 43 | network-config-validation |
confirm_destructive from common.sh — requires the literal word yes.sudo nginx -t before every Nginx reload — never skip. This checkout does not ship the sk-nginx-test-reload wrapper./usr/local/bin/update-all-repos.git pull --rebase --autostash plus a git status --porcelain dirty-check;
NEVER git reset --hard or git clean -fd in an automated/menu updater.
See linux-repo-sync — this is a binding standard on every server.sk-* script follows the conventions in
docs/engine-design/spec.md and sources
/usr/local/lib/linux-skills/common.sh.sudo install-skills-bin core once during setup.
Individual skills lazy-install their own scripts on first use.Resolve the checkout from the active runner or operator context. The canonical
entry point is AGENTS.md followed by this hub; the checkout does not need to
live in ~/.claude/skills or any other fixed directory.
For generic or Codex use, install only the optional command accelerators from the resolved checkout when the operator has authorised the system change:
# SKILLS_ROOT is the checkout selected by the runner or operator.
sudo "$SKILLS_ROOT/scripts/install-skills-bin" core
For Claude Code, scripts/setup-claude-code.sh is an optional, model-specific
bootstrap. It may clone to the runner's configured Claude skill root and install
system tooling; it is not required to load this hub or any specialist skill.
Before a real run, require its --dry-run plan, exact target flags, separate
network/user/privileged-write authority flags, and a new --recovery-file.
The adapter does not pull an existing checkout or run a downloaded shell script.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
linux-server, server-administration, sysadmin-routing, debian, rhel
npx claudepluginhub peterbamuhigire/linux-skills --plugin linux45 skills in this plugin
/cisco-ios-patternsUse when reading or reviewing Cisco IOS/IOS-XE configuration, selecting read-only show commands, or planning and verifying bounded router or switch configuration work. Not for Linux host networking, bulk SSH automation, or config preflight parsing; route those to linux-network-admin, netmiko-ssh-automation, or network-config-validation./linux-access-controlUse when creating, revoking, or auditing Linux users, groups, SSH keys, sudo/wheel access, PAM settings, SELinux user mappings, or file permissions. Use linux-secrets for credential material and linux-server-hardening for broader host policy./linux-archive-integrityUse when creating, signing, encrypting, listing, comparing, or restoring metadata-preserving tar archives on Debian/Ubuntu or RHEL-family hosts. Covers ACLs, xattrs, incrementals, and verification; use linux-rsync-sync for file-tree mirrors./linux-auditd-rulesUse when inspecting, designing, testing, persisting, or querying auditd rules for forensic attribution on Debian/Ubuntu or RHEL-family hosts. Covers watches, syscalls, loss, and immutable mode; use linux-file-integrity for drift and linux-benchmark-scanning for scoring./linux-bash-scriptingUse when writing or reviewing portable sk-* Bash scripts for this engine, including common.sh primitives, flags, preview mode, and safety gates; use linux-repo-sync for Git-update behaviour and not for one-off commands./linux-benchmark-scanningUse when running read-only OpenSCAP or Lynis scans, selecting distro-matched profiles, interpreting failures, or drafting remediation on Debian/Ubuntu or RHEL-family hosts. Use linux-auditd-rules for attribution and linux-file-integrity for AIDE drift.Other plugins' skills for the same job