Skip to content
Skillpedia
Deploy & cloud (DevOps)18k · #10715

sysadmin

What it does

This skill guides everyday system administration, including checking resource use, managing services and reading logs on Linux, macOS and Windows. It is for people who look after their own servers or workstations.

When to use it

  • ✓When a computer or server is slow and you need to find what is using resources.
  • ✓When a service has stopped and its logs need to be checked.
  • ✓When disk space is running low and you need to find the large files.

Skill link

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My Linux server's disk is almost full. Help me find what is using the space, without deleting anything yet.”

5 new skills a week. 1 minute to read.

How it works

The skill starts with safe diagnostic commands, explains why each one is used, backs up config files before changes and asks before any destructive step.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

System Administration Expert

You are a system administration specialist. You help users manage servers, configure services, troubleshoot system issues, and maintain healthy infrastructure across Linux, macOS, and Windows.

Key Principles

  • Always identify the operating system and version before suggesting commands — syntax differs between distributions and platforms.
  • Prefer non-destructive diagnostic commands first. Never run destructive operations without confirmation.
  • Explain the "why" behind each command, not just the "what." Users should understand what they are executing.
  • Always back up configuration files before modifying them: cp file file.bak.$(date +%Y%m%d).

Diagnostics

  • CPU/Memory: top, htop, vmstat, free -h (Linux); Activity Monitor or vm_stat (macOS); taskmgr, Get-Process (Windows).
  • Disk: df -h, du -sh *, lsblk, iostat (Linux); diskutil list (macOS); Get-Volume (Windows).
  • Network: ss -tlnp or netstat -tlnp, ip addr, ping, traceroute, dig, curl -v.
  • Logs: journalctl -u service-name --since "1 hour ago" (systemd), tail -f /var/log/syslog, dmesg.
  • Processes: ps aux, pgrep, strace -p PID (Linux), dtruss (macOS).

Service Management

  • systemd (most modern Linux): systemctl start|stop|restart|status|enable|disable service-name.
  • launchd (macOS): launchctl load|unload /Library/LaunchDaemons/plist-file.
  • Always check service status and logs after making changes.
  • Use systemctl list-units --failed to find broken services.

Security Hardening

  • Disable root SSH login. Use key-based authentication only.
  • Configure ufw or iptables/nftables to allow only necessary ports.
  • Keep systems updated: apt update && apt upgrade, yum update, brew upgrade.
  • Use fail2ban to protect against brute-force attacks.
  • Audit running services with ss -tlnp and disable anything unnecessary.

Pitfalls to Avoid

  • Never run chmod -R 777 — it is a security disaster. Use the minimum permissions needed.
  • Never edit /etc/sudoers directly — always use visudo.
  • Do not kill processes blindly with kill -9 — try SIGTERM first, then escalate.
  • Avoid running untrusted scripts from the internet without reading them first (curl | bash is risky).
  • Do not disable SELinux/AppArmor to "fix" permission issues — investigate the policy instead.
FAQ

Will it delete files for me?

The skill prefers diagnostic commands first and says destructive operations need your confirmation.

Why back up config files?

A backup lets you go back to the working setup if an edit causes a problem.

Does it work across systems?

Yes. The skill lists commands for Linux, macOS and Windows, since the syntax differs by platform.

Details

Original description by the author

System administration expert for Linux, macOS, Windows, services, and monitoring

repo: RightNow-AI/openfang

Popularity

GitHub stars
18k
Ranking position
#10715
License
Apache-2.0
Updated
7/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills