openai-api
Builds or debugs OpenAI Chat Completions, Responses API, and OpenAI Agents SDK patterns — function calling, structured output, streaming, handoffs. Use when extending src/lib/ai/clients/openai.ts or a
SKILL.mdcursor/openai-api/SKILL.md
GitHubOpenAI API (Cursor)
Canonical source
.claude/skills/openai-api/SKILL.md lists platform.openai.com and openai.github.io/openai-agents-python references and implementation patterns.
In Cursor
- Read the canonical skill for the surface you need (
agentsvschat). - Fetch current OpenAI docs (model list, API reference) before relying on model IDs or parameters.
- OpenAI REST + Agents SDK entry:
src/lib/ai/clients/openai.ts(openaiClient,createAgent,createRunner, re-exportsrun,tool,fileSearchTool).