OpenAI Automation
Enables your agent to interact with the OpenAI API. It can generate text, images, create embeddings, and list models.
What it does
This tool lets you use OpenAI features like generating text, creating images, and organizing information automatically. You can ask the AI to answer questions, create digital art, or transform data into a specific format.
When to use it
- ✓When you need quick and organized answers from text.
- ✓To create images from descriptions you write.
- ✓When you want to transform data into a specific format, like an organized list.
Example of what to ask your AI
“Create an image of a cat wearing a party hat.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
You tell the AI what you want to do (like generate text or an image), and it uses OpenAI's tools to perform the task. It can even understand what's in an image and answer questions about it.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add ComposioHQ/awesome-claude-skills --skill OpenAI AutomationOr download just the file:
curl -L https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/openai-automation/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
OpenAI Automation
Automate your OpenAI API workflows -- generate text with the Responses API (including multimodal image+text inputs and structured JSON outputs), create embeddings for search and clustering, generate images with DALL-E and GPT Image models, and list available models.
Toolkit docs: composio.dev/toolkits/openai
Setup
- Add the Composio MCP server to your client:
https://rube.app/mcp - Connect your OpenAI account when prompted (API key authentication)
- Start using the workflows below
Core Workflows
1. Generate a Response (Text, Multimodal, Structured)
Use OPENAI_CREATE_RESPONSE for one-shot model responses including text, image analysis, OCR, and structured JSON outputs.
Tool: OPENAI_CREATE_RESPONSE
Inputs:
- model: string (required) -- e.g., "gpt-5", "gpt-4o", "o3-mini"
- input: string | array (required)
Simple: "Explain quantum computing"
Multimodal: [
{ role: "user", content: [
{ type: "input_text", text: "What is in this image?" },
{ type: "input_image", image_url: { url: "https://..." } }
]}
]
- temperature: number (0-2, optional -- not supported with reasoning models)
- max_output_tokens: integer (optional)
- reasoning: { effort: "none" | "minimal" | "low" | "medium" | "high" }
- text: object (structured output config)
- format: { type: "json_schema", name: "...", schema: {...}, strict: true }
- tools: array (function, code_interpreter, file_search, web_search)
- tool_choice: "auto" | "none" | "required" | { type: "function", function: { name: "..." } }
- store: boolean (false to opt out of model distillation)
- stream: boolean
Structured output example: Set text.format to { type: "json_schema", name: "person", schema: { type: "object", properties: { name: { type: "string" }, age: { type: "integer" } }, required: ["name", "age"], additionalProperties: false }, strict: true }.
2. Create Embeddings
Use OPENAI_CREATE_EMBEDDINGS for vector search, clustering, recommendations, and RAG pipelines.
Tool: OPENAI_CREATE_EMBEDDINGS
Inputs:
- input: string | string[] | int[] | int[][] (required) -- max 8192 tokens, max 2048 items
- model: string (required) -- "text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"
- dimensions: integer (optional, only for text-embedding-3 and later)
- encoding_format: "float" | "base64" (default "float")
- user: string (optional, end-user ID for abuse monitoring)
3. Generate Images
Use OPENAI_CREATE_IMAGE to create images from text prompts using GPT Image or DALL-E models.
Tool: OPENAI_CREATE_IMAGE
Inputs:
- model: string (required) -- "gpt-image-1", "gpt-image-1.5", "dall-e-3", "dall-e-2"
- prompt: string (required) -- max 32000 chars (GPT Image), 4000 (DALL-E 3), 1000 (DALL-E 2)
- size: "1024x1024" | "1536x1024" | "1024x1536" | "auto" | "256x256" | "512x512" | "1792x1024" | "1024x1792"
- quality: "standard" | "hd" | "auto" | "high" | "medium" | "low"
- n: integer (1-10; DALL-E 3 supports n=1 only)
- background: "transparent" | "opaque" | "auto" (GPT Image models only)
- style: "vivid" | "natural" (DALL-E 3 only)
- user: string (optional)
4. List Available Models
Use OPENAI_LIST_MODELS to discover which models are accessible with your API key.
Tool: OPENAI_LIST_MODELS
Inputs: (none)
Known Pitfalls
| Pitfall | Detail |
|---|---|
| DALL-E deprecation | DALL-E 2 and DALL-E 3 are deprecated and will stop being supported on 05/12/2026. Prefer GPT Image models. |
| DALL-E 3 single image only | OPENAI_CREATE_IMAGE with DALL-E 3 only supports n=1. Use GPT Image models or DALL-E 2 for multiple images. |
| Token limits for embeddings | Input must not exceed 8192 tokens per item and 2048 items per batch for embedding models. |
| Reasoning model restrictions | temperature and top_p are not supported with reasoning models (o3-mini, etc.). Use reasoning.effort instead. |
| Structured output strict mode | When strict: true in json_schema format, ALL schema properties must be listed in the required array. |
| Prompt length varies by model | Image prompt max lengths differ: 32000 (GPT Image), 4000 (DALL-E 3), 1000 (DALL-E 2). |
Quick Reference
| Tool Slug | Description |
|---|
…
FAQ
How does the AI know which OpenAI models to use?
You can specify the model, or the tool can choose a suitable one based on your request.
Can I ask the AI to give me the answer in a specific format, like JSON?
Yes, you can ask the AI to format the response as JSON, which is great for organizing data.
What image models can I use?
You can use models like DALL-E 3 or GPT Image. It's good to know that DALL-E 2 and 3 are being phased out, so newer models are recommended.
Details
Original description by the author
Automate OpenAI API operations -- generate responses with multimodal and structured output support, create embeddings, generate images, and list models via the Composio MCP integration.
Popularity
- GitHub stars
- 77k
- Ranking position
- #1399
- License
- —
- Updated
- 9/18/2026
Comments
- …
More skills from this repository
artifacts-builder
Helps your agent build complex user interfaces. It uses modern technologies to create rich, interactive web pages.
ComposioHQ/awesome-claude-skills
brand-guidelines
Helps your agent apply official brand colors and fonts to materials. It's useful for maintaining visual identity in any piece that needs to look like the company's.
ComposioHQ/awesome-claude-skills
canvas-design
Lets your agent create original visual art in .png and .pdf. Use it when the user asks to create a poster, art, or other static design.
ComposioHQ/awesome-claude-skills
changelog-generator
Helps your agent create user-facing release notes from code commits. It transforms technical information into easy-to-understand text.
ComposioHQ/awesome-claude-skills
Similar skills
speech
Helps your agent turn text into spoken audio. It's useful for creating narration, lecture audio, or quick voiceovers.
nexu-io/open-design
atlas-cloud-media
Lets your agent create images and videos using the cloud. It generates media automatically and securely. Useful for those who need visual content quickly.
sickn33/agentic-awesome-skills
azure-ai-textanalytics-py
Lets your agent analyze texts to understand sentiment and identify key information. It's useful for processing large amounts of text quickly. This helps extract valuable insights from textual data.
sickn33/agentic-awesome-skills