npx skills add majiayu000/claude-skill-registry --skill openai-api-secondsky-claude-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
--- name: openai-api description: Complete guide for OpenAI APIs: Chat Completions (GPT-5.2, GPT-4o), Embeddings, Images (GPT-Image-1.5), Audio (Whisper + TTS + Transcribe), Moderation. Includes Node.js SDK and fetch approaches. license: MIT --- # OpenAI API **Package**: openai@6.9.1 | **Last Updated**: 2025-11-21 ## Quick Start ```bash bun add openai export OPENAI_API_KEY="sk-..." ``` ```typescript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); const response = await client.chat.completions.create({ model: 'gpt-4o', messages: [{ role: 'user', content: 'Hello!' }] }); ``` ## Current Models (2025) - **gpt-5.2**: Most capable (128k context) - **gpt-4o**: Fast multimodal (128k context) - **gpt-4o-mini**: Cost-effective (128k context) - **gpt-4o-transcribe**: Audio transcription optimized - **gpt-4o-mini-transcribe**: Cost-effective transcription - **o1-preview**: Advanced reasoning (128k context) - **o1-mini**: Fast reasoning (128k context) ## Chat Completions ```typescript const response = await client.chat.completions.create({ model: 'gpt-4o', messages: [ { role: 'system', content: 'You are a helpful assistant' }, { role: 'user', cont
- Quick Start
- Current Models (2025)
- Chat Completions
- Streaming
- Function Calling
- Embeddings
- Images (GPT-Image-1.5)
- Audio
- Top Errors
- Resources
- Reference Guides
- Templates
bun add openai export OPENAI_API_KEY="sk-..."
What does the openai-api skill do?
Package: openai@6.9.1 | Last Updated: 2025-11-21
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openai-api-secondsky-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
