跳到正文
TakoAPI
返回技能列表

system-resource-monitor

由 passersss 提供

Coding Agents & IDEs
5.0k下载量由 clawskills.sh 提供
4星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

A clean, reliable system resource monitor for CPU load, RAM, Swap, and Disk usage.

描述

该技能的功能

A skill that reports server health by running a local shell script and returning CPU load averages, RAM, swap, and disk usage in a concise summary. Uptime is included. Relies on native system calls rather than external agents.

Uses native system calls instead of third-party monitoring daemons, so it works on any Unix-like server without installing additional software.

何时使用

  • Checking CPU load before launching a resource-intensive job
  • Verifying free disk space before a large file transfer
  • Reviewing RAM and swap pressure on a low-memory VPS
  • Confirming server uptime after a scheduled reboot
  • Getting a quick health snapshot during active incident triage

示例工作流

输入

User asks: What's the current server health?

智能体
  1. 1

    Receives the request and maps it to the system resource monitor skill

  2. 2

    Executes the local ./scripts/monitor.sh script

  3. 3

    Collects output for CPU 1/5/15-minute load averages, RAM and swap usage, and root disk capacity

  4. 4

    Formats the collected metrics into a structured health report

  5. 5

    Returns the report with uptime included

输出

A summary showing CPU load averages, RAM and swap usage percentages, disk capacity and usage, and how long the server has been running

安装

clawhub install passersss/system-resource-monitor

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接