openmates:add-api

Integrate external API providers into OpenMates with validated endpoints and schemas.

43|2|Updated Jan 25, 2024
One-click install
npx skills add https://github.com/glowingkitty/OpenMates --skill openmates-add-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openmates:add-api
Source: https://github.com/glowingkitty/OpenMates/tree/main/.claude/skills/add-api
Command: npx skills add https://github.com/glowingkitty/OpenMates --skill openmates-add-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It reduces the friction and risk of adding a new external API provider by enforcing a research-first workflow and a clean provider architecture.

Core Features & Use Cases

  • Research-first provider integration: Finds official documentation and existing provider patterns before writing any code.
  • Provider-grade implementation structure: Creates a dedicated directory with a pure API wrapper (client.py) and request/response schemas (models.py).
  • Operational tooling and documentation: Generates an API test script and full provider documentation, plus privacy/legal review prompts.
  • Use case: Add a weather provider integration so OpenMates can fetch current conditions and forecasts through a standardized wrapper and validated tests.

Quick Start

Run the add-api skill with the provider name you want to integrate, for example: openmates:add-api "openweathermap".

Frequently Asked Questions about openmates:add-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a new external API provider with async httpx and rate limiting?

API provider integration is achieved through a research-first workflow that generates an async httpx wrapper with retry and rate-limit handling. It enforces provider-scoped code boundaries by creating a dedicated directory containing a pure API client and response schemas.

What is the best way to structure an API wrapper for third-party service integration?

The best way to structure an API wrapper is by separating concerns into a pure client for requests and a models file for response schemas. This provider-grade architecture ensures clean code boundaries and validated endpoints for third-party service integration.

How do you manage vault secrets for API authentication with an environment fallback?

Vault secrets for API authentication are managed using a vault-first secret loading mechanism with an environment variable fallback. This approach secures API keys and credentials while maintaining accessibility during local development or fallback scenarios.

Does adding a new API integration require privacy and legal checks?

Yes, adding a new API integration requires privacy and legal checks. The workflow includes operational tooling that generates provider documentation and explicitly prompts for privacy and legal reviews before finalizing the external service integration.

Can I automate API documentation and test script generation for new endpoints?

You can automate API documentation and test script generation through the provider integration workflow. It automatically generates a dedicated test script and full provider documentation alongside the API wrapper to validate endpoints and response schemas.