instances/xiaodazi/skills/system-info/SKILL.md
Quick system diagnostics — CPU, memory, disk, uptime, and running processes.
npx skillsauth add malue-ai/dazee-small system-infoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
快速获取系统状态:CPU、内存、磁盘、运行时间、进程信息。帮助用户了解电脑运行状况。
根据操作系统选择对应命令集。
# 系统概览
uname -a
# CPU 信息
# macOS
sysctl -n machdep.cpu.brand_string
sysctl -n hw.ncpu
# Linux
lscpu | head -20
# 内存使用
# macOS
vm_stat | head -10
sysctl -n hw.memsize | awk '{printf "Total: %.1f GB\n", $1/1073741824}'
# Linux
free -h
# 磁盘使用
df -h /
# 系统运行时间
uptime
# Top 10 内存占用进程
ps aux --sort=-%mem 2>/dev/null | head -11 || ps aux -m | head -11
# Top 10 CPU 占用进程
ps aux --sort=-%cpu 2>/dev/null | head -11 || ps aux -r | head -11
# macOS 电池状态(笔记本)
pmset -g batt 2>/dev/null
# 系统概览
Get-ComputerInfo | Select-Object CsName, OsName, OsArchitecture, CsProcessors, OsTotalVisibleMemorySize
# CPU 信息
Get-CimInstance Win32_Processor | Select-Object Name, NumberOfCores, NumberOfLogicalProcessors, MaxClockSpeed
# 内存使用
$os = Get-CimInstance Win32_OperatingSystem
[PSCustomObject]@{
TotalGB = [math]::Round($os.TotalVisibleMemorySize/1MB, 1)
FreeGB = [math]::Round($os.FreePhysicalMemory/1MB, 1)
UsedPercent = [math]::Round(($os.TotalVisibleMemorySize - $os.FreePhysicalMemory) / $os.TotalVisibleMemorySize * 100, 1)
}
# 磁盘使用
Get-PSDrive -PSProvider FileSystem | Select-Object Name,
@{N='Used(GB)';E={[math]::Round($_.Used/1GB,1)}},
@{N='Free(GB)';E={[math]::Round($_.Free/1GB,1)}}
# 运行时间
(Get-Date) - (Get-CimInstance Win32_OperatingSystem).LastBootUpTime | Select-Object Days, Hours, Minutes
# Top 10 内存占用进程
Get-Process | Sort-Object WorkingSet64 -Descending |
Select-Object -First 10 Name, @{N='MemMB';E={[math]::Round($_.WorkingSet64/1MB,1)}}, CPU
# Top 10 CPU 占用进程
Get-Process | Sort-Object CPU -Descending |
Select-Object -First 10 Name, @{N='CPU(s)';E={[math]::Round($_.CPU,1)}}, @{N='MemMB';E={[math]::Round($_.WorkingSet64/1MB,1)}}
# 电池状态(笔记本)
Get-CimInstance Win32_Battery 2>$null | Select-Object EstimatedChargeRemaining, BatteryStatus
生成简洁的系统状态报告:
## 系统状态
| 项目 | 信息 |
|---|---|
| 系统 | macOS 15.3 / Windows 11 / Ubuntu 24.04 |
| CPU | Apple M3 Pro (12 核) |
| 内存 | 12.5 / 18 GB (69%) |
| 磁盘 | 187 / 512 GB 可用 (63% 已用) |
| 运行时间 | 3 天 5 小时 |
| 电池 | 78%,正在充电 |
### 资源占用 Top 5
| 进程 | 内存 | CPU |
|---|---|---|
| Chrome | 2.3 GB | 12% |
| ... | ... | ... |
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.