Back to skills
SkillHub ClubShip Full StackFull Stack

system-info

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

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
1,841
Hot score
99
Updated
March 20, 2026
Overall rating
C5.1
Composite score
5.1
Best-practice grade
A88.0

Install command

npx @skill-hub/cli install ukgovernmentbeis-inspect-ai-system-info

Repository

UKGovernmentBEIS/inspect_ai

Skill path: examples/skills/skills/system-info

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

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: UKGovernmentBEIS.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install system-info into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/UKGovernmentBEIS/inspect_ai before adding system-info to shared team environments
  • Use system-info for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw 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:

```bash
./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


---

## Referenced Files

> The following files are referenced in this skill and included for context.

### scripts/sysinfo.sh

```bash
#!/bin/bash
# System Information Script
# Outputs comprehensive system details in a structured format

echo "=== SYSTEM INFORMATION ==="
echo

echo "--- Operating System ---"
if [ -f /etc/os-release ]; then
    . /etc/os-release
    echo "Distribution: $NAME $VERSION"
else
    echo "Distribution: Unknown"
fi
echo "Kernel: $(uname -r)"
echo "Architecture: $(uname -m)"
echo

echo "--- CPU Information ---"
if command -v lscpu &> /dev/null; then
    echo "Model: $(lscpu | grep 'Model name' | cut -d: -f2 | xargs)"
    echo "Cores: $(lscpu | grep '^CPU(s):' | cut -d: -f2 | xargs)"
    echo "Threads per core: $(lscpu | grep 'Thread(s) per core' | cut -d: -f2 | xargs)"
else
    echo "CPU: $(cat /proc/cpuinfo | grep 'model name' | head -1 | cut -d: -f2 | xargs)"
    echo "Processors: $(nproc)"
fi
echo

echo "--- Memory Information ---"
if command -v free &> /dev/null; then
    free -h | head -2
else
    echo "Total: $(grep MemTotal /proc/meminfo | awk '{print $2/1024/1024 " GB"}')"
    echo "Available: $(grep MemAvailable /proc/meminfo | awk '{print $2/1024/1024 " GB"}')"
fi
echo

echo "--- System Uptime ---"
uptime

```

system-info | SkillHub