system-info
获取包括操作系统、内核、CPU和内存详情在内的详细系统信息
📖 中文导读:获取包括操作系统、内核、CPU和内存详情在内的详细系统信息 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: system-info description: Get detailed system information including OS, kernel, CPU, and memory details
System Information Skill
Use this skill to gather comprehensive system information about the Linux host.
Quick Start
Run the included script for a complete system overview:
./scripts/sysinfo.sh
Manual Commands
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 provides structured output suitable for parsing - Use
lscpufor the most readable CPU information - Memory values in
/proc/meminfoare in kilobytes