GPT CLI — AI skill for Claude Code
Command-line interface for ChatGPT, Claude and Bard.
How to install GPT CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kharvd/gpt-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What GPT CLI does
Command-line interface for ChatGPT, Claude and Bard.
Alternatives in AI
- System Prompts Leaks — Extracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), G 38.6k ★
- Qwen Code — A command-line AI workflow tool adapted from Gemini CLI, optimized for Qwen3-Coder models with enhanced parser 20.8k ★
- CLI 代理 API — English 中文 一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器 19k ★
README
gpt-cli
Command-line interface for chat LLMs.
Try now
export ANTHROPIC_API_KEY=xcxc
uvx --from gpt-command-line gpt
Supported providers
- OpenAI
- Anthropic
- Google Gemini
- Cohere
- Other APIs compatible with OpenAI (e.g. Together, OpenRouter, local models with LM Studio)

Features
- Command-Line Interface: Interact with ChatGPT or Claude directly from your terminal.
- Model Customization: Override the default model, temperature, and top_p values for each assistant, giving you fine-grained control over the AI's behavior.
- Extended Thinking Mode: Enable Claude 3.7's extended thinking capability to see its reasoning process for complex problems.
- Usage tracking: Track your API usage with token count and price information.
- Keyboard Shortcuts: Use Ctrl-C, Ctrl-D, and Ctrl-R shortcuts for easier conversation management and input control.
- Multi-Line Input: Enter multi-line mode for more complex queries or conversations.
- Markdown Support: Enable or disable markdown formatting for chat sessions to tailor the output to your preferences.
- Predefined Messages: Set up predefined messages for your custom assistants to establish context or role-play scenarios.
- Multiple Assistants: Easily switch between different assistants, including general, dev, and custom assistants defined in the config file.
- Flexible Configuration: Define your assistants, model parameters, and API key in a YAML configuration file, allowing for easy customization and management.
Installation
This install assumes a Linux/OSX machine with Python and pip available.
pip install gpt-command-line
Install latest version from source:
pip install git+https://github.com/kharvd/gpt-cli.git
Or install by cloning the repository manually:
git clone https://github.com/kharvd/gpt-cli.git
cd gpt-cli
pip inst
Related Skills
Image Use
Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae
ChatGPT Imagegen
Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae
Claude Terminal
A command-line interface for chatting with Anthropic's Claude AI assistant, with optional long-term memory and
CLIProxyAPI
Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex co
Pixeltamer GPT Image Skill
Image generation skill for Claude Code, Codex CLI, OpenCode, Cursor and 50+ AI coding agents. Two backends (Op
CLIProxyAPI Zz
Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex co
Related Agents
GPT 5.6 Luna
General-purpose agent that runs on GPT-5.6-Luna (routed through the shunt gateway to the ChatGPT/Codex subscri
OpenAI Assistants
Setup: OpenAI Assistants API / ChatGPT Custom GPT
Image Craft Expert
Crafts optimized text-to-image prompts and generates images using Gemini (nano-banana) and/or ChatGPT (gpt-ima