360 Secure SkillHub
360 安全技能中心

system-info-windows-skill

通过 Python 脚本查询本机系统信息,输出操作系统、CPU 型号与核心数、内存与磁盘的总量及占用率,支持 --cpu、--memory、--disk 参数单独查询;兼容 Windows、Linux 和 macOS,无额外依赖,需 Python 3.6 以上版本。

分类:自动化
liujintao-2021
liujintao-2021
热度 40.79
最近更新 2026-05-11 17:28:31

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add liujintao-2021/system-info-windows-skill
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
system-info-skill
description
Query system information including OS, CPU, memory, and disk usage. Use when users ask about system configuration, resource usage, performance diagnostics, or basic system info. Supports Windows, Linux, and macOS.

System Information Query

Quick system information query including OS, CPU, memory, and disk.

Installation

Install from ClawHub:

npx clawhub install system-info-skill

Or install from local .skill file:

openclaw skills install system-info-skill.skill

Usage

Query All System Information

python scripts/system_info.py

Query Specific Information

# CPU only
python scripts/system_info.py --cpu

# Memory only
python scripts/system_info.py --memory

# Disk only
python scripts/system_info.py --disk

Example Output

=== System Information ===

OS: Windows 10
CPU: Intel Core i7-9700K
CPU Cores: 8
Total Memory: 16.0 GB
Memory Used: 8.5 GB (53%)
Total Disk: 512.0 GB
Disk Used: 256.0 GB (50%)

Notes

  • Requires Python 3.6+
  • Cross-platform support
  • No additional dependencies required