← ClaudeAtlas

using-openai-platformlisted

OpenAI SDK development with GPT-5 family, Chat Completions, Responses API, embeddings, and tool calling. Use for AI-powered applications, chatbots, agents, and semantic search.
FortiumPartners/ensemble · ★ 10 · AI & Automation · score 72
Install: claude install-skill FortiumPartners/ensemble
# OpenAI SDK Development Skill ## Quick Reference OpenAI SDK development with Python and TypeScript/JavaScript clients. Covers GPT-5 family models, Chat Completions API, Responses API, embeddings, tool calling, and streaming. **Progressive Disclosure**: This file provides quick reference patterns. See [REFERENCE.md](./REFERENCE.md) for comprehensive API coverage, advanced patterns, and deep dives. --- ## Table of Contents 1. [When to Use](#when-to-use) 2. [GPT-5 Model Family](#gpt-5-model-family) 3. [Quick Start](#quick-start) 4. [Chat Completions API](#chat-completions-api) 5. [Responses API (Next Gen)](#responses-api-next-gen) 6. [Tool Calling](#tool-calling) 7. [Embeddings](#embeddings) 8. [Error Handling](#error-handling) 9. [Platform Differentiators](#platform-differentiators) 10. [Further Reading](#further-reading) 11. [Context7 Integration](#context7-integration) --- ## When to Use This skill is loaded by `backend-developer` when: - `openai` package in `requirements.txt` or `pyproject.toml` - `openai` in `package.json` dependencies - Environment variables `OPENAI_API_KEY` present - User mentions "OpenAI", "GPT", or "ChatGPT" in task --- ## GPT-5 Model Family ### Model Selection Guide | Model | Context | Best For | Cost | |-------|---------|----------|------| | `gpt-5.2` | 400K | Flagship - coding, agentic, multimodal | $1.75/$14 | | `gpt-5.2-pro` | 400K | Maximum reasoning (xhigh effort) | $21/$168 | | `gpt-5.1` | 256K | Stable, previous generation | $1.50