LogoClawIndex
CasesSkillsAbout
LogoClawIndex

openai-api - Implement OpenAI API integrations

Implements stateless OpenAI API patterns for chat, streaming, tools, embeddings, images, audio, moderation, and batch jobs.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Create chat completions
  • Stream completion responses
  • Define function-calling tools
  • Generate structured outputs
  • Process embeddings for RAG
  • Generate and edit images
  • Transcribe and synthesize audio
  • Moderate content
  • Handle API errors
  • Troubleshoot rate limits

Inputs

  • OpenAI API key
  • Conversation history
  • Model selection
  • User messages
  • Tool schemas
  • Image or audio data
  • Embedding text

Outputs

  • Completion messages
  • Streaming responses
  • Tool calls
  • Structured JSON
  • Embedding vectors
  • Generated images
  • Transcriptions
  • Synthesized audio
  • Moderation results
  • API error details

Requirements

  • OpenAI API access
  • OPENAI_API_KEY environment variable
  • Node.js SDK or fetch support
  • Compatible OpenAI model
  • Network access to OpenAI API

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
OpenAI API
chat completions
streaming
function calling
embeddings
image generation
audio processing
moderation
Create chat completions
Stream completion responses
Define function-calling tools
Generate structured outputs
OpenAI API key
Conversation history
Model selection
Completion messages
Streaming responses
Tool calls