跳到正文
TakoAPI
返回技能列表

ub2-api-health-checker

由 underbench2-gif 提供

Health & Fitness
431下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

Tests HTTP API endpoints by sending requests, validating status codes and response structure, and measuring response times. Generates a health report with pass/fail status, performance metrics, and recommendations for slow or failing endpoints. Supports GET, POST, PUT, and DELETE methods, plus authentication via API keys, Bearer tokens, or basic auth.

Replaces ad-hoc curl commands or custom test scripts with a structured workflow that produces a consolidated health report with performance statistics in one pass.

何时使用

  • Checking if a newly deployed API is responding before going live
  • Monitoring which endpoints are slow across a set of microservices
  • Verifying a third-party API returns expected fields after a provider update
  • Testing authenticated endpoints without writing custom scripts
  • Running a pre-release check on all API routes to catch regressions

示例工作流

输入

User asks: 'Test these 3 endpoints and tell me which ones are failing: /users, /products, /orders'

智能体
  1. 1

    Sends HTTP requests to each specified endpoint

  2. 2

    Records status codes and response times for each request

  3. 3

    Validates response body structure against expected fields

  4. 4

    Flags endpoints that time out or return unexpected status codes

  5. 5

    Generates a summary report with pass/fail results and performance metrics

输出

Health report listing each endpoint's status code, response time, pass/fail result, and recommendations for any failing or slow endpoints

安装

clawhub install underbench2-gif/ub2-api-health-checker

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接