SuperAPI AI Directory

server-status-push

General & other

View repository

Updated 10-15 21:36

About this skill

server-status-push Skill

Used to quickly collect and report server operating status (CPU/memory/disk/load/network/Docker).

When to use

When the user says:

  • "Check the server status"
  • "Report the machine health status"
  • "Send me the current server resource usage"

Execution steps

  1. Run the status collection script:
bash /root/.pi/agent/skills/server-status-push/collect-status.sh
  1. Reply to the user directly with the results.
  2. If it is available in the current environment send_message tool, you can additionally call send_message to proactively push a summary once.

Output requirements

  • Give the conclusion first: normal/alert
  • Then give the key metrics:
    • load average
    • CPU core count
    • Memory usage
    • Root partition usage
    • Docker container status (if available)
  • If anomalies are found (for example disk > 85%, memory > 90%), clearly mark them and give recommendations.

Quick diagnosis thresholds (default)

  • Disk usage > 85%: alert
  • Memory usage > 90%: alert
  • 1-minute load > CPU core count × 1.5: alert

Example

bash /root/.pi/agent/skills/server-status-push/collect-status.sh