dynamic-api-integration
Installation
SKILL.md
Mode: Cognitive/Prompt-Driven — No standalone utility script; use via agent context.
Dynamic API Integration
Overview
This skill teaches agents how to dynamically discover, parse, and call external HTTP APIs at runtime. It is adapted from the Universal Tool Calling Protocol (UTCP) patterns, translated into Node.js / Claude Code tool patterns.
Core workflow (5-phase, inspired by UTCP agent state machine):
- Discover — Fetch and parse an OpenAPI/Swagger spec (or define a manual tool template).
- Match — Map the user's intent to the right API endpoint semantically.
- Construct — Build the HTTP request with proper method, path, params, headers, body, and auth.
- Execute — Call the API via Bash (curl) or WebFetch and capture the response.
- Chain — If the task is not yet complete, re-analyze and execute another call (up to max_iterations).
When to Use
Use this skill when: