360 Secure SkillHub
360 安全技能中心

Local System Info

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

iyeque
iyeque
热度 66.05
最近更新 2026-10-10 08:05:51
分类:自动化依赖:代码执行应用场景:DevOps / 报告撰写 / 工作流

安装技能

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

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