OATDA Text Completion for Openclaw

A unified interface for generating and completing text across major LLM providers including OpenAI, Anthropic, Google, and Deepseek.

devcsde
v1.0.5
Apr 3, 2026
0
780
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install oatda-text-completion

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install oatda-text-completion using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OATDA Text Completion?

OATDA Text Completion is a robust integration designed for the Openclaw Skills ecosystem that simplifies multi-model text generation. Instead of managing individual API keys and specific client libraries for every provider, this skill leverages OATDA's unified API to access state-of-the-art models like GPT-4o, Claude 3.5 Sonnet, and Gemini 2.0 Flash through a single standardized interface.

By utilizing this skill within Openclaw Skills, developers can switch between different LLM providers—such as Mistral, xAI, or Alibaba—by simply changing a model alias. It handles the complexities of request formatting, provider-specific nuances, and response normalization, allowing for seamless text generation, creative writing, and code completion tasks.

OATDA Text Completion Use Cases

  • Rapidly switching between providers like OpenAI and Anthropic to compare model outputs.
  • Automating text generation workflows that require specific model strengths, such as using Claude for reasoning or Deepseek for coding.
  • Building multi-model agents that fallback to alternative providers when one is rate-limited.
  • Simplifying API management by using a single OATDA credential for 10+ different LLM services.

How OATDA Text Completion Works

  1. The user provides a prompt and optionally specifies a model or provider alias.
  2. The skill resolves the OATDA API key from environment variables or local credentials files.
  3. The skill maps user-friendly aliases (like 'sonnet' or 'grok') to the correct provider and model ID.
  4. A POST request is dispatched to the OATDA unified endpoint with the prompt and parameters like temperature and max tokens.
  5. The skill receives a standardized JSON response containing the generated text and token usage metadata.
  6. The response is parsed and the generated content is returned to the user or calling agent.

OATDA Text Completion Setup

To use this integration with Openclaw Skills, ensure you have your OATDA API key ready. You can obtain one at https://oatda.com.

# Install required dependencies
sudo apt-get install curl jq

# Set your API key environment variable
export OATDA_API_KEY="your_api_key_here"

# Or configure via credentials file
mkdir -p ~/.oatda
echo '{"profiles": {"default": {"apiKey": "your_api_key_here"}}}' > ~/.oatda/credentials.json

OATDA Text Completion Data Schema & Taxonomy

The skill processes and returns data in a structured format to ensure compatibility across the Openclaw Skills ecosystem:

Field Type Description
success Boolean Indicates if the API call was successful
provider String The LLM provider used (e.g., openai, anthropic)
model String The specific model ID utilized
response String The primary text generated by the model
tokenUsage Object Contains prompt_tokens, completion_tokens, and total_tokens
cost Number The calculated USD cost of the transaction

OATDA Text Completion Advanced Features

  • Smart Model Mapping: Automatically routes short aliases like 'gemini' to the latest stable versions.
  • Credit Monitoring: Built-in error handling for insufficient balances (HTTP 402) and rate limits (HTTP 429).
  • Provider Passthrough: Support for provider/model syntax for granular control over specific deployments.
  • Token Usage Tracking: Detailed metadata returned for every request to monitor cost and performance across Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*