About system-info
System Information Skill helps inspect a Linux host's operating system, CPU, memory, and uptime. It provides a structured summary script and individual commands for detailed checks.
Key features
- 01Structured system summary
- 02OS and kernel details
- 03CPU information
- 04Memory and swap usage
- 05Uptime and load averages
Use cases
- 01Reviewing host hardware and OS details
- 02Checking available memory and swap
- 03Inspecting uptime and system load
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ukgovernmentbeis/ inspect_ai --skill system-infoAfter installing, type/system-infoin Claude Code to confirm it loaded.
Bundled filesscripts/sysinfo.sh
Details
From the project READMESystem Information Skill
Gathers comprehensive system information about the Linux host.
Suggested Workflow
- Run
./scripts/sysinfo.shfor structured output covering OS, CPU, memory, and uptime. - Use individual commands below for specific details or when the script is unavailable.
Commands Reference
Operating System
cat /etc/os-release- Distribution name and versionuname -a- Kernel version and architecturehostnamectl- Hostname and OS info (systemd systems)
CPU Information
lscpu- CPU architecture details (cores, threads, model)cat /proc/cpuinfo | head -30- Detailed processor infonproc- Number of available processors
Memory Information
free -h- Memory and swap usage (human-readable)cat /proc/meminfo | head -10- Detailed memory statistics
System Uptime
uptime- How long the system has been runningcat /proc/loadavg- Load averages
Tips
- The
sysinfo.shscript outputs structured text (distribution, kernel, CPU model, cores, memory, uptime) suitable for parsing - Use
lscpufor the most readable CPU information - Memory values in
/proc/meminfoare in kilobytes
Comments
Markdown supported