Openclaw Skills for migrating OpenAI-compatible apps to TokenLab with minimal code changes, live model discovery, and preserved request semantics.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tokenlab-openai-compatible-migration
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tokenlab-openai-compatible-migration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
TokenLab OpenAI-Compatible Migration is an Openclaw Skills workflow for moving OpenAI-compatible apps, SDKs, examples, and environment variables to TokenLab with the smallest possible diff. It preserves request semantics, keeps the existing client shape intact, and swaps in the correct TokenLab base URL, API key, and model lookup path without forcing a rewrite.
When the source integration depends on native provider behavior, the skill preserves that behavior with the right TokenLab endpoint for Responses, Anthropic Messages, Gemini content generation, media, audio, embeddings, rerank, or translation. It also adds live model discovery and a rollback path so Openclaw Skills users can migrate safely, verify compatibility, and revert instantly if needed.
export TOKENLAB_API_KEY="your-tokenlab-api-key"
# OpenAI-compatible SDKs: https://api.tokenlab.sh/v1
# Anthropic-native clients: https://api.tokenlab.sh
# Gemini-native clients: https://api.tokenlab.sh
curl -H "Authorization: Bearer $TOKENLAB_API_KEY" \
"https://api.tokenlab.sh/v1/models?recommended_for=chat"
curl https://api.tokenlab.sh/v1/chat/completions \
-H "Authorization: Bearer $TOKENLAB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"<model-id>","messages":[{"role":"user","content":"ping"}]}'
| Artifact | Type | Contents | Purpose |
|---|---|---|---|
| Focused diff or config block | Markdown or code | Base URL, auth header, and minimal client changes | Preserve the existing request path with the smallest possible edit |
| Model discovery command | Bash | GET /v1/models, optional recommended_for query, and model detail lookup |
Replace hardcoded provider-specific model IDs safely |
| Smoke test command | Bash | One request through the migrated path | Verify the TokenLab integration before rollout |
| Rollback note | Plain text | Previous base URL and previous environment variables | Restore the old provider config quickly |
migration_surface: OpenAI-compatible app, OpenRouter setup, LiteLLM config, LangChain/LlamaIndex app, custom SDK wrapperprovider_mode: OpenAI-compatible, Anthropic-native, Gemini-nativebase_url: https://api.tokenlab.sh/v1 or https://api.tokenlab.shauth_header: Authorization: Bearer $TOKENLAB_API_KEYendpoint_family: chat completions, messages, generateContent, models, embeddings, rerank, media, audio, translationmodel_resolution: static model ID, live discovery, or recommended-for lookupcompatibility_notes: native payload requirements, provider-specific headers, semantic constraintsrollback: previous base URL and prior env vars/v1/models, /v1/models?recommended_for=<scene>, and /v1/models/:model for safe catalog-based remapping.Loading
Openclaw Skills for Kubernetes triage automation detect failures, correlate logs and events, and produce root-cause reports in seconds.

Openclaw Skills for Terraform Drift Detector compares Terraform state to live cloud infrastructure in real time and flags drift with actionable reports.

AgentPMT Audit Logs gives you read-only visibility into agent chats, tool calls, workflow runs, and schedules so you can audit what happened and why.

ProofKit catches fake-success in AI agents by requiring live evidence before any task is marked done.

An Openclaw Skills home-repair diagnostic assistant that turns vague faults into safe, step-by-step fixes, tool lists, and repair-vs-pro advice.

Openclaw Skills for Taiwan property valuation converts comparable sales and adjustment factors into defensible market prices.








































