sysadmin
できること
このスキルは、LinuxやmacOS、Windowsでのリソース使用状況の確認、サービスの管理、ログの読み取りなど、日常的なシステム管理を案内します。自分のサーバーや作業用パソコンを管理する人向けです。
使う場面
- ✓コンピューターやサーバーが遅く、どのリソースを使っているかを調べる必要があるとき。
- ✓サービスが止まり、そのログを確認する必要があるとき。
- ✓ディスクの空き容量が少なくなり、大きなファイルを探す必要があるとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/sysadmin/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Linuxサーバーのディスクがほぼいっぱいです。まだ何も削除せずに、何が容量を使っているかを調べるのを手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、安全な診断コマンドから始め、各コマンドを使う理由を説明します。また、変更の前に設定ファイルをバックアップし、破壊的な操作の前には確認を求めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 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.
よくある質問
ファイルを代わりに削除しますか?
このスキルは、まず診断コマンドを使うことを優先します。また、破壊的な操作にはユーザーの確認が必要だとしています。
設定ファイルをバックアップするのはなぜですか?
編集によって問題が起きた場合に、動いていた設定に戻せるようにするためです。
システムをまたいで使えますか?
はい。このスキルは、Linux、macOS、Windowsのコマンドを挙げています。構文はプラットフォームごとに異なるためです。
詳細
作者による元の説明
System administration expert for Linux, macOS, Windows, services, and monitoring
repo: RightNow-AI/openfang
人気
- GitHubのスター
- 18k
- ランキング
- #10715
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。