chatgpt

Access OpenAI models via API and persist Q&A history as JSON and Obsidian notes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/robinlllll/claude-code-skills --skill chatgpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chatgpt
Source: https://github.com/robinlllll/claude-code-skills/tree/main/chatgpt
Command: npx skills add https://github.com/robinlllll/claude-code-skills --skill chatgpt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, and includes scripts (resource) components.

What problem does it solve?

ChatGPT API integration enables programmatic access to OpenAI models for one-shot questions, multi-turn conversations, and persistent Q&A history stored as JSON plus Obsidian notes.

Core Features & Use Cases

  • One-shot questions with model selection and optional system prompts.
  • Multi-turn conversations with history persistence across sessions.
  • History data is stored in JSON and mirrored to Obsidian notes for easy review and search.
  • Simple config management for API keys and default model, enabling quick adoption in scripts and other skills.

Quick Start

Ask a question using the ask command to receive an answer and automatically save it to history.

Frequently Asked Questions about chatgpt

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

FAQPage Schema
How do I query OpenAI models via API and save the conversation history?

To query OpenAI models via API and save history, this Skill processes one-shot or multi-turn questions and automatically persists the Q&A history into JSON files and Obsidian notes.

Does this approach support multi-turn conversations with persistent storage across sessions?

Yes, persistent storage supports multi-turn conversations across sessions by saving Q&A history in JSON format and mirroring the data to Obsidian notes for easy review and search.

How does model selection work when querying OpenAI models via API?

Model selection works by applying simple config management for API keys and default models, allowing scripts to switch between OpenAI models while optionally assigning system prompts to guide responses.

What is the best way to manage OpenAI API keys and default model configurations for scripts?

The best way to manage OpenAI API keys and default model configurations is using straightforward config management, enabling quick adoption for CLI/API usage and integration into other scripts.

Can I use Obsidian notes to review and search saved OpenAI Q&A history?

Yes, you can use Obsidian notes to review and search saved OpenAI Q&A history because the Skill automatically mirrors persistent JSON history data into Obsidian for straightforward retrieval.

Why do I need an OpenAI dependency to execute one-shot questions with history persistence?

You need the OpenAI dependency to execute one-shot questions because it provides the core API framework required to access models, process reasoning backends, and output persistent JSON history.