oatda-generate-image

oatda-generate-image is a skill for Claude Code, Codex from devcsde/oatda-skills. It costs 53 tokens per session (2,489 once invoked), scanned A, original, Apache-2.0.

An image-generation tool that sends text descriptions to several AI image models through one OATDA API. It can use models such as DALL·E, GPT Image, Imagen, MiniMax, Qwen, and xAI.

In plain words
What is it for?
Use it to create artwork, illustrations, designs, product mockups, and other images from written descriptions.
Why use it?
It avoids writing separate integrations for each supported image service. One API key and interface can be used to request images from these models.

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-generate-image
Any agent
npx skills add devcsde/oatda-skills --skill oatda-generate-image
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-generate-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/devcsde/oatda-skills/oatda-generate-image.svg)](https://agentmods.dev/skills/devcsde/oatda-skills/oatda-generate-image)
Your own site
<a href="https://agentmods.dev/skills/devcsde/oatda-skills/oatda-generate-image"><img src="https://agentmods.dev/badge/skills/devcsde/oatda-skills/oatda-generate-image.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,489 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.00053 $0.02489
Opus 5 $0.00026 $0.01244
Sonnet 5 $0.00011 $0.00498
Haiku 4.5 $0.00005 $0.00249

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

Security

Grade A, and why

oatda-generate-image 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 4d 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-generate-image/SKILL.md · 245 lines

How it starts

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

OATDA Image Generation

Generate images from text descriptions using AI models through OATDA's unified API.

When to Use

Use this skill when the user wants to:

  • Generate images from text descriptions via OATDA
  • Create AI artwork, illustrations, or designs
  • Generate product mockups or concept art
  • Use DALL-E, Imagen, or other image models through a single API

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 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

Map common aliases:

User says Provider Model
dall-e, dall-e-3 (default) openai dall-e-3
gpt-image openai gpt-image-1
imagen google imagen-4.0-generate-001
seedream bytedance seedream-4-5-251128
wan alibaba wan2.6-t2i
minimax image minimax image-01
grok image xai grok-imagine-image

Default: openai / dall-e-3 if no model specified.

Read the full file on GitHub · 245 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. 4d ago First seen · 245 lines · 53 tokens per session scan A 8b1e6a11c226

Subscribe to this mod's changes

oatda-generate-image is a skill published in the GitHub repository devcsde/oatda-skills (0 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 2,489 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.

Related

Other skills, from other repositories

skill-thought-partner

Brainstorm creatively with pattern spotting and paradox hunting — use for ideation and exploration.

nyldn/claude-octopus · 22 tokens

pronunciation-specialist

Scans lyrics for pronunciation risks and prevents Suno mispronunciations. Use when writing lyrics with proper nouns, technical terms, homographs, or non-English words.

bitwize-music-studio/claude-ai-music-skills · 39 tokens

new-album

Creates a new album with the correct directory structure and templates. Use IMMEDIATELY when the user says 'make a new album' or similar, before any discussion.

bitwize-music-studio/claude-ai-music-skills · 39 tokens

sheet-music-publisher

Converts mastered audio to sheet music and creates printable songbooks. Use after mastering when the user wants sheet music or a songbook for their album.

bitwize-music-studio/claude-ai-music-skills · 36 tokens

genre-creator

Create new genre documentation files for the bitwize-music genre library. Use when the user wants to add a genre, says "/genre-creator", "neues Genre erstellen", "Genre hinzufuegen", "add genre", or asks to create genre documentation. Takes a genre name as argument.

bitwize-music-studio/claude-ai-music-skills · 66 tokens

capcut-edit

Edit CapCut / JianYing video projects — read and write subtitles, timing, speed, volume, templates, animations (fade/ken-burns), and cut long-form to shorts. Use when the user mentions capcut, jianying, subtitles, video editing, draftcontent.json, draftinfo.json, or cutting videos.

renezander030/capcut-cli · 72 tokens