Agent skill

Chatgpt CLI

by ItamarZand88 in ItamarZand88/CLI-Anything-WEB

Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth.

MITAuto-check passedMedia & Creative

Install Chatgpt CLI

skills CLI
$ npx skills add ItamarZand88/CLI-Anything-WEB --skill chatgpt-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ItamarZand88/CLI-Anything-WEB chatgpt-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/chatgpt-cli .claude/skills/chatgpt-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chatgpt-cli
GitHub stars
231
Token cost
~781 tokens
SKILL.md length
242 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth.

  • The user wants to ask ChatGPT something
  • SKILL.md covers Commands, Examples, JSON output and Auth, plus 2 more sections
  • Calls pip, python and playwright
  • Generate images with ChatGPT

What it does

Chatgpt CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth. Use when the user wants to ask ChatGPT something, generate images with ChatGPT, or browse their ChatGPT conversations from the command line. Prefer cli-web-chatgpt over browsing chatgpt.com.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Image generation and Authentication. It works with OpenAI. The repository describes itself as: Claude Code plugin that generates production-grade Python CLIs for any web app. 20 CLIs and counting. The licence is MIT.

When your agent uses it

  • The user wants to ask ChatGPT something
  • Generate images with ChatGPT
  • Browse their ChatGPT conversations from the command line

Example prompts

  • “Use the chatgpt-cli skill to drive ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view…”
  • “/chatgpt-cli”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 931e201. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • python
    • playwright

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Chatgpt CLI loads about 781 tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 242 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~781

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ItamarZand88/CLI-Anything-WEB at commit 931e201, republished under its MIT licence (© ItamarZand88). 242 words, ~781 tokens.

Download SKILL.mdSave it as .claude/skills/chatgpt-cli/SKILL.md (or your agent's skills folder).
name
chatgpt-cli
description
Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth. Use when the user wants to ask ChatGPT something, generate images with ChatGPT, or browse their ChatGPT conversations from the command line. Prefer cli-web-chatgpt over browsing chatgpt.com.

cli-web-chatgpt

ChatGPT on the command line: chat, image generation, conversation browsing. Chat/image commands run a headless stealth browser (Camoufox) to pass Cloudflare; read-only commands are instant HTTP. Install: pip install "cli-web-chatgpt[auth]", then python -m camoufox fetch and playwright install chromium.

Commands

  • chat ask QUESTION — ask ChatGPT. Options: --model SLUG (see models), --conversation ID (continue a thread)
  • chat image PROMPT — generate an image. Options: --style NAME (see images styles), -o/--output PATH (save file), --conversation ID
  • conversations list — recent conversations. Options: -n/--limit N, --archived, --starred
  • conversations get CONVERSATION_ID — view a conversation's messages
  • images list — recently generated images. Options: -n/--limit N
  • images download FILE_ID -c CONVERSATION_ID — download an image. Options: -o/--output PATH
  • images styles — available image styles
  • models — available model slugs
  • me — current user profile
  • auth login / auth status / auth logout — manage authentication

Examples

bash
# Ask a question — returns text + conversation_id for follow-ups
cli-web-chatgpt chat ask "Explain quantum computing in 3 sentences" --json

# Continue the same conversation
cli-web-chatgpt chat ask "Now give an example" --conversation <conversation_id> --json

# Generate an image and save it
cli-web-chatgpt chat image "Logo for a coffee shop" -o logo.png --json

# Browse recent conversations, then read one
cli-web-chatgpt conversations list -n 10 --json
cli-web-chatgpt conversations get 69ca710b-5ef8-8397-a242-c5123470d7f8 --json

# Re-download a previously generated image
cli-web-chatgpt images download file_00000000xxx -c <conversation_id> -o image.png --json

JSON output

Add --json for structured output: {"success": true, "data": {...}} on success, {"error": true, "code": "...", "message": "..."} on failure. chat ask data: {text, conversation_id, model}. chat image data: {file_id, download_url, conversation_id, saved_to}.

Auth

All commands require login. cli-web-chatgpt auth login opens a browser for OpenAI SSO and saves session cookies; auth status checks them; auth logout removes them. Use cli-web-chatgpt doctor to diagnose auth problems.

Utilities

cli-web-chatgpt doctor [--json] diagnoses local setup (install, auth, dependencies). cli-web-chatgpt mcp-serve exposes the commands as MCP tools over stdio.

Agent tips

  • Chat and image generation take 15–60s (headless browser round-trip); read-only commands return immediately.
  • Reuse conversation_id from a previous chat ask to keep context across calls.

© ItamarZand88, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/chatgpt-cli of ItamarZand88/CLI-Anything-WEB.

Open the folder on GitHubat commit 931e201

Compare with similar skills

Chatgpt CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chatgpt CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chatgpt CLI this skillItamarZand88/CLI-Anything-WEB231—~781Automated safety check: PassMIT
Codex Imagendarkamenosa/codex-imagen135—~2.6kAutomated safety check: PassMIT
Fish Audio APIwaker240/FullVideoProductionSkill197—~1.1kAutomated safety check: NotesApache-2.0
Gpt Image Genninehills/skills281—~1.8kAutomated safety check: NotesMIT
302ai API Integrationmajiayu000/claude-skill-registry6661 repos~3.4kAutomated safety check: PassMIT
Codex API Image Generatoryc-duan/api-image101—~4.9kAutomated safety check: PassMIT

Similar skills

  • Codex Imagen

    darkamenosa/codex-imagen

    Generate or edit raster images by calling the ChatGPT/Codex hosted imagegeneration flow with local Codex or OpenClaw OAuth credentials, then save decoded image files for OpenClaw and other agent…

    135 GitHub stars~2.6k tokensUpdated 14 days ago
    Media & CreativeAuto-check passed
  • Fish Audio API

    waker240/FullVideoProductionSkill

    Generate narration with the public Fish Audio REST API using environment credentials and a user-selected voice.

    197 GitHub stars~1.1k tokensUpdated 12 days ago
    Media & CreativeAuto-check: notes
  • Gpt Image Gen

    ninehills/skills

    生图 / 生成图片 / 画图 — 用 OpenAI gpt-image-2 生成图像。支持文生图、参考图生图 (img2img)、蒙版修补 (inpainting)。当用户要求用 GPT 画图、OpenAI 生图、gpt-image-2、文+图生图、参考图片生成、img2img、inpainting 时必加载此技能。Auth 自动继承 OPENAIAPIKEY / Codex OAuth…

    281 GitHub stars~1.8k tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes
  • 302ai API Integration

    majiayu000/claude-skill-registry

    ALWAYS use this skill when user needs ANY API functionality (AI models, image generation, video, audio, text processing, etc.).

    666 GitHub starsUsed in 1 repo~3.4k tokens
    Media & CreativeAuto-check passed
  • Codex API Image Generator

    yc-duan/api-image

    Replaces Codex's built-in image tool with provider-based generation and editing, fetching reference images first whenever visual accuracy actually matters.

    101 GitHub stars~4.9k tokensUpdated 5 mo ago
    Media & CreativeAuto-check passed
  • Media Tools

    therichardngai-code/gpt-image-2-pro-max

    Two CLI tools for image generation + vision analysis using goclaw's provider-chain pattern.

    101 GitHub stars~1.5k tokensUpdated 4 mo ago
    Media & CreativeAuto-check: notes

More from ItamarZand88/CLI-Anything-WEB

All 42 skills in this repo
  • Standards

    ItamarZand88/CLI-Anything-WEB

    Runs Phase 4 review/publish/verify for a cli-web- CLI: implementation review by 3 parallel agents, the tiered quality checklist (Tier 1 critical fail-fast, then comprehensive), pip install + smoke…

    231 GitHub stars~4.2k tokensUpdated 7 days ago
    Auto-check passed
  • Airbnb CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability calendars; autocomplete location names.

    231 GitHub stars~801 tokensUpdated 7 days ago
    Auto-check passed
  • Amazon CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Amazon from the terminal via cli-web-amazon — product search, product details by ASIN, Best Sellers by category, and autocomplete suggestions.

    231 GitHub stars~570 tokensUpdated 7 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Searches Booking.com from the terminal via cli-web-booking — find hotels, apartments, and hostels by destination, dates, and guests; get property details by slug; resolve destination names to IDs.

    231 GitHub stars~776 tokensUpdated 7 days ago
    Auto-check passed
  • Booking CLI

    ItamarZand88/CLI-Anything-WEB

    Use cli-web-booking to search Booking.com for hotels, apartments, hostels, and accommodations by destination, dates, and filters.

    231 GitHub stars~970 tokensUpdated 7 days ago
    Auto-check passed
  • Capitoltrades CLI

    ItamarZand88/CLI-Anything-WEB

    Queries US congressional stock trades (STOCK Act disclosures) on capitoltrades.com via the cli-web-capitoltrades command-line tool — trades with rich filters, politician profiles and leaderboards…

    231 GitHub stars~971 tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Chatgpt CLI

What does Chatgpt CLI do?

Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth. Chatgpt CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage OpenAI SSO auth.

When should I use Chatgpt CLI?

Chatgpt CLI fits situations like: the user wants to ask ChatGPT something; generate images with ChatGPT; browse their ChatGPT conversations from the command line.

How do I install Chatgpt CLI in Claude Code?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill chatgpt-cli -a claude-code`. Or copy the skill folder (.claude/skills/chatgpt-cli in ItamarZand88/CLI-Anything-WEB) into .claude/skills/chatgpt-cli in your project. Claude Code loads it when a task matches its description.

How do I install Chatgpt CLI in Codex?

Run `npx skills add ItamarZand88/CLI-Anything-WEB --skill chatgpt-cli -a codex`. Or copy the skill folder (.claude/skills/chatgpt-cli in ItamarZand88/CLI-Anything-WEB) into .agents/skills/chatgpt-cli in your project. Codex loads it when a task matches its description.

Can I use Chatgpt CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ItamarZand88/CLI-Anything-WEB --skill chatgpt-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chatgpt-cli, .gemini/skills/chatgpt-cli, .github/skills/chatgpt-cli and .opencode/skills/chatgpt-cli in your project.

What does Chatgpt CLI need to run?

Going by SKILL.md and its folder, Chatgpt CLI needs the command-line tools its instructions call (pip, python and playwright). Our summary lists: Python 3.

Does Chatgpt CLI access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Chatgpt CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Chatgpt CLI use?

Chatgpt CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chatgpt CLI use?

About 781 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Chatgpt CLI?

Skills that share tags, products or a category with Chatgpt CLI: Codex Imagen (darkamenosa/codex-imagen, 135 stars), Fish Audio API (waker240/FullVideoProductionSkill, 197 stars), Gpt Image Gen (ninehills/skills, 281 stars) and 302ai API Integration (majiayu000/claude-skill-registry, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chatgpt CLI?

ItamarZand88 (a GitHub user) maintains it in ItamarZand88/CLI-Anything-WEB, which has 231 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 1, 2026.

Source: ItamarZand88/CLI-Anything-WEB on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.