Media & Image v1.0.0

gif-ub2-api-health-checker-api-health-checker

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health...

API Health Checker 更新于 2026-11-23 1 浏览
下载 SKILL

技能说明

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health report.

使用场景

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health report.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/gif-ub2-api-health-checker-api-health-checker
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 13 kB
SKILL.md text/markdown
# API Health Checker

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health report.

## What This Skill Does

This skill provides a systematic API testing and monitoring workflow:

1. **Endpoint Testing** — Send HTTP requests (GET, POST, PUT, DELETE) to specified API endpoints
2. **Response Validation** — Check status codes, response times, and response body structure against expected values
3. **Authentication Support** — Handle API keys, Bearer tokens, and basic auth headers
4. **Performance Measurement** — Record response times and flag slow endpoints
5. **Health Report** — Generate a comprehensive report summarizing the status of all tested endpoints

## How to Use

Provide API endpoints and Claw will test them:

- "Check if https://api.example.com/v1/status is responding correctly"
- "Test all endpoints in this API and report which ones are failing"
- "Monitor these 5 endpoints and tell me their average response times"
- "Verify that the /users endpoint returns a JSON array with the expected fields"

## Configuration

You can specify:
- **Endpoints** — A list of URLs to test
- **Expected status codes** — What HTTP status each endpoint should return (default: 200)
- **Timeout** — Maximum wait time per request (default: 10 seconds)
- **Headers** — Custom headers including authentication tokens
- **Request body** — For POST/PUT requests

## Output

The health report includes:
- **Status Summary** — Total endpoints tested, passed, failed, and timed out
- **Per-Endpoint Details** — URL, method, status code, response time, and pass/fail result
- **Performance Metrics** — Average, min, max, and p95 response times
- **Recommendations** — Suggestions for endpoints that are slow or returning errors

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。