Przejdź do treści
Biblioteka skilli
DevOps i chmura · Automatyzacja

remote-systems-administration

/remote-systems-administration

Administruje zdalnymi systemami Linux, FreeBSD, NetBSD, OpenBSD i macOS, pojedynczo lub we flocie, przez SSH, Ansible i Paramiko: diagnostyka, usługi, aktualizacje, konfiguracja i firewall.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
21
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Administruje zdalnymi systemami Linux, FreeBSD, NetBSD, OpenBSD i macOS, pojedynczo lub we flocie, przez SSH, Ansible i Paramiko: diagnostyka, usługi, aktualizacje, konfiguracja i firewall.

Oryginalny opis (EN)

Administer and troubleshoot remote Linux, FreeBSD, NetBSD, OpenBSD, and macOS systems safely, one host or a fleet at a time. Use when a task requires SSH, Ansible, Paramiko, POSIX diagnostics, service management, software updates, system configuration, firewall changes, or evidence-led remote operations. Do not use for local-only desktop administration, container or cluster orchestration (route to kubernetes), or cloud consoles that expose no remote shell.

Jak działa

  1. Operating contract
  2. Read-only discovery handoff
  3. First response: classify the job
  4. Required preflight for every mutation
  5. Routing references
  6. Platform boundary
  7. Scope boundaries
  8. Common pitfalls
  9. Verification checklist
Sekcje z nagłówków SKILL.md, w oryginale · 106 linii, 1 232 słów
Podgląd SKILL.md
---
name: remote-systems-administration
description: >-
  Administer and troubleshoot remote Linux, FreeBSD, NetBSD, OpenBSD, and macOS systems
  safely, one host or a fleet at a time. Use when a task requires SSH, Ansible,
  Paramiko, POSIX diagnostics, service management, software updates, system
  configuration, firewall changes, or evidence-led remote operations. Do not use for
  local-only desktop administration, container or cluster orchestration (route to
  kubernetes), or cloud consoles that expose no remote shell.
license: MIT
compatibility: Requires legitimate remote access. Native SSH is the baseline; Ansible or Python with Paramiko is optional for fleet automation.
---

# Remote Systems Administration

Use this as an operating decision layer, not a bag of remote commands. Unix-like systems share a vocabulary but not an implementation. Identify the target's platform and active control plane before choosing a command.

## Operating contract

1. **Discover before changing.** Record target identity, production status, OS and release, service manager, package manager, firewall, access route, privilege path, and current state. Do not infer them from hostname, memory, or inventory labels.
2. **Use the smallest valid control plane.** Native SSH for a bounded one-host task; Ansible for repeatable desired state across a fleet; Paramiko only when a Python program genuinely needs SSH protocol control that the first two cannot provide.
3. **Protect access first.** Before changing SSH, routing, DNS, a firewall, privilege escalation, or a network interface, establish a tested rollback and a second recovery path. Keep the current session alive until the new path works.
4. **Preview, constrain, verify.** Limit the target set; use native validation, dry-run, diff, or a canary when available; then verify the affected service and its user-visible boundary. A zero exit code proves only that command ran.
5. **Report evidence, not a story.** Preserve bounded per-host results: target, command category, before/after evidence, failures, rollback state, and the remaining uncertainty. Never paste secrets, keys, full configuration files, or unbounded logs into the response.

Run the shared classification probe in `references/portable-operations.md`, then load the matching OS/family overlay and run its command preflight. Select a mutation command only after the required preflight and safety gate.

## Read-only discovery handoff

Use this compact format after a preflight. Fill a field only from observed evidence; otherwise write `unknown` or `not supplied`.

- **Target and scope:**
- **Observed platform and control planes:**
- **Bounded evidence:**
- **Unknown or blocked:**
- **Next safe action:**

## First response: classify the job

| Situation | Default path | Do not do |
|---|---|---|
| Diagnose or make one bounded change on one host | Native `ssh` with a read-only preflight and bounded command/range; do not use a live-follow stream such as `tail -f` | Do not open an interactive shell and make unrecorded edits |
| Repeat the same desired state across hosts | Ansible inventory + playbook, canary/serial rollout | Do not loop `ssh` blindly across production hosts |
| Python must coordinate SSH channels, SFTP, or a custom protocol flow | Paramiko with strict host-key verification and explicit timeouts | Do not disable host-key checks or turn a script into ad hoc fleet control |
| The platform/control plane is unknown | Run bounded discovery from `references/portable-operations.md` | Do not use `systemctl`, `apt`, `pfctl`, or `launchctl` based on a guess |
| Change affects connectivity, firewall, authentication, reboot, storage, or deletion | Load `references/safety-and-verification.md` first | Do not mutate before a rollback and recovery path are explicit |

## Required preflight for every mutation

Before the first state-changing command, confirm:

- exact host(s), environment, and authorized scope;
- OS/release and applicable platform overlay;
- service manager, package manager, firewall implementation, and configuration owner;
- access identity, elevation method, and whether the connection traverses a bastion;
- intended state, expected blast radius, rollback command or artifact, and stop condition;
- validation at both the component layer and the relevant external boundary.

> **Connectivity/access pre-execution gate:** explicitly name authorization, retained session, independent recovery path, tested rollback, stop condition, and component plus external-boundary verification. If any is unknown, stop before execution.

Read-only discovery may proceed without confirmation. **Read-only means no persistent state:** do not create rollback scripts or captures, stage update metadata, alter files, or call a state-changing operation `preflight`. Stop once the needed platform and control-plane evidence is established. Destructive actions, privilege changes, firewall/remote-access changes, package removals, storage operations, and reboot/shutdown require an explicit directive after this preflight.

## Routing references

| Need | Load | File |
|---|---|---|
| SSH, POSIX diagnostics, bounded output, file transfer, logs, and host discovery | Portable operations | `references/portable-operations.md` |
| Ansible administration, inventories, roles, collections, secrets, linting, Molecule, rollout, troubleshooting, or platform-specific automation | Ansible administration | `references/ansible.md` (index → `ansible-administration-and-safety.md`, `ansible-runbooks-and-advanced-operations.md`) |
| Paramiko, or a compact comparison of fleet-control choices and result-accounting requirements | Fleet automation | `references/fleet-automation.md` |
| Linux classification, init discovery, cross-family safety, or an unknown/minimal derivative | Linux classification | `references/linux.md` |
| Debian, Ubuntu, or an APT/dpkg host after release and ownership discovery | Debian/Ubuntu overlay | `references/linux-debian-ubuntu.md` |
| RHEL, Fedora, or a compatible RPM/DNF host after vendor support and lifecycle discovery | RHEL/Fedora overlay | `references/linux-rhel-fedora.md` |
| SLES, openSUSE, or a zypper/RPM host, including transactional-root discovery | SUSE overlay | `references/linux-suse.md` |
| Arch Linux or an Arch-derived pacman host after support/repository discovery | Arch overlay | `references/linux-arch.md` |
| Alpine Linux or an apk/OpenRC host after persistence-mode discovery | Alpine overlay | `references/linux-alpine.md` |
| FreeBSD rc(8), rc.conf, pkg, jails, and pf/ipfw routing | FreeBSD overlay | `references/freebsd.md` |
| NetBSD rc.d, rc.conf, service, and pkgsrc routing | NetBSD overlay | `references/netbsd.md` |
| OpenBSD rcctl, rc.conf.local, pkg_add, syspatch, and pf | OpenBSD overlay | `references/openbsd.md` |
| launchd, softwareupdate, configuration profiles, pf, and macOS operational limits | macOS overlay | `references/macos.md` |
| Mutation gates, safety classes, rollback, and verification evidence | Safety and verification | `references/safety-and-verification.md` |
| Primary documentation and source freshness | Source index | `references/source-index.md` |

## Platform boundary

Do not flatten platform differences:

- `systemctl` is not a BSD or macOS service manager.
- `rcctl` is OpenBSD-specific; FreeBSD uses rc scripts and `service`.
- `launchctl` domains and labels are not systemd units.
- `apt`, `dnf`, `pacman`, `pkg`, `pkg_add`, `softwareupdate`, and `brew` have different update, rollback, and package-origin semantics.
- Linux nftables, BSD PF, and the macOS Application Firewall are separate control planes. Never translate rules mechanically.

## Scope boundaries

This skill covers host-level Unix operations. Route containers to `docker-compose`, clusters to `kubernetes`, encrypted tailnet policy to `tailscale`, detection/remediation components to `crowdsec`, and reliability process design to `site-reliability-engineering`.

It does not authorize credential recovery, security-boundary bypass, production deletion, provider-console operations, or an unreviewed operating-system upgrade.

## Common pitfalls

1. **Running the right command on the wrong platform.** Discover the service/package/firewall manager before acting.
2. **Treating an SSH connection as proof of authority.** Connection success does not confirm sudo policy, host identity, or authorization for the change.
3. **Using `StrictHostKeyChecking=no` or Paramiko `AutoAddPolicy`.** An unknown host key is an identity event, not a convenience prompt.
4. **Parallelizing first.** Establish the procedure on one canary, then roll out in bounded batches with a stop condition.
5. **Calling a service healthy because it started.** Check process/unit state, logs, listening endpoint, and the relevant dependent or external boundary.
6. **Confusing package upgrades with OS upgrades.** Platform release lifecycle, kernel/base-system updates, and third-party packages have different procedures.
7. **Repairing a remote host through an access-path change without a rollback.** Preserve a live session and independent recovery channel.

## Verification checklist

- [ ] Target and platform were discovered from the live host.
- [ ] Mutation had explicit scope, rollback, and recovery path.
- [ ] The control plane matched the target platform.
- [ ] Fleet work used an inventory, bounded concurrency, and a stop condition.
- [ ] Sensitive values and unbounded output were excluded from evidence.
- [ ] Verification covered the changed component and its relevant external boundary.
- [ ] Per-host success, failure, and rollback status are explicit.
Pliki w paczce (21)
  • README.md 4 KB
  • SKILL.md 9 KB
  • evals/evals.json 11 KB
  • references/ansible-administration-and-safety.md 29 KB
  • references/ansible-runbooks-and-advanced-operations.md 30 KB
  • references/ansible.md 5 KB
  • references/fleet-automation.md 5 KB
  • references/freebsd.md 9 KB
  • references/linux-alpine.md 8 KB
  • references/linux-arch.md 9 KB
  • references/linux-debian-ubuntu.md 10 KB
  • references/linux-rhel-fedora.md 10 KB
  • references/linux-suse.md 9 KB
  • references/linux.md 9 KB
  • references/macos.md 10 KB
  • references/netbsd.md 9 KB
  • references/openbsd.md 9 KB
  • references/portable-operations.md 5 KB
  • references/safety-and-verification.md 4 KB
  • references/source-index.md 12 KB
  • templates/remote-change-plan.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie remote-systems-administration.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 4a57103b92af (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90remote-host-diagnostics
    Diagnozuje stan zdalnego hosta przez SSH, Ansible i skanowanie sieci, gdy serwer lub maszyna wirtualna działa źle.
  • 100linux-administration
    Prowadzi administrację serwerami Linux: zarządzanie pakietami, usługami i konfiguracją systemu.
  • 100linux-administration
    Prowadzi administrację serwerami Linux: zarządzanie pakietami, usługami i konfiguracją systemu.
  • 100linux-administration
    Prowadzi administrację serwerami Linux: zarządzanie pakietami, usługami i konfiguracją systemu.
  • 100ssh-remote-connection
    Łączy się przez SSH ze zdalnymi serwerami, aby wykonywać polecenia, sprawdzać logi, restartować usługi i zarządzać kontenerami Docker.
  • 90ssh-remote-operations
    Wykonuje operacje DevOps na zdalnych serwerach przez konfigurację SSH w katalogu projektu, bez ujawniania kluczy i haseł.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.