Agent skill

Chatgpt CLI

by ItamarZand88 in ItamarZand88/CLI-Anything-WEB

Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication.

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/chatgpt/agent-harness/cli_web/chatgpt/skills .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
~850 tokens
SKILL.md length
172 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication.

  • Asks about ChatGPT
  • SKILL.md covers Quick Start, Commands and Architecture Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Asking AI questions

What it does

Chatgpt CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. 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.

Its SKILL.md is about 850 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. 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

  • Asks about ChatGPT
  • Asking AI questions
  • Generating images with ChatGPT
  • Downloading ChatGPT images

Example prompts

  • “/chatgpt-cli”

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

    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 850 tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 172 words of instructions outside code blocks.

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

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). 172 words, ~850 tokens.

Download SKILL.mdSave it as .claude/skills/chatgpt-cli/SKILL.md (or your agent's skills folder).
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

© 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 chatgpt/agent-harness/cli_web/chatgpt/skills 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—~850Automated safety check: PassMIT
Codex Imagendarkamenosa/codex-imagen135—~2.6kAutomated safety check: PassMIT
Fish Audio APIwaker240/FullVideoProductionSkill199—~1.1kAutomated safety check: NotesApache-2.0
Gpt Image Genninehills/skills280—~1.8kAutomated safety check: NotesMIT
Codex API Image Generatoryc-duan/api-image101—~4.9kAutomated safety check: PassMIT
Media Toolstherichardngai-code/gpt-image-2-pro-max101—~1.5kAutomated safety check: NotesMIT

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 15 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.

    199 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…

    280 GitHub stars~1.8k tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes
  • 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
  • AI Image Creator

    evolution-foundation/evo-nexus

    Generates PNG images through OpenRouter models, with transparent backgrounds and reference-image edits, and describes existing images with multimodal vision.

    545 GitHub stars~5.1k 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 8 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 8 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 8 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 8 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 8 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 8 days ago
    Auto-check passed

Works with

Questions about Chatgpt CLI

What does Chatgpt CLI do?

Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication. Chatgpt CLI is an agent skill from ItamarZand88/CLI-Anything-WEB. Use cli-web-chatgpt to ask ChatGPT questions, generate images, download images, list conversations, browse models, and manage authentication.

When should I use Chatgpt CLI?

Chatgpt CLI fits situations like: asks about ChatGPT; asking AI questions; generating images with ChatGPT; downloading ChatGPT images.

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 (chatgpt/agent-harness/cli_web/chatgpt/skills 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 (chatgpt/agent-harness/cli_web/chatgpt/skills 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?

SKILL.md names no scripts, command-line tools or credentials: Chatgpt CLI is instructions for the agent only.

Does Chatgpt CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 850 tokens (SKILL.md is roughly 3.4k 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, 199 stars), Gpt Image Gen (ninehills/skills, 280 stars) and Codex API Image Generator (yc-duan/api-image, 101 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.