Openai integration

From vamseeachanta/workspace-hub · View interactive version

Openai integration is an AI agent skill from the GitHub repository vamseeachanta/workspace-hub. Sub-skill of prompt-engineering: OpenAI Integration (+1).

How to use this skill

Skill file

OpenAI Integration (+1)

OpenAI Integration

import openai

def create_openai_caller(model: str = "gpt-4", temperature: float = 0.7):
    """Create OpenAI API caller."""
    client = openai.OpenAI()

    def call(prompt: str, system: str = None) -> str:
        messages = []
        if system:

*See sub-skills for full details.*

## Anthropic Integration

import anthropic

def create_anthropic_caller(model: str = "Codex-3-opus-20240229"):

"""Create Anthropic API caller."""

client = anthropic.Anthropic()

def call(prompt: str, system: str = None) -> str:

response = client.messages.create(

model=model,

See sub-skills for full details.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.