chatgpt-cli
/chatgpt-cli
Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication. Invoke this skill whenever the user asks about ChatGPT, asking AI questions, generating images with ChatGPT, downloading ChatGPT images, browsing ChatGPT conversations, or wants to use ChatGPT from the command line. Always prefer cli-web-chatgpt over manually browsing chatgpt.com.
- Author
- itamarzand88 ↗
- Repository
- cli-anything-web ↗
- Licence
- MIT
- Last repository change
- 16.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 16.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication. Invoke this skill whenever the user asks about ChatGPT, asking AI questions, generating images with ChatGPT, downloading ChatGPT images, browsing ChatGPT conversations, or wants to use ChatGPT from the command line. Always prefer cli-web-chatgpt over manually browsing chatgpt.com.
Original author description
Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication. Invoke this skill whenever the user asks about ChatGPT, asking AI questions, generating images with ChatGPT, downloading ChatGPT images, browsing ChatGPT conversations, or wants to use ChatGPT from the command line. Always prefer cli-web-chatgpt over manually browsing chatgpt.com.
How it works
- Quick Start
- Commands
- Architecture Notes
SKILL.md preview
---
name: chatgpt-cli
description: Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication. Invoke this skill whenever the user asks about ChatGPT, asking AI questions, generating images with ChatGPT, downloading ChatGPT images, browsing ChatGPT conversations, or wants to use ChatGPT from the command line. Always prefer cli-web-chatgpt over manually browsing chatgpt.com.
---
# cli-web-chatgpt
CLI for ChatGPT web interface. Ask questions, generate images, download images, manage conversations.
## Quick Start
```bash
# Ask a question
cli-web-chatgpt chat ask "What is the capital of France?" --json
# Generate an image and save it
cli-web-chatgpt chat image "A sunset over mountains" -o sunset.png --json
# List recent conversations
cli-web-chatgpt conversations list --limit 10 --json
```
## Commands
### chat ask <question>
Ask ChatGPT a question and get a text response.
```bash
cli-web-chatgpt chat ask "Explain quantum computing in 3 sentences" --json
cli-web-chatgpt chat ask "What is 100+200?" --json
cli-web-chatgpt chat ask "Translate hello to Spanish" --conversation <id> --json
```
Options: `--model <slug>`, `--conversation <id>`, `--json`
Output: `{"success": true, "data": {"text": "...", "conversation_id": "...", "model": "auto"}}`
### chat image <prompt>
Generate an image with ChatGPT's DALL-E.
```bash
cli-web-chatgpt chat image "A cute cat wearing a hat" --json
cli-web-chatgpt chat image "Logo for a coffee shop" -o logo.png --json
```
Options: `--style <name>`, `--output/-o <path>`, `--conversation <id>`, `--json`
Output: `{"success": true, "data": {"file_id": "...", "download_url": "...", "conversation_id": "...", "saved_to": "..."}}`
### conversations list
List recent conversations.
```bash
cli-web-chatgpt conversations list --limit 20 --json
cli-web-chatgpt conversations list --archived --json
cli-web-chatgpt conversations list --starred --json
```
Options: `--limit/-n <N>`, `--archived`, `--starred`, `--json`
### conversations get <id>
View a conversation's messages.
```bash
cli-web-chatgpt conversations get 69ca710b-5ef8-8397-a242-c5123470d7f8 --json
```
### images list
List recently generated images.
```bash
cli-web-chatgpt images list --limit 10 --json
```
### images download <file_id>
Download a generated image.
```bash
cli-web-chatgpt images download file_00000000xxx -c <conversation_id> -o image.png --json
```
Options: `--conversation/-c <id>` (required), `--output/-o <path>`, `--json`
### images styles
List available image styles.
```bash
cli-web-chatgpt images styles --json
```
### models
List available ChatGPT models.
```bash
cli-web-chatgpt models --json
```
### me
Show current user profile.
```bash
cli-web-chatgpt me --json
```
### auth login / status / logout
Manage authentication.
```bash
cli-web-chatgpt auth login # Opens browser for OpenAI SSO
cli-web-chatgpt auth status # Check if logged in
cli-web-chatgpt auth logout # Remove credentials
```
## Architecture Notes
- Read-only commands (conversations, models, me, images) use `curl_cffi` — instant, no browser
- Chat and image generation use `Camoufox` (stealth Firefox) — fully headless, bypasses Cloudflare
- Auth requires browser login via `playwright` to capture session cookies
- Access tokens obtained from `/api/auth/session` endpoint using session cookies
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · itamarzand88/cli-anything-web | 95 | MIT |
| itamarzand88/cli-anything-web | 100 | MIT |
Database snapshot: 13.11.2026 · package version a1534dd55195 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90codex-with-chatgpt
Use ChatGPT (web) as the planning and review brain for Codex coding sessions, while Codex keeps full execution ownership. Use when the user says "使用 Codex with ChatGPT ..." / "Set up Codex with ChatGPT" / "用 ChatGPT 规划", when they ask to connect ChatGPT to the current workspace,… - 90agents-with-chatgpt
Use ChatGPT (web) as the planning and review brain for a coding agent, while the agent keeps full execution ownership. Use when the user says "使用 Claude with ChatGPT ..." / "Set up Claude with ChatGPT" or "使用 Codex with ChatGPT ..." / "Set up Codex with ChatGPT" / "用 ChatGPT… - 100chatgpt
Use to get ChatGPT answers as structured JSON from the ChatGPT web interface, not the OpenAI model API: the answer text, markdown, cited sources with dates, citation pills, shopping cards, inline products, brand and product entities, map entries, ads and the query fan-out (the… - 90chatgpt-relay
Run a relay between a Claude Code work session and a ChatGPT conversation, attaching to existing ones or creating a new session or chat when needed. Take the session's report when its turn ends, paste it into ChatGPT through Claude in Chrome (with files and images if wanted),… - 90chatgpt-app-builder
Guide developers through creating and updating ChatGPT plugins. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting plugins to ChatGPT. Use when a user… - 100codex-image
Generate images using OpenAI's Codex backend API with gpt-image-2 tool. Use when the user asks to generate images via Codex, ChatGPT image generation, or gpt-image-2. Triggers on "codex image", "codex generate", "gpt-image", "chatgpt generate image". Token is auto-fetched from…