system-info
System 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
More from ukgovernmentbeis/inspect_ai
disk-usage
Analyze disk space usage, filesystem mounts, and storage allocation on Linux systems. Identifies large files and directories, checks partition usage, and reports inode consumption. Use when the user asks about disk full errors, free space, storage usage, du/df output, finding large files, or checking which directories consume the most space.
65network-info
Gather network configuration and connectivity details on Linux including interfaces, IP addresses, routing tables, DNS settings, and listening ports. Use when the user asks about IP configuration, network interfaces, connection issues, DNS resolution, open ports, routing, or network troubleshooting.
60secret-code
Retrieve a secret code by reading a bundled asset file and executing a companion script. Use when the user asks to reveal, decode, or look up the secret code from this skill's assets.
50