360 Secure SkillHub
360 安全技能中心

Local System Info

通过 sysinfo.py 提供只读、纯本地的系统诊断,支持 summary、cpu、memory、disk、processes 五个动作并输出 JSON 指标时点观测;进程条目限制 1-100,默认不暴露用户名,需 --include-owners 才显示;不发送数据、不修改系统。

分类:自动化
iyeque
iyeque
热度 49.76
最近更新 2026-10-10 08:05:51

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add iyeque/iyeque-local-system-info
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
local-system-info
description
Agent-ready local diagnostics for CPU, memory, disk, load, and bounded process inspection. Use for capacity checks, troubleshooting, and deciding whether a local task has enough resources.
license
MIT-0
metadata
{"openclaw":{"emoji":"🖥️","requires":{"bins":["python3"],"pip":["psutil"]},"version":"1.2.2"}}

Local system diagnostics

Use sysinfo.py for read-only, local-only health checks. It does not send metrics anywhere or modify the system. Process results expose process names and resource values by default. Usernames are excluded by default and require the explicit --include-owners flag only when owner attribution is necessary.

uv run --with psutil sysinfo.py summary
uv run --with psutil sysinfo.py cpu
uv run --with psutil sysinfo.py memory
uv run --with psutil sysinfo.py disk
uv run --with psutil sysinfo.py processes --limit 10

Actions are summary, cpu, memory, disk, and processes. Output is JSON. Process limits are bounded from 1 to 100; use --include-owners only for an explicit owner-attribution request. Load averages are normalized by logical CPU count where the platform provides them; Windows may return an empty list.

Use summary before expensive local work, memory and disk before model/PDF/audio jobs, and processes when diagnosing contention. Treat values as a point-in-time observation rather than a continuous monitor.

Source and support

Source: https://github.com/iyeque/openclaw-skills/tree/main/skills/local-system-info

Report bugs and security concerns through the repository issue guidance.