ApiTest
VerifiedApiTest — software development tool.
$ Add to .claude/skills/ About This Skill
Content available in Chinese
# ApiTest Skill
当用户需要从本地服务器获取工具数据时,自动调用 `http://localhost:8080/gettool` 接口。
认证方式
本 skill 从环境变量 `API_TEST_KEY` 获取认证密钥,并在请求时使用 Bearer Token 认证。
请求格式: ```bash curl -H "Authorization: Bearer ${API_TEST_KEY}" http://localhost:8080/gettool ```
触发条件
- 当用户提及以下内容时自动触发:
- "访问localhost获取工具"
- "获取工具数据"
- "调用 localhost:8080/gettool"
- 其他本地服务器工具获取请求
执行流程
- 监听用户请求
- 从环境变量 `API_TEST_KEY` 获取认证密钥
- 调用 `http://localhost:8080/gettool` 接口,带上认证头
- 返回获取到的工具数据
API 说明
- 接口地址: `http://localhost:8080/gettool`
- 请求方法: GET
- 认证方式: Bearer Token(从环境变量 API_TEST_KEY 获取)
- 请求头: `Authorization: Bearer {API_TEST_KEY}`
- 预期响应: 工具数据列表(JSON 格式)
Use Cases
- Fetch available tool definitions from a local development server during prototyping
- Verify that a localhost API endpoint returns expected tool data after deployment
- Integrate local tool discovery into an AI agent's startup routine
- Test Bearer token authentication against a custom tool-serving backend
- Pull dynamic tool registries from a self-hosted service for plugin systems
Pros & Cons
Pros
- +Simple single-endpoint design makes it easy to integrate and debug
- +Uses standard Bearer token auth compatible with most API frameworks
- +Auto-triggers on natural language requests without manual invocation
Cons
- -Only works with localhost — no support for remote or cloud-hosted endpoints
- -Hardcoded to port 8080 and a single /gettool path with no configurability
- -Minimal error handling if the local server is down or returns unexpected formats
FAQ
What does ApiTest do?
ApiTest — software development tool.
What platforms support ApiTest?
ApiTest is available on Claude Code, OpenClaw.
What are the use cases for ApiTest?
Fetch available tool definitions from a local development server during prototyping. Verify that a localhost API endpoint returns expected tool data after deployment. Integrate local tool discovery into an AI agent's startup routine.
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.
Next Step
Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.