OpenAnalystInc

agent-api-integration

2
0
# Install this skill:
npx skills add OpenAnalystInc/10x-MM-Skill --skill "agent-api-integration"

Install specific skill from multi-skill repository

# Description

>

# SKILL.md


name: agent-api-integration
description: >
Connect to external APIs with auth, rate limiting, and retry.
Triggers: API client, authentication, rate limiting, credentials,
webhook, HTTP requests.


Agent API Integration Skill

Overview

This skill provides a robust API client layer for AI agents to interact with
external services. Includes authentication, rate limiting, retry logic,
and user-isolated data storage.

When To Use This Skill

  • Setting up API client for external services
  • Managing API credentials and authentication
  • Implementing rate limiting for API calls
  • Storing and retrieving per-user data
  • Sending webhooks with guaranteed delivery
  • Handling OAuth flows

Prerequisites

  • Environment variables set in .env:
  • USER_API_BASE_URL, USER_API_KEY, USER_STORAGE_ENDPOINT

Components

  • client/api-client.ts โ€” Generic HTTP client with retry + rate limiting
  • client/auth.ts โ€” Authentication handler (API key + Bearer token)
  • client/rate-limiter.ts โ€” Token bucket rate limiter
  • storage/user-storage.ts โ€” Per-user isolated key-value storage
  • examples/user-api-integration.ts โ€” Usage example

Verification

npx tsc --noEmit

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.