360 Secure SkillHub
360 安全技能中心

system-info-windows-skill

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

liujintao-2021
liujintao-2021
热度 72.54
最近更新 2026-05-11 17:28:31
分类:自动化依赖:代码执行应用场景:自动化脚本 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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