sysadmin
Skill này làm gì
Skill này hướng dẫn quản trị hệ thống hằng ngày, gồm kiểm tra mức sử dụng tài nguyên, quản lý dịch vụ và đọc nhật ký trên Linux, macOS và Windows. Skill dành cho người tự quản lý máy chủ hoặc máy trạm của mình.
Khi nào nên dùng
- ✓Khi một máy tính hoặc máy chủ chậm và bạn cần tìm xem cái gì đang tiêu tốn tài nguyên.
- ✓Khi một dịch vụ đã dừng và nhật ký của nó cần được kiểm tra.
- ✓Khi dung lượng đĩa sắp hết và bạn cần tìm các file lớn.
Liên kết skill
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Đĩa của máy chủ Linux của tôi gần đầy. Hãy giúp tôi tìm xem cái gì đang chiếm dung lượng, nhưng chưa xóa gì cả.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill bắt đầu bằng các lệnh chẩn đoán an toàn, giải thích vì sao dùng từng lệnh, sao lưu file cấu hình trước khi thay đổi và hỏi ý kiến bạn trước mọi bước có tính phá hủy.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 Monitororvm_stat(macOS);taskmgr,Get-Process(Windows). - Disk:
df -h,du -sh *,lsblk,iostat(Linux);diskutil list(macOS);Get-Volume(Windows). - Network:
ss -tlnpornetstat -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 --failedto find broken services.
Security Hardening
- Disable root SSH login. Use key-based authentication only.
- Configure
ufworiptables/nftablesto allow only necessary ports. - Keep systems updated:
apt update && apt upgrade,yum update,brew upgrade. - Use
fail2banto protect against brute-force attacks. - Audit running services with
ss -tlnpand disable anything unnecessary.
Pitfalls to Avoid
- Never run
chmod -R 777— it is a security disaster. Use the minimum permissions needed. - Never edit
/etc/sudoersdirectly — always usevisudo. - Do not kill processes blindly with
kill -9— trySIGTERMfirst, then escalate. - Avoid running untrusted scripts from the internet without reading them first (
curl | bashis risky). - Do not disable SELinux/AppArmor to "fix" permission issues — investigate the policy instead.
Câu hỏi thường gặp
Nó có tự xóa file cho tôi không?
Skill ưu tiên các lệnh chẩn đoán trước và nói rằng thao tác phá hủy cần bạn xác nhận.
Vì sao phải sao lưu file cấu hình?
Bản sao lưu giúp bạn quay lại cấu hình đang chạy tốt nếu một lần chỉnh sửa gây ra sự cố.
Nó có chạy được trên nhiều hệ thống không?
Có. Skill liệt kê lệnh cho Linux, macOS và Windows, vì cú pháp khác nhau theo nền tảng.
Chi tiết
Mô tả gốc của tác giả
System administration expert for Linux, macOS, Windows, services, and monitoring
repo: RightNow-AI/openfang
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10715
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/7/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-automation
18kDạy agent của bạn điều khiển trình duyệt web bằng Playwright, dùng bộ chọn CSS để tìm nút, biểu mẫu và liên kết.
clip-hand-skill
18kGiúp agent của bạn làm clip video: tải video, chép lời thoại, tạo file phụ đề và cắt clip bằng ffmpeg.
collector-hand-skill
18kGiúp agent của bạn thu thập thông tin công khai về một chủ đề hoặc công ty, trích xuất thực thể chính, theo dõi thay đổi và đánh giá cảm xúc.
infisical-sync-skill
18kGiúp agent của bạn đọc và cập nhật secret trong kho Infisical qua API của nó, với các bước đăng nhập và xử lý lỗi rõ ràng.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.