api-tester-cn
Test and debug API endpoints from terminal. Use when checking endpoint status, validating JSON responses, comparing API versions, or running best-practice lints.
Why use this skill?
Efficiently test, validate, and debug API endpoints from your terminal. Manage request templates, compare versions, and lint for best practices with the api-tester-cn skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain/api-tester-cnWhat This Skill Does
The api-tester-cn skill is a comprehensive CLI-based toolkit designed for developers, QA engineers, and system administrators to streamline the lifecycle of API testing and debugging. It acts as a bridge between your local terminal and remote API endpoints, allowing for rapid health checks, structural validation, and behavioral analysis. Beyond simple requests, the tool enables you to enforce best practices through linting, compare differences between API versions to ensure backward compatibility, and manage a persistent history of your test executions for auditability.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/bytesagain/api-tester-cn
Once installed, ensure your environment is configured by checking the tool status: scripts/script.sh status. You may optionally configure the storage directory by setting the API_TESTER_CN_DIR environment variable to a location of your choice, though it defaults to ~/.api-tester-cn/.
Use Cases
- Continuous Integration Monitoring: Quickly verify that staging environments are returning correct headers and status codes before triggering deployments.
- Contract Testing: Use the
validatecommand to ensure that the JSON structure of an API response matches expected schemas, preventing breaking changes. - Migration Support: Utilize the
diffcommand when updating API versions (e.g., from v1 to v2) to verify that payload structures remain consistent or to inspect expected discrepancies. - Documentation & Workflow Efficiency: Save complex request sequences as reusable templates to quickly reproduce bugs or verify specific endpoints across different sessions.
- Compliance & Optimization: Use the
lintcommand to ensure your APIs comply with modern standards such as HTTPS enforcement, proper caching headers, and rate-limiting visibility.
Example Prompts
- "Check the status and lint the API endpoint at https://api.myproject.com/v1/data to ensure it's secure and properly cached."
- "Use the api-tester-cn skill to compare the response structure of these two endpoints: https://api.v1.example.com/items and https://api.v2.example.com/items."
- "Save a new request template called 'get-user-profile' for a GET request to https://api.github.com/user, then execute it."
Tips & Limitations
- Templates: Always give your templates descriptive names to avoid collision in your local database. Use
template listto view your current library. - Data Privacy: Be mindful that test history is stored locally; if you are testing sensitive endpoints with PII (Personally Identifiable Information), ensure the data directory is encrypted.
- Performance: While the tool is excellent for debugging, it is not intended for high-frequency load testing. Avoid running rapid, repeated commands that might trigger rate limits on your target APIs.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain-api-tester-cn": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read
Related Skills
workflow-builder
工作流设计与优化工具。流程设计、自动化方案、流程优化、文档化、审批流、系统集成。Workflow builder with design, automate, optimize, document, approval.
wp-manager
Manage WordPress sites from terminal. Use when checking site health, listing posts and pages, searching content, or running security scans.
volume
Volume reference tool. Use when working with volume in finance contexts.
xhs-content-creator
Generate viral Xiaohongshu notes with titles, tags, and covers. Use when drafting seed posts, writing reviews, crafting tutorials, or boosting engagement.
Webhook Tester
Send test payloads and inspect webhook responses locally. Use when debugging integrations, validating schemas, testing error handling, or simulating calls.