openai-sdk

Installation
SKILL.md

OpenAI SDK

Expert assistance with the OpenAI Python SDK (openai package). Covers chat completions, function calling, structured outputs, embeddings, token counting with tiktoken, cost estimation, and model selection.

When to Use This Skill

  • Calling GPT-4o, GPT-4o-mini, o1, or o3 models
  • Implementing function calling / tools
  • Generating embeddings for semantic search
  • Counting tokens with tiktoken before making a call
  • Estimating costs for a request
  • Using structured outputs (JSON mode / response_format)
  • Building streaming chat applications

Pre-flight Checklist

Before writing any API code, verify in order:

Installs
1
First Seen
Jun 10, 2026
openai-sdk — andreab67/agent-skills