agentleFS
ihgalisihgalis/agentic-ai-tweaks/skills/sysadmin/SKILL.md

sysadmin

Skill0 starsChanged 6 months agoMITView on GitHub

Host and container operations skill. Use for OS/network/storage/security, users/SSH/firewall/updates/systemd/DNS/time, Docker host prep, Docker Compose stacks, reverse proxies, container health checks, and deployment operations.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. rloisell/rl-agents-n-skills★ 8same name
    2. zakirkun/slayerclaw★ 8same name
    3. adrienlupo/Claude-code-config★ 3same name
    4. paleo/skills★ 1same name
    5. openparallax/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat host and container work as one operational surface: check exposure, persistence, logs, backups, and rollback before changing services.

    line 10
  2. Distinctive:

    Ensure the host baseline is sane: updates, firewall, LAN-only exposure, storage for volumes, time sync.

    line 17
  3. Distinctive:

    Write or adjust Docker Compose, add health checks, attach internal networks, put HTTP/HTTPS behind a reverse proxy, and verify endpoints.

    line 18
  4. Very specific:

    Add user to docker group (or document sudo usage)

    line 46
  5. Very specific:

    Prefer binding admin services to a specific LAN IP, not 0.0.0.0.

    line 62
  6. Very specific:

    Prefer a reverse proxy (Caddy/Traefik/nginx) as the single exposed ingress.

    line 63
  7. Distinctive:

    When managing containerized services, Sysadmin:

    line 68
  8. Distinctive:

    When something must run on the host (rare), Sysadmin:

    line 81

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sysadmin

  • Sysadmin owns: OS packages/updates, users & SSH, firewalling, DNS/time, disks/filesystems, backups, system services, kernel/sysctl, host security posture, Docker host setup, Docker Compose stacks, reverse proxies, container networking, container health checks, and deployment operations.
  • Treat host and container work as one operational surface: check exposure, persistence, logs, backups, and rollback before changing services.

Examples first

Example: "Deploy Paperless with docker and make it reachable safely"

Typical sysadmin-owned flow:

  • Ensure the host baseline is sane: updates, firewall, LAN-only exposure, storage for volumes, time sync.
  • Write or adjust Docker Compose, add health checks, attach internal networks, put HTTP/HTTPS behind a reverse proxy, and verify endpoints.

Security Deployment (from security-deploy)

Automated security hardening, HTTPS certificate management, firewall configuration, access control, audit reporting, and secure container patterns.

Cron Jobs

  • Auto-renewal: daily at 03:17
  • Firewall reload: weekly
  • Audit report: weekly on Monday 06:00

Core workflows

1) Host baseline (before deploying anything)

Checklist:

  • OS updates applied (security patches)
  • Time sync working (chrony/systemd-timesyncd)
  • Hostname + local DNS//etc/hosts sanity
  • SSH hardened (keys, no password auth if appropriate)
  • Firewall configured (UFW/nftables); avoid 0.0.0.0 binds for admin UIs
  • Storage plan: where Docker volumes live; disk space monitored
  • Backups: at least "config + volumes + database dumps" plan

2) Docker host preparation

Sysadmin responsibilities:

  • Install Docker Engine + Compose plugin
  • Add user to docker group (or document sudo usage)
  • Configure:
    • log rotation / journald
    • firewall rules for only intended LAN ports
    • optional kernel/sysctl tuning (only when required)

Verification commands (read-only):

docker version
docker compose version
docker info

3) Firewall and exposure rules (LAN-safe defaults)

Rules of thumb:

  • Prefer binding admin services to a specific LAN IP, not 0.0.0.0.
  • Prefer a reverse proxy (Caddy/Traefik/nginx) as the single exposed ingress.
  • For internal-only backends: use internal Docker networks plus host firewall rules.

4) Container stacks and reverse proxies

When managing containerized services, Sysadmin:

  • creates or adjusts docker-compose.yml / compose.yml
  • defines volumes, networks, restart policies, health checks, and environment handling
  • keeps HTTP/HTTPS services behind Caddy, nginx, Traefik, or the existing reverse-proxy stack
  • avoids broad direct port publishing unless Andre explicitly approves it
  • verifies with docker compose config, docker compose ps, service logs, and endpoint checks

5) Container build and CI/CD-adjacent operations

Sysadmin may build/update images, install required host or language packages, and prepare deployment scripts when needed. Prefer official package sources, verify downloads when checksums/signatures exist, and document how to reproduce the build.

6) Systemd + service lifecycle (non-container services)

When something must run on the host (rare), Sysadmin:

  • creates/edits unit files
  • sets restart policies
  • collects logs via journalctl

7) Backups and restore drills

Baseline approach:

  • Configs: Git + encrypted secrets handling
  • Volumes: snapshot/rsync/tar (service-by-service)
  • Databases: scheduled dumps + restore test

Sysadmin's job is to make sure restore is actually possible (periodic drill).

Operational task format

For host or container operations, the orchestrator should route a subtask like:

"Prepare <host|stack>: ensure ports, firewall, storage, DNS/time, Docker/Compose prerequisites, reverse proxy, health checks, and backup/restore assumptions are correct. Return: checklist + evidence commands + any required changes."

Return format:

  • status: success|blocked|failed
  • evidence: commands/logs/files inspected
  • changes: what was changed (if any)
  • risks: remaining exposures or open loops

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.