agentCLAWHUBUnverified

API Tester Pro

API测试 - 构建/发送HTTP请求,验证响应状态码/�?体,性能基准(延迟/吞吐�?,支持REST和GraphQL Skill: API Tester Pro Owner: 534422530 Summary: API测试 - 构建/发送HTTP请求,验证响应状态码/�?体,性能基准(延迟/吞吐�?,支持REST和GraphQL Tags: api:2.0.0, development:1.0.0, http:2.0.0, latest:2.0.0, pro:2.0.0, rest:2.0.0, testing:2.0.0 Version history: v2.0.0 | 2026-05-29T23:31:22.710Z | auto Version 2.0.0 - Added hub.json to support skill hub integration. - Updated SKILL.md: new "badge: premium" field and minor edits. - Incremented version to 2

OpenClaw

Rank

62

Safety

84

Downloads

1.1k

Updated

Oct 11, 2026

Version

2.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1.1K downloadsadoption · observed Oct 11, 2026
Latest release
2.0.0release · observed May 29, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s170k9770tgh0506hw0dwtb6pd83kwyq:laosi-api-tester
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-api-tester/snapshot"

Documentation

CLAWHUB

22,404 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
badge: premium
name: api-tester
version: 2.0.0
description: API测试 - 构建/发送HTTP请求,验证响应状态码/�?体,性能基准(延迟/吞吐�?,支持REST和GraphQL
tags: [api, testing, http, rest, graphql, development]
author: laosi
source: original
---

# API Tester - API接口测试

> 激活词: 测试API / api test / 接口测试

## 功能

- 发�?GET/POST/PUT/DELETE 请求
- 自定义请求头、Body (JSON/Form/Text)
- 响应状态码、头、体验证
- GraphQL 查询支持
- 延迟测量和性能基准
- 测试结果持久�?
## Python 实现

```python
import json, time, urllib.request, urllib.error
from datetime import datetime
from typing import Dict, Any, Optional, List
from dataclasses import dataclass, field, asdict

@dataclass
class APIRequest:
    method: str = "GET"
    url: str = ""
    headers: Dict[str, str] = field(default_factory=dict)
    body: Optional[str] = None
    content_type: str = "application/json"
    timeout: int = 10
    
    def to_urllib_request(self) -> urllib.request.Request:
        """转换为urllib请求对象"""
        data = None
        if self.body and self.method in ("POST", "PUT", "PATCH"):
            data = self.body.encode("utf-8") if isinstance(self.body, str) else self.body
            if "Content-Type" not in self.headers:
                self.headers["Content-Type"] = self.content_type
        
        req = urllib.request.Request(
            self.url,
            data=data,
            headers=self.headers,
            method=self.method
        )
        return req

@dataclass
class APIResponse:
    status: int = 0
    headers: Dict[str, str] = field(default_factory=dict)
    body: str = ""
    body_json: Optional[Dict] = None
    latency_ms: float = 0.0
    error: Optional[str] = None

class APITester:
    def __init__(self):
        self.history: List[Dict] = []
        self.history_file = os.path.join(
            os.path.dirname(__file__), "api_tests.json"
        )
        os.makedirs(os.path.dirname(self.history_file), exist_ok=True)
    
    def send(self, request: APIRequest) -> APIResponse:
        """发送单个API请求"""
        resp = APIResponse()
        start = time.time()
        
        try:
            req = request.to_urllib_request()
            with urllib.request.urlopen(req, timeout=request.timeout) as conn:
                resp.status = conn.status
                resp.headers = dict(conn.headers)
                resp.body = conn.read().decode("utf-8", errors="replace")
                try:
                    resp.body_json = json.loads(resp.body)
                except json.JSONDecodeError:
                    pass
        except urllib.error.HTTPError as e:
            resp.status = e.code
            resp.headers = dict(e.headers)
            resp.body = e.read().decode("utf-8", errors="replace")
            resp.error = f"HTTP {e.code}: {e.reason}"
        except urllib.error.URLError as e:
            resp.error = f"URL Error: {e.reason}"
        except Exception as e:
            resp.error = str(e)
        
        resp.latency_ms = round((time.time() - start) * 1000, 1)
        
        # 保存历史
        entry = {
            "meth

_meta.json

{
  "ownerId": "kn71pk44ca87scz3pstt90r66n80xhaa",
  "slug": "laosi-api-tester",
  "version": "2.0.0",
  "publishedAt": 1780097482710
}

skill-card.md

## Description:

API Tester Pro helps agents construct and send HTTP, REST, and GraphQL requests, validate status codes, headers, response bodies, and latency, and summarize benchmark results.

This skill is ready for commercial/non-commercial use.

## Publisher:

[534422530](https://clawhub.ai/user/534422530)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to exercise APIs after deployment, generate request examples, check service health, validate API contracts, and compare basic latency measurements.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can send user-directed HTTP requests from the agent environment to arbitrary URLs, including sensitive internal or cloud-metadata addresses.

Mitigation: Use it only with trusted endpoints and apply host or network controls that block internal, loopback, link-local, and cloud-metadata ranges when appropriate.

Risk: The implementation saves tested URLs and request history to api_tests.json, which may expose sensitive endpoints or query parameters.

Mitigation: Avoid placing secrets in URLs, prefer protected headers for credentials, and remove or protect api_tests.json after testing sensitive systems.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/534422530/skills/laosi-api-tester)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with Python code blocks, request examples, validation rules, and structured result summaries]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The bundled implementation may create api_tests.json containing tested URLs, status values, latency, errors, and timestamps.]

## Skill Version(s):

2.0.0 (source: server release metadata and skill frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

hub.json

{
    "description":  "Premium version with full implementation, examples, and enterprise support",
    "minOpenClawVersion":  "1.2.0",
    "version":  "2.0.0",
    "tags":  [
                 "api",
                 "testing",
                 "http",
                 "rest",
                 "pro"
             ],
    "author":  "laosi",
    "name":  "api-tester",
    "pricing":  {
                    "price":  1900,
                    "model":  "one-time"
                },
    "license":  "MIT",
    "displayName":  "API Tester Pro"
}
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/534422530/skills/laosi-api-tester",
      "sourceUrl": "https://clawhub.ai/534422530/skills/laosi-api-tester",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T13:07:26.630Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-api-tester/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-api-tester/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T13:07:26.630Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.1K downloads",
      "href": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceUrl": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T13:07:26.630Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "2.0.0",
      "href": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceUrl": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-29T23:31:22.710Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-api-tester/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-534422530-laosi-api-tester/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 2.0.0",
      "description": "Version 2.0.0 - Added hub.json to support skill hub integration. - Updated SKILL.md: new \"badge: premium\" field and minor edits. - Incremented version to 2.0.0. - No functional API or code changes detected.",
      "href": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceUrl": "https://clawhub.ai/534422530/laosi-api-tester",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-29T23:31:22.710Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to API Tester Pro and adjacent AI workflows.