X Api
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 x-api npx -- -y @trustedskills/x-api
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"x-api": {
"command": "npx",
"args": [
"-y",
"@trustedskills/x-api"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with external APIs. It facilitates sending requests and receiving responses, enabling agents to retrieve data or trigger actions from various online services. The agent can then process this information to complete tasks or provide more informed answers.
When to use it
- Retrieving current weather conditions for a specific location.
- Checking the status of a flight using its flight number.
- Sending an email through an SMTP server.
- Interacting with a CRM system to update customer records.
Key capabilities
- API Request Execution: Sends HTTP requests (GET, POST, PUT, DELETE) to specified API endpoints.
- Response Handling: Parses and extracts data from API responses.
- Authentication Support: Handles various authentication methods required by APIs.
Example prompts
- "Get the current weather in London."
- "Check the status of flight UA1234."
- "Send an email to [email protected] with the subject 'Meeting Reminder'."
Tips & gotchas
The agent will require API keys or authentication credentials for many APIs, which must be provided securely. Ensure that the API endpoint URLs and request parameters are accurate to avoid errors.
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 |
Details
- Version
- vlatest
- License
- Author
- lobstergeneralintelligence
- Installs
- 6
🌐 Community
Passed automated security scans.