Install
openclaw skills install link-skillClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Universal API integration skill for enterprise platforms. Connect to any platform using Swagger/OpenAPI discovery.
openclaw skills install link-skillLinkSKILL is a config-driven API integration skill for enterprise platforms.
Given a Swagger/OpenAPI endpoint and auth settings, it can discover APIs, authenticate, and execute requests with minimal manual setup.
Use LinkSKILL when you need to:
scripts/platform_config.json and select active_platform (or pass --platform explicitly).python scripts/swagger_loader.py --config scripts/platform_config.json --mode listpython scripts/auth_manager.py --config scripts/platform_config.jsonpython scripts/http_request_tool.py --config scripts/platform_config.json --method POST --endpoint "/api/xxx" --json-body '...'Tip: Use search and detail before execution to reduce trial-and-error:
--mode search --keyword "keyword"--mode detail --path "/api/xxx" --method POST| Tool | Responsibility |
|---|---|
swagger_loader.py | Fetch and parse Swagger 2.0 / OpenAPI 3.x; supports list, search, detail, tags, cache |
auth_manager.py | Handle auth login/token retrieval and local token cache management |
http_request_tool.py | Send HTTP requests, inject auth headers, and auto re-auth + retry on 401 |
All behavior is driven by scripts/platform_config.json.
active_platform: default platform ID.platforms: map of platform definitions.name: human-readable platform name.gateway: base URL used by request executor.swagger.url: OpenAPI/Swagger endpoint URL.swagger.auth_required: whether Swagger endpoint needs auth header.auth.type: one of bearer_token, api_key, basic, none.default_headers: default request headers.auth.login_endpoint: login path (joined with gateway).auth.login_body: login payload.auth.token_field: token extraction path (for example data.token).auth.token_header: header name (default Authorization).auth.token_prefix: header prefix (default Bearer ).LinkSKILL supports:
none: no auth required.api_key: static key from config.basic: build Basic credential from username/password.bearer_token: login API + token extraction + local cache.Token cache file: scripts/.token_cache.json
swagger_loader.py)list: print all available endpoints.search: fuzzy-match endpoints by path/summary/description/tags.detail: show parameters, request body schema/example, and response schema.tags: show API groups.cache: print local swagger cache location.Swagger cache directory: scripts/.swagger_cache/
http_request_tool.py)Supports:
GET, POST, PUT, DELETE, PATCH--url or --endpoint + gateway--json-body or --json-file--params--headersOn 401, the tool can trigger auth_manager.py --force-login and retry once automatically.
For stable integrations, run in this order:
list or search to locate target endpoint.detail to inspect params/schema.active_platform and platforms keys.swagger.url, network, and TLS/headers.auth.token_field based on real login response.platforms in scripts/platform_config.json.gateway, swagger, auth, and optional default_headers.active_platform (or use --platform).