Token导航 LogoToken导航

Agent Skill · 效率

server-mate(服务器伙伴)

server-mate 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

server-mate 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 9,923。

总安装 5,574周安装 237GitHub Stars 1下载 1,953核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.3.3

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:server-mate(服务器伙伴)
来源仓库:https://github.com/tankeito/server-mate
安装命令:
openclaw skills install server-mate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install server-mate

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

为 Nginx/Apache 主机提供轻量级监控与 AI 操作支持。收集系统资源使用情况并扩展自动化工作流。server-mate 属于效率类 Skill,可作为该场景下的辅助能力补充。集成 psutil 数据整理,输出 JSON 格式便于下游消费。需在目标机器安装 Python 环境与必要依赖包。

可与 Prometheus + Grafana 组合搭建可视化面板。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install server-mate;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

server-mate 怎么安装?

在终端执行 openclaw skills install server-mate。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

server-mate 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

server-mate 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

server-mate 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

server-mate 用的人多吗?

公开数据是累计安装 5,574 次,近一周安装 237 次,下载 1,953 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

server-mate 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
server-mate

服务器伙伴 · 本页

5,5741需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
server-mate
version
1.3.3
description
Build or extend a lightweight server monitoring and AI operations workflow for Linux hosts running Nginx or Apache. Use when Codex needs to collect psutil metrics, parse access, error, or auth logs, design JSON payloads or APIs, add webhook alerts, generate PDF ops reports with SSL expiry summaries, answer natural-language monitoring questions, or implement guarded auto-ban and auto-heal behaviors.
homepage
https://github.com/tankeito/server-mate
metadata
clawdbot
files

Server Mate

Version: 1.3.3

Use this skill to design or implement a two-plane monitoring system:

  • a Python agent on the server that tails logs and samples host metrics
  • an OpenClaw-side analyzer that aggregates data, explains failures, answers questions, and sends alerts

Start

  • Confirm the environment first: Linux distribution, Nginx or Apache, PHP-FPM layout, log paths, webhook target, and whether automated actions may touch a live host.
  • Keep collection read-only until the user explicitly asks for automation. Add alerting before any auto-ban or auto-heal behavior.
  • In OpenClaw deployments, OPENAI_API_KEY is injected by the runtime when AI analysis is enabled. Do not ask the user to export it manually. Treat webhook URLs or tokens in config.yaml as secrets and do not commit them.
  • Treat ./data/GeoIP.conf the same way. It may contain MaxMind AccountID and LicenseKey, so keep it local-only and out of Git.
  • Prefer MaxMind's official GeoLite2 workflow through ./data/GeoIP.conf and geoipupdate. Treat the built-in public mirror fallback only as an operator-reviewed bootstrap path when no local .mmdb file is present.
  • Treat auto-ban and auto-heal as privileged features. They may execute operator-supplied firewall or service restart commands and should stay disabled or dry_run: true until reviewed.
  • Use the references progressively instead of loading everything at once:

- Read references/architecture.md for overall design, component boundaries, and rollout order. - Read references/data-contracts.md before defining JSON payloads, storage schemas, metrics, or natural-language query handlers. - Read references/ops-playbook.md before implementing thresholds, webhooks, reports, auto-ban, or self-heal logic. - Read references/sqlite-schema.md before extending historical storage or report queries. - Use scripts/server_agent.py as the collector, daemon entrypoint, and SQLite rollup writer.

Delivery workflow

  1. Map the request to one or more tracks.

- Agent collection - Aggregation and storage - Alerting and reporting - AI diagnosis - Guarded remediation

  1. Implement the smallest safe slice first.

- Start with structured access, error, and system events. - Add rollup metrics and natural-language answers next. - Add webhook alerts after the counters are stable. - Enable auto-ban or auto-heal only when thresholds, cooldowns, allowlists, and audit logs already exist.

  1. Validate with real or synthetic logs before changing production services.
  2. Explain caveats in plain language.

- Example: UV is often an approximation based on IP and user-agent unless the site provides a stronger visitor key. - Example: upload bandwidth is unavailable unless the access log includes request length or a similar field.

Agent rules

  • Prefer Python, psutil, and the standard library for the first implementation.
  • Prefer a generated ./config.yaml plus local SQLite state such as ./metrics.db before adding external services.
  • Keep generated artifacts inside the current skill workspace by default: ./config.yaml, ./metrics.db, ./logs/, and ./reports/. Do not default to /opt, /var/log, or other system-wide directories.
  • Prefer the system_metrics + sites[] matrix layout from config.example.yaml instead of new single-site keys.
  • Support configurable log paths. Do not hardcode site layouts when the vhost config can be read instead.
  • Emit structured JSON with timezone-aware timestamps, host or site identifiers, event type, and enough raw context to debug parser mistakes.
  • In multi-site mode, collect host CPU or memory metrics once per cycle and keep site log parsing isolated per domain.
  • Separate parsing, aggregation, transport, and action execution so that HTTP push, stdout replay, file drop, or websocket transport can be swapped independently.
  • Keep unknown lines and parser failures as first-class counters instead of dropping them silently.

Analyzer rules

  • Store raw events separately from derived counters.
  • Model traffic, performance, security, spider, and error signals as independent reducers over the same event stream.
  • Translate natural-language requests into:

- a time window - filters - an aggregation - a presentation format

  • For AI error explanations, pass the fingerprint, surrounding context, and normalized fields instead of dumping entire logs.

Safety rules

  • Treat auto-ban and auto-heal as opt-in features.
  • Default Guarded Automation to dry_run: true and keep it there until the user has observed automation notifications and audit history for several days.
  • Never flip dry_run to false, or enable auto_ban.enabled / auto_heal.enabled, unless the operator explicitly approves the command templates, allowlists, cooldowns, and audit destinations.
  • Require cooldowns, max actions per window, and allowlists before running firewall or restart commands.
  • Require whitelist checks before any ban command. Never ban loopback, RFC1918 private ranges, or trusted crawler families by default.
  • Require TTL-based unban or an equivalent release plan for every ban. Do not create permanent firewall blocks from the first implementation.
  • Record an audit event for every alert, dry-run, ban, unban, restart, and failed remediation attempt.
  • Store audit history in SQLite tables such as automation_actions and banned_ips, and expose simple lookup queries in user-facing docs.
  • Prefer one-shot remediation followed by escalation. Do not loop restarts.

Report expectations

  • Daily report: prior-day PV, UV, IP, request totals, bandwidth, status mix, top errors, and slow endpoints.
  • Weekly report: blocked IP trends, crawler trends, suspicious route clusters, and recurring slow routes.
  • Monthly report: bandwidth peak, disk growth, capacity warning, and remediation summary.

Automation scheduling

Use external scheduling for production unless the user explicitly wants an always-on daemon-only design.

  • Recommended ingestion pattern:

- Run server_agent.py --once every 10 minutes from cron or a systemd timer. - This keeps log parsing incremental, writes SQLite rollups, and avoids duplicate resident processes.

  • For systemd deployments in Clawhub-style packaging:

- Do not rely on bundling a .service file inside the skill package. - Generate a host-local unit with server_agent.py --config ./config.yaml --generate-service, then paste it into /etc/systemd/system/server-mate.service.

  • Recommended report pattern:

- Run report_generator.py as one-shot scheduled jobs. - Daily PDF push at 01:00. - Weekly PDF push every Monday at 01:10. - Monthly PDF push on day 1 at 01:20.

  • In multi-site mode, a single scheduled report_generator.py run should iterate over every configured site unless the user explicitly passes --site.

Release notes for 1.3.2

  • Multi-site matrix config using sites[] plus global system_metrics
  • Host-global metrics stored separately from site-local business rollups
  • Logrotate-tolerant incremental readers with inode or truncate recovery
  • Guarded Automation with dry_run, whitelist checks, TTL-based unban, cooldown-based auto-heal, and SQLite audit trail
  • SSH brute-force detection from logs.auth_log with ssh_brute_force alerting and optional linked auto-ban
  • SSL certificate expiry inspection in report generation and webhook summaries
  • Telegram delivery support for alerts and report notices
  • GeoIP official refresh support via local ./data/GeoIP.conf and geoipupdate, with an operator-reviewed public mirror bootstrap fallback
  • config.example.yaml and docs updated for MaxMind GeoLite2 setup in the current workspace

Copyable cron examples:

*/10 * * * * /usr/bin/env bash -lc 'python3 ./scripts/server_agent.py --config ./config.yaml --once >> ./logs/server-mate-agent.log 2>&1'
0 1 * * * /usr/bin/env bash -lc 'python3 ./scripts/report_generator.py --config ./config.yaml pdf --range daily --send >> ./logs/server-mate-report.log 2>&1'
10 1 * * 1 /usr/bin/env bash -lc 'python3 ./scripts/report_generator.py --config ./config.yaml pdf --range weekly --send >> ./logs/server-mate-report.log 2>&1'
20 1 1 * * /usr/bin/env bash -lc 'python3 ./scripts/report_generator.py --config ./config.yaml pdf --range monthly --send >> ./logs/server-mate-report.log 2>&1'

Systemd note:

  • If the host already standardizes on systemd, prefer Type=oneshot services plus timers for reports.
  • Use Restart=always only for the long-running --daemon agent mode.

Example requests

  • "Design the ingestion API for Server-Mate."
  • "Add 404 burst detection and webhook alerts."
  • "Explain today's top 5xx error in plain language."
  • "Plan a safe auto-heal flow for repeated 502 responses."

平台分布

OpenClaw

87.82%
按下载量换算1,715

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills