Awesome-openclaw-skills gpt

OpenAI GPT integration. Chat completions, image generation, embeddings, and fine-tuning via OpenAI API.

install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/gpt" ~/.claude/skills/sundial-org-awesome-openclaw-skills-gpt && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/gpt" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-gpt && rm -rf "$T"
manifest: skills/gpt/SKILL.md
source content

GPT 🤖

OpenAI GPT integration.

Setup

export OPENAI_API_KEY="sk-..."

Features

  • Chat completions (GPT-4, GPT-4o)
  • Image generation (DALL-E)
  • Text embeddings
  • Fine-tuning
  • Assistants API

Usage Examples

"Ask GPT: Explain quantum computing"
"Generate image of a sunset"
"Create embeddings for this text"

API Reference

curl -s https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'