Agent skill
server-status-push
检查 Linux 服务器健康状态并汇总发送给用户(支持一键文本报告)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/server-status-push
SKILL.md
server-status-push Skill
用于快速收集并汇报服务器运行状态(CPU/内存/磁盘/负载/网络/Docker)。
何时使用
当用户说:
- “看下服务器状态”
- “汇报机器健康情况”
- “发我当前服务器资源占用”
执行步骤
- 运行状态采集脚本:
bash /root/.pi/agent/skills/server-status-push/collect-status.sh
- 将结果直接回复用户。
- 如果当前环境可用
send_message工具,可额外调用send_message主动推送一次摘要。
输出要求
- 先给结论:正常/告警
- 再给关键指标:
- load average
- CPU 核心数
- 内存使用率
- 根分区使用率
- Docker 容器状态(如可用)
- 如发现异常(例如磁盘 > 85%、内存 > 90%),明确标注并给出建议。
快速诊断阈值(默认)
- 磁盘使用率 > 85%:告警
- 内存使用率 > 90%:告警
- 1 分钟 load > CPU 核心数 × 1.5:告警
示例
bash /root/.pi/agent/skills/server-status-push/collect-status.sh
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?