Agent skill · Backend & API

openai-api

Package: openai@6.9.1 | Last Updated: 2025-11-21

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-llm/openai-api-secondsky-claude-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- 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

What's inside
Steps it walks through
  1. Quick Start
  2. Current Models (2025)
  3. Chat Completions
  4. Streaming
  5. Function Calling
  6. Embeddings
  7. Images (GPT-Image-1.5)
  8. Audio
  9. Top Errors
  10. Resources
  11. Reference Guides
  12. Templates
Ships with 1 file
  • metadata.json
Commands it runs
bun add openai
export OPENAI_API_KEY="sk-..."
More from claude-skill-registry
All skills →
About this skill
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.

Keep going