← 返回 Skills 市场
Api Monitor Dashboard
作者
Sunshine-del-ux
· GitHub ↗
· v1.0.0
471
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install api-monitor-dashboard
功能描述
Real-time monitoring dashboard for API uptime, response times, error rates, custom health checks, and alert notifications via email or Slack.
使用说明 (SKILL.md)
API Monitor Dashboard
Real-time API monitoring and alerting system.
Features
- Real-time uptime monitoring
- Response time tracking
- Error rate alerts
- Custom health checks
- Email/Slack notifications
- Historical data
- Auto-recovery detection
Usage
# Start monitoring
./monitor.sh start
# Add endpoint
./monitor.sh add https://api.example.com/health
# Check status
./monitor.sh status
Dashboard
Open browser to view dashboard:
http://localhost:3000
Configuration
Edit config.json to customize:
- Check intervals
- Timeout settings
- Alert thresholds
- Notification channels
Requirements
- Node.js 18+
- Docker (optional)
Author
Sunshine-del-ux
安全使用建议
This skill appears to implement a simple API-monitoring dashboard, but fix the inconsistencies before running it. Specifically:
- The start action does not launch the Node server. After running ./monitor.sh start you must run node server.js (Node 18+) yourself to run the dashboard. Consider modifying monitor.sh to run node server.js in the background if you expect automatic startup.
- The add action depends on jq, but jq is not documented in SKILL.md or the registry metadata. Install jq or change the script to avoid it. The script's declared 'required binaries: none' is inaccurate.
- The status command expects data/*.json files, but nothing in the provided code writes to data/; expect the status output to be empty unless you add code to persist checks.
- The monitor will perform HTTP requests to any endpoint you add. Do not add untrusted or internal-only URLs unless you understand the network exposure (this can cause requests to internal services or external hosts you do not intend to contact).
Recommendations before installing/using:
- Inspect/modify monitor.sh and the generated server.js to start the server automatically and to persist monitoring results if you need the status command to work.
- Install Node 18+ and jq (or remove jq usage).
- Run the script in an isolated environment (container) if you will monitor untrusted endpoints, and review endpoints.json before starting.
- If you are not comfortable editing the script, do not run it with elevated privileges; run it from a dedicated directory and avoid running as root.
功能分析
Type: OpenClaw Skill
Name: api-monitor-dashboard
Version: 1.0.0
The `monitor.sh` script contains a critical shell injection vulnerability in the `add` command, where the `$URL` variable is expanded inside double quotes (`jq ". += [\"$URL\"]"`), allowing for arbitrary command execution if a malicious URL is provided. Additionally, the script dynamically generates a Node.js server (`server.js`) that lacks input validation and contains logic errors (e.g., the `status` command looks for files in `data/*.json` that the server never creates). While these are severe security flaws, they appear to be unintentional programming errors rather than deliberate malware.
能力评估
Purpose & Capability
The skill's name/description (API monitoring dashboard) aligns with the included script: monitor.sh writes a simple Node.js server that polls endpoints and serves a dashboard. However the SKILL metadata declared no required binaries while SKILL.md lists Node.js 18+ and the script actually depends on jq as well. The capability requested (monitoring endpoints) matches the code, but the declared requirements are incomplete.
Instruction Scope
SKILL.md tells the user to run ./monitor.sh start and then open http://localhost:3000, but monitor.sh's start branch only writes server.js and endpoints.json and does not invoke node server.js — it does not actually start the server. The status action reads data/*.json, but nothing in the shipped code ever writes files into data/ (the Node server only logs results to console and keeps them in memory). The add action uses jq to mutate endpoints.json but jq is not listed as a required binary. The script will make network requests to any endpoints added — if you add internal URLs you could cause requests to internal services (SSRF-like behavior) so endpoints should be chosen carefully.
Install Mechanism
No install spec and no remote downloads; the skill is instruction-only with a local shell script and a generated server.js. There is no automatic installation of third-party code or external downloads, so disk-write risk is limited to the working directory when the script runs.
Credentials
The skill declares no environment variables or credentials and the code does not read environment variables or external secrets. It only reads/writes files in the current directory (server.js, endpoints.json, optional tmp.json) and creates data/ and logs/ directories. Requested privileges are proportional to its stated purpose.
Persistence & Privilege
always is false and the skill does not modify system-wide settings or other skills. It only writes files in the local working directory; it does not request persistent platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install api-monitor-dashboard - 安装完成后,直接呼叫该 Skill 的名称或使用
/api-monitor-dashboard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of API Monitor Dashboard.
- Real-time monitoring of API uptime and response times.
- Error rate alerting with custom health checks.
- Email and Slack notification support.
- Historical data visualization and auto-recovery detection.
- Simple CLI for setup and monitoring.
- Browser-based dashboard interface.
元数据
常见问题
Api Monitor Dashboard 是什么?
Real-time monitoring dashboard for API uptime, response times, error rates, custom health checks, and alert notifications via email or Slack. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 471 次。
如何安装 Api Monitor Dashboard?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install api-monitor-dashboard」即可一键安装,无需额外配置。
Api Monitor Dashboard 是免费的吗?
是的,Api Monitor Dashboard 完全免费(开源免费),可自由下载、安装和使用。
Api Monitor Dashboard 支持哪些平台?
Api Monitor Dashboard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Api Monitor Dashboard?
由 Sunshine-del-ux(@sunshine-del-ux)开发并维护,当前版本 v1.0.0。
推荐 Skills