Iván

Sysadmin

IT Ops & Securityv1.0.0
By IvánUpdated 2026-05-11sysadmin@clawhub_ivangdavila/sysadmin
Server OpsPermission Checks#System Administration

According to AlphaMoat, as of 2026-09, Sysadmin has 4,213 downloads and 5 stars — ranked #2,368 of 5,078 AI skills overall, and #135 of 264 in IT Ops & Security.

Installs
253
Downloads
4.2K
Stars
5
Overall Rank
#2,368
Top 47% overall · Top 52% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1354.2K4-
SkillHub ↗2534.2K5—

Platforms count differently and update at different times.

What this skill does

Provide operational guidance for Linux user management, process control, storage, and maintenance, emphasizing least privilege and auditability. Commands can change accounts and services, so check the target host, permissions, and command scope before execution.

Profile published 2026-10-27

What you can do with it

  • Get Linux administration guidance
  • Review account, process, or storage maintenance plans

When to use it

  • When planning Linux server administration
  • Before running commands that change system state

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Suggest a least-privilege approach to managing this Linux service without executing commands.
Review the impact and rollback plan for these account-management commands.

Monthly Trend

Downloads4.2K
2.5K3.4K4.3K2026-03 · Downloads 2.7K2026-05 · Downloads 3.3K2026-06 · Downloads 3.5K2026-07 · Downloads 3.8K2026-08 · Downloads 4.1K2026-09 · Downloads 4.2K26-0326-09
Stars5
3452026-03 · Stars 32026-05 · Stars 52026-06 · Stars 42026-07 · Stars 52026-08 · Stars 52026-09 · Stars 526-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.2K—5
2026-084.1K+6.1%5
2026-073.8K+9.1%5
2026-063.5K+5.3%4
2026-053.3K—5
2026-032.7K—3

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.5 KB · ClawHub v1.0.0
---
name: Sysadmin
description: Manage Linux servers with user administration, process control, storage, and system maintenance.
metadata: {"clawdbot":{"emoji":"🖥️","os":["linux","darwin"]}}
---

# System Administration Rules

## User Management
- Create service accounts with `--system` flag — no home directory, no login shell
Show all (79 lines)
- `sudo` with specific commands, not blanket ALL — principle of least privilege
- Lock accounts instead of deleting: `usermod -L` — preserves audit trail and file ownership
- SSH keys in `~/.ssh/authorized_keys` with restrictive permissions — 600 for file, 700 for directory
- `visudo` to edit sudoers — catches syntax errors before saving, prevents lockout

## Process Management
- `systemctl` for services, not `service` — systemd is standard on modern distros
- `journalctl -u service -f` for live logs — more powerful than tail on log files
- `nice` and `ionice` for background tasks — don't compete with production workloads
- Kill signals: SIGTERM (15) first, SIGKILL (9) last resort — SIGKILL doesn't allow cleanup
- `nohup` or `screen`/`tmux` for long-running commands — SSH disconnect kills regular processes

## File Systems and Storage
- `df -h` for disk usage, `du -sh *` to find culprits — check before disk fills completely
- `lsof +D /path` finds processes using a directory — needed before unmounting
- `ncdu` for interactive disk usage — faster than repeated du commands
- Mount options matter: `noexec`, `nosuid` for security on data partitions
- Resize filesystems with care: grow is safe, shrink risks data loss — always backup first

## Logs and Monitoring
- `logrotate` prevents disk fill — configure size limits and retention
- Centralize logs to external system — local logs lost if server dies
- `/var/log/auth.log` or `/var/log/secure` for login attempts — watch for brute force
- `dmesg` for kernel messages — hardware errors, OOM kills appear here
- Monitor inode usage, not just disk space — many small files exhaust inodes

## Permissions and Security
- `chmod 600` for secrets, `640` for configs, `644` for public — world-writable is almost never correct
- Sticky bit on shared directories (`chmod +t`) — users can only delete their own files
- `setfacl` for complex permissions — when traditional owner/group/other isn't enough
- `chattr +i` makes files immutable — even root can't modify without removing flag
- SELinux/AppArmor in enforcing mode — permissive logs but doesn't protect

## Package Management
- `apt update` before `apt upgrade` — upgrade without update uses stale package lists
- Unattended security updates: `unattended-upgrades` — critical patches shouldn't wait
- Pin package versions in production — unexpected upgrades cause unexpected outages
- Remove unused packages: `apt autoremove` — reduces attack surface and disk usage
- Know your package manager: apt/yum/dnf/pacman — commands differ, concepts similar

## Backups
- Test restores regularly — backups that can't restore are worthless
- Include package lists and configs, not just data — recreating environment is painful
- Offsite backups mandatory — local backups don't survive disk failure or ransomware
- Backup before any risky change — "I'll just quickly edit" famous last words
- Document restore procedure — 3am disaster is wrong time to figure it out

## Performance
- `top`/`htop` for live view, `vmstat` for trends — understand baseline before diagnosing
- `iotop` for disk I/O bottlenecks — slow disk often blamed on CPU
- Load average: 1.0 per core is healthy — consistently higher means queuing
- Swap usage isn't inherently bad — but consistent swapping indicates memory shortage
- `sar` for historical data — retroactively diagnose what happened during incident

## Networking Basics
- `ss -tulpn` shows listening ports — `netstat` is deprecated
- `ip addr` and `ip route` replace `ifconfig` and `route` — learn the new tools
- Check both host firewall and cloud security groups — traffic blocked at either level fails
- `/etc/hosts` for local overrides — quick testing without DNS changes
- `curl -v` shows full connection details — headers, timing, TLS handshake

## Common Mistakes
- Running services as root — one exploit owns the system
- No monitoring until something breaks — reactive is expensive
- Editing config without backup — `cp file file.bak` takes two seconds
- Rebooting to "fix" issues — masks the problem, it'll return
- Ignoring disk space warnings — 100% full causes cascading failures
- Forgetting timezone configuration — logs from different servers don't correlate

Popular in IT Ops & Security

More from Iván

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.