系统信息速查手册

系统信息速查手册 is a skill for Claude Code from CavinHuang/lume. It costs 40 tokens per session (1,009 once invoked), scanned A, original, MIT.

A macOS command reference for checking system information with Bash, the command-line shell. It covers hardware, storage, network details, running processes, performance, and battery information.

In plain words
What is it for?
Use it to check the macOS version, chip, CPU cores, memory, disk usage, IP addresses, DNS, network connections, listening ports, Wi-Fi, and top processes.
Why use it?
It gives developers ready-to-use commands instead of requiring them to remember which system utilities provide each detail. It helps inspect a Mac when diagnosing performance, storage, or connectivity issues.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it to check the macOS version, chip, CPU cores, memory, disk usage, IP addresses, DNS, network connections, listening ports, Wi-Fi, and top processes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cavinhuang/lume/system-info
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CavinHuang/lume --skill system-info
Clone the repo
git clone --depth 1 https://github.com/CavinHuang/lume

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 系统信息速查手册

README.md
[![agentmods](https://agentmods.dev/badge/skills/cavinhuang/lume/system-info.svg)](https://agentmods.dev/skills/cavinhuang/lume/system-info)
Your own site
<a href="https://agentmods.dev/skills/cavinhuang/lume/system-info"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/system-info.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01009
Opus 5 $0.00020 $0.00504
Sonnet 5 $0.00008 $0.00202
Haiku 4.5 $0.00004 $0.00101

Measured 8d ago against content hash 2c42558e8a69, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

系统信息速查手册 scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| 公网 IP | `curl -s https://ifconfig.me` |
apps/sidecar/default-skills/system-info/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

系统信息 Bash 命令速查

以下命令均适用于 macOS,直接通过 bash 工具执行即可。

硬件与系统

需求 命令
macOS 版本 sw_vers
芯片型号 sysctl -n machdep.cpu.brand_string
CPU 核心数 sysctl -n hw.ncpu
内存总量 sysctl -n hw.memsize | awk '{print $0/1073741824 " GB"}'
硬件概要 system_profiler SPHardwareDataType
运行时间 uptime
主机名 hostname

磁盘空间

需求 命令
磁盘使用总览 df -h /
当前目录大小 du -sh .
目录空间排行 du -sh * | sort -rh | head -20
Homebrew 缓存 du -sh ~/Library/Caches/Homebrew 2>/dev/null
node_modules 扫描 find ~ -name node_modules -type d -maxdepth 5 2>/dev/null | head -10

网络

需求 命令
局域网 IP ipconfig getifaddr en0
公网 IP curl -s https://ifconfig.me
DNS 配置 scutil --dns | head -20
活跃网络连接 netstat -an | grep ESTABLISHED | head -20
端口监听 lsof -i -P | grep LISTEN
网络带宽测试 curl -o /dev/null -w '%{speed_download}' https://speed.cloudflare.com/__down?bytes=10000000 2>/dev/null
Wi-Fi 名称 networksetup -getairportnetwork en0 2>/dev/null || ipconfig getsummary en0 | grep SSID

进程与性能

需求 命令
CPU 占用 TOP 10 ps aux --sort=-%cpu | head -11
内存占用 TOP 10 ps aux --sort=-%mem | head -11
查找进程 ps aux | grep <关键词>
杀死进程 kill -9 <PID>(需确认)

电池(MacBook)

需求 命令
电池状态 pmset -g batt
电池循环次数 system_profiler SPPowerDataType | grep "Cycle Count"
电池健康度 `system_profiler SPPowerDataType | grep -E "Cycle

开发环境

需求 命令
Node.js 版本 node -v
Python 版本 python3.11 --version
Git 版本 git --version
Homebrew 已装包 brew list --formula | wc -l
全局 npm 包 npm list -g --depth=0 2>/dev/null
Xcode CLT 版本 xcode-select -p && pkgutil --pkg-info=com.apple.pkg.CLTools_Executables 2>/dev/null | grep version
Docker 状态 docker info 2>/dev/null | head -5

时间与地区

需求 命令
当前时间 date
时区 date +%Z
日历 cal

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 80 lines · 40 tokens per session scan A 2c42558e8a69

Subscribe to this mod's changes

系统信息速查手册 is a skill published in the GitHub repository CavinHuang/lume (3 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,009 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

proma-ai/Proma · 64 tokens

guizang-ppt-skill

A skill for creating presentation decks as single HTML files that users can move through horizontally in a browser. It provides templates with WebGL backgrounds, chapter title screens, large data displays, and image grids, in either an editorial or Swiss-style visual direction.

proma-ai/Proma · 161 tokens

proma-coach

A Chinese-language coach for improving how people use Proma, Agent, Skill, Chat, and project tools.

proma-ai/Proma · 386 tokens

automation

A built-in workflow for creating and managing automatic or scheduled tasks. It covers one-time delays, repeated runs, monitoring, reminders, run history, and changing or stopping existing tasks.

proma-ai/Proma · 390 tokens

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

proma-ai/Proma · 168 tokens

agent-collaboration

A collaboration workflow coordinates coding sub-agents, which are separate assistant sessions working on parts of a task.

proma-ai/Proma · 101 tokens