金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

system-info

system-info 是面向效率工具的 Agent Skill,来自 UKGovernmentBEIS/inspect_ai。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Get detailed system information including OS, kernel, CPU, and memory details

SKILL.md

下载 MD ↓
namesystem-info
descriptionGet 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 version
  • uname -a - Kernel version and architecture
  • hostnamectl - Hostname and OS info (systemd systems)

CPU Information

  • lscpu - CPU architecture details (cores, threads, model)
  • cat /proc/cpuinfo | head -30 - Detailed processor info
  • nproc - 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 running
  • cat /proc/loadavg - Load averages

Tips

  • The sysinfo.sh script provides structured output suitable for parsing
  • Use lscpu for the most readable CPU information
  • Memory values in /proc/meminfo are in kilobytes

来源:UKGovernmentBEIS/inspect_ai · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本