Agent skill
localsetup-system-info
Quick system diagnostics: CPU, memory, disk, uptime. Use when capturing server baseline or recording host layout and specs for further operations.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/localsetup-system-info
Metadata
Additional technical details for this skill
- version
- 1.1
SKILL.md
System info
Quick system diagnostics covering CPU, memory, disk, and uptime. Uses standard Linux utilities that are typically available. Use when you need a baseline snapshot of a server (layout, specs, installed software hints) to record for later operations.
Commands
Run via your platform's command or terminal (e.g. shell tool, exec, or run command):
# CPU
lscpu
# or: cat /proc/cpuinfo
# Memory
free -h
# Disk
df -h
# Uptime
uptime
For a single combined snapshot, run in order: lscpu, free -h, df -h, uptime. Capture output to a file or paste into your baseline record.
Extended snapshot (maximum context, no sudo)
To get maximum context without sudo or extra dependencies, use the bundled script. It uses only Python stdlib and commands/files readable by unprivileged users (no network, no write).
From the repo root (or with the skill directory as cwd):
python3 _localsetup/skills/localsetup-system-info/scripts/system_snapshot.py
Output is GFM markdown to stdout. It includes: identity and time, OS release, uptime and load, CPU, memory, disk and block devices, network (ip addr/route, resolv.conf), sessions (w/who), loaded kernel modules sample, and runtimes in PATH (e.g. python3, node). Redirect to a file to save a baseline, e.g. ... > baseline.md.
If you prefer not to run the script, you can run these manually (all no sudo):
hostname;uname -a;date -Isecondscat /etc/os-releaseuptime;cat /proc/loadavg;cat /proc/uptimelscpu(orcat /proc/cpuinfo)free -h;cat /proc/meminfodf -h;df -i;lsblk -o NAME,SIZE,TYPE,MOUNTPOINT;cat /proc/partitionsip -br addr;ip route;cat /etc/resolv.confworwhocat /proc/modules(sample)which python3 node;python3 --version;node --version(if needed)
Install
No installation needed. The quick commands use free, df, uptime, and lscpu (or /proc); the extended script uses Python 3.10+ stdlib only. On minimal images, install util-linux if lscpu or lsblk is missing.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?