← 返回 Skills 市场
iyeque

Local System Info (Iyeque)

作者 iyeque · GitHub ↗ · v1.1.0
cross-platform ✓ 安全检测通过
836
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install iyeque-local-system-info
功能描述
Return system metrics (CPU, RAM, disk, processes) using psutil.
使用说明 (SKILL.md)

Local System Info Skill

Monitor local system resources including CPU, memory, disk usage, and running processes.

Tool API

system_info

Retrieve system metrics.

  • Parameters:
    • action (string, required): One of summary, cpu, memory, disk, processes.
    • limit (integer, optional): Number of processes to list (default: 20). Only used with action=processes.

Usage:

# Get full system summary
uv run --with psutil skills/local-system-info/sysinfo.py summary

# CPU metrics only
uv run --with psutil skills/local-system-info/sysinfo.py cpu

# Memory metrics only
uv run --with psutil skills/local-system-info/sysinfo.py memory

# Disk usage
uv run --with psutil skills/local-system-info/sysinfo.py disk

# List top processes by CPU usage
uv run --with psutil skills/local-system-info/sysinfo.py processes --limit 10

Output Format

summary

{
  "cpu": {
    "cpu_percent": 15.2,
    "cpu_count": 8,
    "load_avg": [0.5, 0.3, 0.2]
  },
  "memory": {
    "total": 17179869184,
    "available": 8589934592,
    "percent": 50.0,
    "swap_percent": 5.2
  },
  "disk": {
    "total": 500000000000,
    "used": 250000000000,
    "free": 250000000000,
    "percent": 50.0
  }
}

processes

[
  {
    "pid": 1234,
    "name": "python3",
    "username": "user",
    "cpu_percent": 5.2,
    "memory_percent": 2.1
  },
  ...
]

Metrics Explained

  • cpu_percent: Current CPU utilization (0-100%)
  • cpu_count: Number of logical CPU cores
  • load_avg: System load average (1, 5, 15 min) normalized by CPU count
  • memory.total/available: RAM in bytes
  • memory.percent: RAM usage percentage
  • disk.percent: Root filesystem usage percentage
  • processes: Top N processes sorted by CPU usage

Requirements

  • psutil: Cross-platform system monitoring library
  • Python 3.6+: For f-string support and typing

Platform Support

Works on Linux, macOS, Windows, and WSL. Some metrics may vary by platform:

  • load_avg: Not available on Windows
  • Process information depth varies by OS
安全使用建议
This skill appears to do exactly what it says: collect CPU, memory, disk, and process info locally using psutil. Consider the following before installing: (1) it enumerates processes and exposes usernames — avoid installing on systems where that would leak sensitive account information; (2) it requires installing the psutil Python package (from PyPI) — install that in a trusted or isolated environment if you have concerns; (3) the skill author and homepage are unknown, so if you need stronger assurance, review the included sysinfo.py source yourself or run it in a sandbox/VM first; (4) although the code has no networking or credential access, exercise usual caution when allowing autonomous agents to invoke skills.
功能分析
Type: OpenClaw Skill Name: iyeque-local-system-info Version: 1.1.0 The skill bundle is benign. The `SKILL.md` file accurately describes the skill's purpose and usage, providing standard installation instructions for `psutil` without any prompt injection attempts. The `sysinfo.py` script uses the `psutil` library to gather system metrics (CPU, memory, disk, processes) as described, outputs them in JSON, and handles arguments safely via `argparse`. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or other harmful behaviors.
能力评估
Purpose & Capability
Name and description match the code and SKILL.md: the script uses psutil to report CPU, memory, disk, and process information. Declared required binary (python3) and dependency (psutil) are appropriate and proportional to the stated purpose.
Instruction Scope
Runtime instructions and the Python code are limited to collecting local system metrics and enumerating processes. There is no network I/O, credential access, or filesystem reads outside standard system APIs. Note: the processes listing includes the 'username' field, which can expose local account names — this is expected for a process enumerator but may be considered sensitive information in some contexts.
Install Mechanism
The skill is instruction-only (no install spec in the registry), and the SKILL.md recommends installing psutil with pip. Installing psutil from PyPI is a typical, expected step and is proportionate to the task. No downloads from untrusted URLs or archive extraction are present.
Credentials
No environment variables, credentials, or config paths are requested. The code does not read env vars or external secrets. The requested scope is minimal and matches the feature set.
Persistence & Privilege
The skill does not request persistent/always-on privileges (always:false) and does not modify other skills or system-wide configuration. Model invocation is permitted (default), which is normal for user-invocable skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install iyeque-local-system-info
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /iyeque-local-system-info 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Updated SKILL.md with detailed output format examples and platform support notes.
v1.0.0
Initial release
元数据
Slug iyeque-local-system-info
版本 1.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Local System Info (Iyeque) 是什么?

Return system metrics (CPU, RAM, disk, processes) using psutil. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 836 次。

如何安装 Local System Info (Iyeque)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install iyeque-local-system-info」即可一键安装,无需额外配置。

Local System Info (Iyeque) 是免费的吗?

是的,Local System Info (Iyeque) 完全免费(开源免费),可自由下载、安装和使用。

Local System Info (Iyeque) 支持哪些平台?

Local System Info (Iyeque) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Local System Info (Iyeque)?

由 iyeque(@iyeque)开发并维护,当前版本 v1.1.0。

💬 留言讨论