MayrosSkills Hub
Back to browse

api-client

ApiliumApiliumv1.0.37500
officialplatinum (7/8)Clean scan

Install

mayros skill install api-client
mayros skill install [email protected]

HTTP requests with curl, authentication, GraphQL, debugging

README

@apilium/api-client

Test REST and GraphQL APIs: build requests, parse responses, analyze timing, and manage request collections.

Installation

Copy this skill directory into your Mayros skills folder:

cp -r skills/api-client ~/.mayros/skills/api-client

Or install via the Mayros CLI:

mayros skill install @apilium/api-client

Prerequisites

Requires curl:

# macOS (pre-installed)
curl --version

# Linux (Debian/Ubuntu)
sudo apt-get install -y curl

# Optional: jq for JSON parsing
# macOS
brew install jq

# Linux
sudo apt-get install -y jq

Usage

Once configured, the agent can:

  • REST requests: GET, POST, PUT, PATCH, DELETE with headers, auth, and body
  • GraphQL: queries, mutations, variables, and introspection
  • Response parsing: extract fields with jq, check status codes, measure timing
  • Authentication: Bearer tokens, Basic auth, API keys, digest auth
  • Timing analysis: DNS lookup, TCP connect, TLS handshake, TTFB, total time
  • Debugging: verbose output, follow redirects, retry on failure

Example prompts

"Send a GET request to https://api.example.com/v1/users with Bearer auth"
"POST JSON to /api/users with name and email fields"
"Measure the response time of this endpoint"
"Run a GraphQL query to fetch user data"
"Show me the response headers from this URL"

Semantic Predicates

| Predicate | Scope | Description | |---|---|---| | api:request_sent | agent | Requests sent by the agent | | api:collection_context | agent | Saved request collections |

License

MIT

Versions

v1.0.3Feb 27, 2026
v1.0.2Feb 27, 2026
v1.0.1Feb 27, 2026
v1.0.0Feb 27, 2026

Comments

Sign in to leave a comment.

Loading comments...