API Gateway Universal for Openclaw

A centralized gateway to connect, manage, and automate interactions with any external REST or GraphQL API service.

miguelguerra200022-sudo
v1.0.0
Feb 28, 2026
0
1.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install api-gateway-zito

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install api-gateway-zito using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is API Gateway Universal?

The API Gateway Universal skill acts as a robust bridge between your AI agents and the vast world of external web services. It simplifies the integration process by providing a unified configuration layer where you can define base URLs, authentication headers, and specific endpoints. By leveraging this skill within the ecosystem of Openclaw Skills, developers can eliminate the need for custom integration code for every new service, instead using a standardized command-line interface and YAML-based configuration.

Beyond simple connectivity, this skill manages the production-grade complexities of API consumption. It features built-in support for multiple authentication types, including OAuth 2.0 and API keys, and implements sophisticated traffic management features like response caching, rate limiting, and automatic retry logic with exponential backoff. This ensures that your AI agent remains resilient and efficient when interacting with third-party data providers.

API Gateway Universal Use Cases

  • Orchestrating multi-service workflows by connecting agents to tools like GitHub, Slack, and Notion.
  • Implementing standardized authentication for all external API requests in a secure, centralized manner.
  • Enhancing agent performance through response caching for frequently accessed external data.
  • Building automated monitoring and alerting systems that trigger actions based on API responses.

How API Gateway Universal Works

  1. Configuration: You define the external service parameters, including the base URL and authentication credentials, using the CLI or YAML files.
  2. Endpoint Mapping: Specific API paths are registered as named endpoints with defined parameters, making them discoverable by the AI agent.
  3. Execution: The agent issues commands to call these endpoints, while the gateway handles the underlying HTTP request, headers, and payload formatting.
  4. Processing: The gateway applies middleware logic such as checking the cache, enforcing rate limits, or performing retries if the request fails.
  5. Output: The raw API response is cleaned and returned to the agent or integrated into other automated workflows.

API Gateway Universal Setup

To get started with this skill, follow these configuration steps:

# Add a new API service (e.g., OpenWeather)
api add weather --base:https://api.openweathermap.org/data/2.5 --auth:query:appid:$WEATHER_API_KEY

# Map a specific endpoint to a command
api endpoint weather current --path:/weather --params:q,units

# Test the connectivity
api test weather

API Gateway Universal Data Schema & Taxonomy

The skill organizes API definitions and operational data using a structured YAML format and internal logging tables.

Component Description
API Config YAML files defining base URLs, auth types, and global settings
Endpoints Map of paths, methods (GET/POST), and required/optional parameters
Cache Store Temporary storage for API responses with configurable TTL
Logs Execution history including status codes and response times
Stats Aggregated data on API usage and error rates

API Gateway Universal Advanced Features

  • Automatic OAuth 2.0 token refresh management for uninterrupted service connectivity.
  • Sophisticated retry policies featuring exponential backoff to handle transient network errors.
  • Global and per-endpoint rate limiting to stay within provider tier constraints.
  • Seamless integration with proactive-triggers and multi-agent systems for complex Openclaw Skills automations.
  • Real-time performance monitoring and logging for high-level integration debugging.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*