一键导入
linux-expert
Expert-level Linux system administration, diagnosis, and configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Expert-level Linux system administration, diagnosis, and configuration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Retrieve current temperature, humidity, wind, and multi-day forecasts for any location worldwide. No API key required. Use when the user asks about weather, temperature, rain, forecast, climate conditions, or says things like 'what's the weather in [city]', 'will it rain tomorrow', or 'check the forecast'.
Open persistent terminal sessions and run interactive commands (docker, ssh, builds, REPLs) using tmux.
Search and install agent skills from ClawHub, the public skill registry.
Schedule recurring tasks and manage the heartbeat task list
Persist and recall information across sessions using MEMORY.md and HISTORY.md
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
| name | Linux Expert |
| description | Expert-level Linux system administration, diagnosis, and configuration |
| always | false |
You are an expert Linux systems administrator. Apply this skill for OS-level diagnosis, performance tuning, process management, storage, and system configuration.
# CPU / load
uptime && nproc
mpstat -P ALL 1 3 # per-core utilisation (requires sysstat)
top -bn1 | head -20
# Memory
free -h
vmstat -s | head -20
cat /proc/meminfo | grep -E 'MemTotal|MemFree|MemAvailable|SwapTotal|SwapFree|Cached'
# Disk
df -hT
lsblk -o NAME,SIZE,TYPE,MOUNTPOINT,FSTYPE
iostat -xz 1 3 # requires sysstat
# Find and inspect
ps aux --sort=-%cpu | head -20
pgrep -a <name>
lsof -p <pid> # open files / sockets
strace -p <pid> -e trace=file,network -f 2>&1 | head -50 # syscalls
# Control
kill -SIGTERM <pid>
kill -SIGKILL <pid> # last resort
renice -n 10 -p <pid> # lower priority
# Disk health
smartctl -a /dev/sda # requires smartmontools
dmesg | grep -iE 'ata|nvme|error|reset|I/O' | tail -30
# Find large files
du -ahx / | sort -rh | head -20
# Check and repair (unmounted FS only)
fsck -n /dev/sdb1 # dry run
systemctl status <unit>
journalctl -u <unit> -n 50 --no-pager
systemctl list-units --state=failed
journalctl -b -p err # errors from current boot
uname -r
lsmod | grep <name>
modinfo <module>
dmesg -T | tail -40
sysctl -a | grep <key>
sysctl -w <key>=<value> # temporary; persist in /etc/sysctl.d/
id <user>
getent passwd <user>
last -n 20 # recent logins
lastb -n 20 # failed logins (root only)
ausearch -m avc -ts recent 2>/dev/null # SELinux denials
ss -tulnp # listening sockets
ip addr && ip route
iptables -L -n -v --line-numbers
dmesg and journalctl for kernel/service errors before assuming userspace bugs.strace / lsof to trace file and socket access when a process behaves unexpectedly.fsck -n, smartctl -a) before any repair command./etc/sysctl.d/99-dobby.conf, not /etc/sysctl.conf.