Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

oatda-text-completionoatda 文本完成

Agent Skill

oatda-text-completion 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,622

周安装

154

GitHub Stars

公开资料未说明

下载量

1,269
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:oatda-text-completion(oatda 文本完成)
来源仓库:https://github.com/devcsde/oatda-text-completion
安装命令:
openclaw skills install oatda-text-completion
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install oatda-text-completion

简介

oatda-text-completion 用于补充 LLM 文本生成能力。

  • 支持对接多家主流语言模型提供商接口。oatda-text-completion 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 适合编写、补全文本或切换不同模型策略时使用。
  • 通过 clawhub 安装,需确认 API 密钥与配额管理。
  • 建议参考原始文档了解支持的提供商与参数配置。

SKILL.md

name
oatda-text-completion
description
Generate text using OATDA's unified LLM API. Triggers when the user wants to generate, write, or complete text using a specific LLM provider (OpenAI, Anthropic, Google, Deepseek, Mistral, xAI, Alibaba, MiniMax, ZAI, Moonshot) through the OATDA API. Also use when comparing outputs across models or using model aliases like "gpt-4o", "claude", "gemini", "deepseek", "grok", "qwen", "mistral".
homepage
https://oatda.com
metadata

OATDA Text Completion

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

API Key Resolution

All commands need the OATDA API key. Resolve it inline for each exec call:

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}"

If the key is empty or null, tell the user to get one at https://oatda.com and configure it.

Security: Never print the full API key. Only verify existence or show first 8 chars.

Model Mapping

User saysProviderModel
gpt-4oopenaigpt-4o
gpt-4o-miniopenaigpt-4o-mini
o1openaio1
claude, sonnetanthropicclaude-3-5-sonnet
haikuanthropicclaude-3-5-haiku
opusanthropicclaude-3-opus
geminigooglegemini-2.0-flash
gemini-1.5googlegemini-1.5-pro
deepseekdeepseekdeepseek-chat
mistralmistralmistral-large
grokxaigrok-2
qwenalibabaqwen-max

Default: openai / gpt-4o if no model specified. If user provides provider/model format, split on /.

⚠️ Models update frequently. If a model ID fails, query oatda-list-models for the latest available models.

API Call

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}" && \
curl -s -X POST "https://oatda.com/api/v1/llm" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OATDA_API_KEY" \
  -d '{
    "provider": "<PROVIDER>",
    "model": "<MODEL>",
    "prompt": "<USER_PROMPT>",
    "temperature": 0.7,
    "maxTokens": 4096
  }'

Optional Parameters

  • temperature: 0 (deterministic) to 2 (creative). Default: 0.7
  • maxTokens: Max tokens to generate. Default: 4096 (max 128000 for some models)
  • stream: Set to true for streaming (not recommended via curl)

Response Format

{
  "success": true,
  "provider": "openai",
  "model": "gpt-4o",
  "response": "The generated text content...",
  "tokenUsage": {
    "prompt_tokens": 25,
    "completion_tokens": 150,
    "total_tokens": 175,
    "cost": 0.001375
  }
}

Present the response field to the user. Optionally mention token usage and cost.

Error Handling

HTTP StatusMeaningAction
401Invalid API keyTell user to check key at https://oatda.com/dashboard/api-keys
402Insufficient creditsTell user to check balance at https://oatda.com/dashboard/usage
429Rate limitedWait 5 seconds and retry once
400Bad request / model not foundCheck model format, suggest oatda-list-models

Example

User: "Write a haiku about code using claude"

export OATDA_API_KEY="${OATDA_API_KEY:-$(cat ~/.oatda/credentials.json 2>/dev/null | jq -r '.profiles[.defaultProfile].apiKey' 2>/dev/null)}" && \
curl -s -X POST "https://oatda.com/api/v1/llm" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OATDA_API_KEY" \
  -d '{
    "provider": "anthropic",
    "model": "claude-3-5-sonnet",
    "prompt": "Write a haiku about code",
    "temperature": 0.7,
    "maxTokens": 256
  }'

Notes

  • The API expects prompt as a plain string, NOT a messages array
  • Split provider/model into separate JSON fields
  • For long-form content, increase maxTokens
  • Use oatda-list-models to see all available models
  • Use oatda-vision-analysis for image analysis tasks

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.84%
按下载量换算1,127

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills