skills/linux/SKILL.md
Expert-level Linux system administration, diagnosis, and configuration
npx skillsauth add abhishekojha38/dobby.ai Linux ExpertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.tools
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'.
development
Open persistent terminal sessions and run interactive commands (docker, ssh, builds, REPLs) using tmux.
development
Persist and recall information across sessions using MEMORY.md and HISTORY.md
tools
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.