oatda-text-completion

oatda-text-completion is a skill for Claude Code, Codex from devcsde/oatda-skills. It costs 60 tokens per session (1,652 once invoked), scanned A, original, Apache-2.0.

A text-generation connection to OATDA, a service that provides one API for language models from many companies. It can send prompts to providers such as OpenAI, Anthropic, Google, and others.

In plain words
What is it for?
Use it to generate text, send prompts to different language models, or compare their responses. An OATDA API key is required.
Why use it?
It avoids writing separate integrations for each language-model provider. You can also compare models or select them through one API using names such as “gpt-4o” or “claude”.

Skill for Claude CodeCodex

Part of the oatda plugin — 12 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/devcsde/oatda-skills/oatda-text-completion
Any agent
npx skills add devcsde/oatda-skills --skill oatda-text-completion
Clone the repo
git clone --depth 1 https://github.com/devcsde/oatda-skills

Made for: Claude Code, Codex.

Or install oatda, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oatda-text-completion

README.md
[![agentmods](https://agentmods.dev/badge/skills/devcsde/oatda-skills/oatda-text-completion.svg)](https://agentmods.dev/skills/devcsde/oatda-skills/oatda-text-completion)
Your own site
<a href="https://agentmods.dev/skills/devcsde/oatda-skills/oatda-text-completion"><img src="https://agentmods.dev/badge/skills/devcsde/oatda-skills/oatda-text-completion.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.01652
Opus 5 $0.00030 $0.00826
Sonnet 5 $0.00012 $0.00330
Haiku 4.5 $0.00006 $0.00165

Measured 2d ago against content hash 2acffdcb9427, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

oatda-text-completion scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- The key resolution script and subsequent `curl` commands **must run in the same shell session**. Each separate bash/terminal invocation starts with an isolated environment where previously exported variables are lost.
skills/oatda-text-completion/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OATDA Text Completion

Generate text from 10+ LLM providers through OATDA's unified API endpoint.

When to Use

Use this skill when the user wants to:

  • Generate text using a specific LLM provider through the OATDA API
  • Send a prompt to OpenAI, Anthropic, Google, Deepseek, Mistral, xAI, or other providers via OATDA
  • Compare outputs across different models using a single API
  • Use a model by alias (e.g., "gpt-4o", "claude", "gemini")

Prerequisites

The user needs an OATDA API key. Check in this order:

  1. $OATDA_API_KEY environment variable
  2. ~/.oatda/credentials.json config file

If neither exists, tell the user:

You need an OATDA API key. Get one at https://oatda.com, then set it: export OATDA_API_KEY=your_key_here

Step-by-Step Instructions

1. Resolve the API key

# Check env var first; if empty, auto-load from credentials file
if [[ -z "$OATDA_API_KEY" ]]; then
  export OATDA_API_KEY=$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)
fi

# Verify key exists (show first 8 chars only)
echo "${OATDA_API_KEY:0:8}"

If the output is empty or null, stop and ask the user to configure their API key.

IMPORTANT:

  • Never print the full API key. Only check its existence or show the first 8 characters for verification.
  • The key resolution script and subsequent curl commands must run in the same shell session. Each separate bash/terminal invocation starts with an isolated environment where previously exported variables are lost. Either run all commands in one session, or chain them (e.g., export OATDA_API_KEY=... && curl ...).

2. Determine the model

Parse the user's request for a model. Map common aliases to provider/model format:

User says Provider Model
gpt-4o openai gpt-4o
gpt-4o-mini openai gpt-4o-mini
gpt-5 openai gpt-5
gpt-5-mini openai gpt-5-mini
o1 openai o1
o3 openai o3
claude, sonnet anthropic claude-sonnet-4-5-20250929
haiku anthropic claude-haiku-4-5-20251001
opus anthropic claude-opus-4-5-20251101
gemini google gemini-3-pro-preview
gemini-2.5 google gemini-2.5-pro
deepseek deepseek deepseek-v4-pro
mistral mistral mistral-large-latest
grok xai grok-4-fast
grok-4 xai grok-4-1-fast-reasoning
qwen alibaba qwen3-max
kimi, moonshot moonshot kimi-k2.7-code
glm zai glm-5

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 158 lines · 60 tokens per session scan A 2acffdcb9427

Subscribe to this mod's changes

oatda-text-completion is a skill published in the GitHub repository devcsde/oatda-skills (0 stars, last pushed 3d ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,652 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.