openai-sdk
Installation
SKILL.md
OpenAI Python SDK Skill
Expert guidance for integrating OpenAI's models using the official Python library. This skill covers latest patterns including the Responses API and Realtime capabilities.
1. Installation & Setup
pip install openai
Authentication
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ.get("OPENAI_API_KEY"), # Default: uses OPENAI_API_KEY env var
)