Chuyển đến nội dung
Skillpedia
Trình kết nối (MCP)77k · #2296

OpenAI Automation

Skill này làm gì

Công cụ này cho phép bạn dùng các tính năng của OpenAI như tạo văn bản, tạo hình ảnh và sắp xếp thông tin tự động. Bạn có thể yêu cầu AI trả lời câu hỏi, tạo tranh kỹ thuật số hoặc chuyển đổi dữ liệu sang một định dạng cụ thể.

Khi nào nên dùng

  • ✓Khi bạn cần câu trả lời nhanh và có tổ chức từ văn bản.
  • ✓Khi bạn muốn tạo hình ảnh từ mô tả bạn viết.
  • ✓Khi bạn muốn chuyển đổi dữ liệu sang một định dạng cụ thể, như danh sách có tổ chức.

Liên kết skill

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/openai-automation/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/openai-automation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một bức ảnh con mèo đội mũ tiệc.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn cho AI biết muốn làm gì, như tạo văn bản hoặc hình ảnh, và AI sẽ dùng công cụ của OpenAI để thực hiện. AI còn có thể hiểu nội dung của một hình ảnh và trả lời câu hỏi về hình ảnh đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Add the Composio MCP server to your client: https://rube.app/mcp
  2. Connect your OpenAI account when prompted (API key authentication)
  3. 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

…

Câu hỏi thường gặp

AI biết dùng mô hình OpenAI nào bằng cách nào?

Bạn có thể chỉ định mô hình, hoặc công cụ có thể chọn một mô hình phù hợp với yêu cầu của bạn.

Tôi có thể yêu cầu AI trả lời theo một định dạng cụ thể, như JSON không?

Có, bạn có thể yêu cầu AI định dạng câu trả lời dưới dạng JSON, rất hữu ích để sắp xếp dữ liệu.

Tôi có thể dùng mô hình tạo hình ảnh nào?

Bạn có thể dùng các mô hình như DALL-E 3 hoặc GPT Image. Nên biết rằng DALL-E 2 và 3 đang được loại dần, nên các mô hình mới hơn được khuyến nghị.

Chi tiết

Mô tả gốc của tác giả

Automate OpenAI API operations -- generate responses with multimodal and structured output support, create embeddings, generate images, and list models via the Composio MCP integration.

repo: ComposioHQ/awesome-claude-skills

Độ phổ biến

Sao GitHub
77k
Vị trí xếp hạng
#2296
Giấy phép
—
Cập nhật
18/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự