ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

openai

OpenAI integration. Manage Assistants, Files. Use when the user wants to interact with OpenAI data.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/gora050/openai-integration
Or

OpenAI

OpenAI is an artificial intelligence research and deployment company. They offer various AI models and APIs for developers to build applications leveraging cutting-edge AI capabilities.

Official docs: https://platform.openai.com/docs/api-reference

OpenAI Overview

  • Assistant
    • Thread
      • Message
  • File

Use action names and parameters as needed.

Working with OpenAI

This skill uses the Membrane CLI to interact with OpenAI. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.

Install the CLI

Install the Membrane CLI so you can run membrane from the terminal:

npm install -g @membranehq/cli

First-time setup

membrane login --tenant

A browser window opens for authentication.

Headless environments: Run the command, copy the printed URL for the user to open in a browser, then complete with membrane login complete <code>.

Connecting to OpenAI

  1. Create a new connection:
    membrane search openai --elementType=connector --json
    
    Take the connector ID from output.items[0].element?.id, then:
    membrane connect --connectorId=CONNECTOR_ID --json
    
    The user completes authentication in the browser. The output contains the new connection id.

Getting list of existing connections

When you are not sure if connection already exists:

  1. Check existing connections:
    membrane connection list --json
    
    If a OpenAI connection exists, note its connectionId

Searching for actions

When you know what you want to do but not the exact action ID:

membrane action list --intent=QUERY --connectionId=CONNECTION_ID --json

This will return action objects with id and inputSchema in it, so you will know how to run it.

Popular actions

NameKeyDescription
Delete Filedelete-fileDeletes a file.
Get Fileget-fileReturns information about a specific file.
List Fileslist-filesReturns a list of files that belong to the user's organization.
Get Modelget-modelRetrieves a model instance, providing basic information about the model.
List Modelslist-modelsLists the currently available models and provides basic information about each one.
Create Moderationcreate-moderationClassifies if text violates OpenAI's Content Policy.
Generate Imagegenerate-imageCreates an image given a prompt using DALL-E.
Create Embeddingcreate-embeddingCreates an embedding vector representing the input text.
Create Chat Completioncreate-chat-completionCreates a model response for the given chat conversation using GPT models.

Running actions

membrane action run --connectionId=CONNECTION_ID ACTION_ID --json

To pass JSON parameters:

Metadata

Author@gora050
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-gora050-openai-integration": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.