Api Tester
Provides API guidance and assistance for agent workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add api-tester npx -- -y @trustedskills/api-tester
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"api-tester": {
"command": "npx",
"args": [
"-y",
"@trustedskills/api-tester"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The api-tester skill allows AI agents to send requests to APIs and analyze the responses. It can execute API calls with various methods (GET, POST, PUT, DELETE) and validate response status codes and body contents against expected values. This enables automated testing and verification of API functionality directly within an agent's workflow.
When to use it
- Automated Regression Testing: Regularly test APIs after code changes to ensure existing functionality remains intact.
- Integration Verification: Confirm that different systems or services communicate correctly via their APIs.
- Data Validation: Check if API responses contain the expected data and adhere to defined schemas.
- Workflow Automation: Integrate API testing into a larger automated workflow, such as deployment pipelines.
Key capabilities
- Supports various HTTP methods (GET, POST, PUT, DELETE)
- Response status code validation
- Body content validation against expected values
Example prompts
- "Test the
/usersendpoint with a GET request and verify that the response status is 200." - "Send a POST request to
/orderswith the following JSON payload:{ "item": "widget", "quantity": 10 }and check if the response contains an 'order_id'." - “Use a PUT request to update user ID 123, ensuring that the status code is 204.”
Tips & gotchas
The skill requires knowledge of API endpoints, HTTP methods, expected data formats, and validation criteria. Ensure the AI agent has access to the necessary API keys or credentials for authentication if required.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.