OpenAI LLM

Generate text via OpenAI chat completions with GPT-5.2, GPT-5.2-pro, and GPT-5.1 models.

1|2|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/vibecode/Skillsforagent --skill openai-llm-vibecode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OpenAI LLM
Source: https://github.com/vibecode/Skillsforagent/tree/main/Foundational/openai-llm
Command: npx skills add https://github.com/vibecode/Skillsforagent --skill openai-llm-vibecode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a foundational capability for interacting with OpenAI's powerful language models, enabling agents to generate human-like text, engage in conversations, and process complex instructions.

Core Features & Use Cases

  • Text Generation: Create articles, summaries, code, and more.
  • Conversational AI: Power multi-turn dialogues and chatbots.
  • Structured Output: Generate JSON or adhere to specific schemas.
  • Function Calling: Enable agents to use external tools.
  • Vision Capabilities: Process and understand image inputs alongside text.
  • Use Case: An agent can use this skill to draft an email response to a customer inquiry, summarize a long document, or even generate Python code snippets based on a natural language description.

Quick Start

Use the OpenAI LLM skill to generate a short story about a space explorer.

Frequently Asked Questions about OpenAI LLM

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate text using OpenAI GPT models via chat completions?

To generate text using OpenAI GPT models, use the chat completions wrapper script to send prompts and receive responses. It supports GPT-5.2, GPT-5.2-pro, and GPT-5.1 models for creating articles, summaries, and code.

Can I use function calling with OpenAI LLM for tool integration?

Function calling for tool integration is fully supported by OpenAI LLM. It enables agents to invoke external tools during chat completions, allowing them to fetch real-time data or execute operations based on model instructions.

What's the best way to process images alongside text in OpenAI chat completions?

The best way to process images alongside text is using the vision capabilities included in OpenAI LLM. This feature allows the GPT models to understand and analyze image inputs during multi-turn conversations and chat completions.

Do I need an OPENAI_API_KEY to use OpenAI text generation capabilities?

Yes, you need an OPENAI_API_KEY to authenticate requests for OpenAI text generation. The wrapper script handles this authentication automatically, providing secure access to GPT-5.2 and GPT-5.1 models for your applications.

Does OpenAI LLM support streaming text generation for multi-turn conversations?

OpenAI LLM supports streaming text generation and multi-turn conversations. This allows you to receive generated text incrementally as it is produced, reducing latency for conversational AI and interactive chatbot applications.