chatgpt-cli

chatgpt-cli is a skill for Claude Code from ItamarZand88/CLI-Anything-WEB. It costs 84 tokens per session (815 once invoked), scanned A, original, MIT.

A command-line interface for using ChatGPT through a terminal. It can ask questions, continue conversations, generate and download images, browse conversations, list available models, and manage OpenAI sign-in.

In plain words
What is it for?
Use it to ask ChatGPT questions, continue a conversation, generate or download images, list or view conversations, inspect available models, and log in or out.
Why use it?
It lets developers use ChatGPT-related tasks from scripts or a terminal instead of opening the ChatGPT website. It also keeps conversation and image operations accessible from command-line workflows.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to ask ChatGPT questions, continue a conversation, generate or download images, list or view conversations, inspect available models, and log in or out.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itamarzand88/cli-anything-web/chatgpt-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ItamarZand88/CLI-Anything-WEB --skill chatgpt-cli
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chatgpt-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/chatgpt-cli/github.svg)](https://agentmods.dev/skills/itamarzand88/cli-anything-web/chatgpt-cli)
Your own site
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/chatgpt-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/chatgpt-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chatgpt-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/chatgpt-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/chatgpt-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.00815
Opus 5.5 $0.00034 $0.00326
Sonnet 5.5 $0.00017 $0.00163
Haiku 4.5 $0.00008 $0.00081

Measured 3mo ago against content hash 23c3985ba3f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chatgpt-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/chatgpt-cli/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

# 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}.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 60 lines · 84 tokens per session scan A 23c3985ba3f1

Subscribe to this mod's changes

chatgpt-cli is a skill published in the GitHub repository ItamarZand88/CLI-Anything-WEB (249 stars, last pushed 21d ago), licensed MIT. It adds 84 tokens to every session and 815 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

chatgpt-cli compared with skills from other repositories

chatgpt-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chatgpt-cliItamarZand88/CLI-Anything-WEBSkill24921d agoMITA84Claude Code
pyarrow-pythonskillmds/skillmdSkill14222d agoMITA117Claude Code
geo-readinessZensInk/zens-ink-seo-packageSkill6013d agoMITA126Claude Code, Codex
goal-testrestarter/lets-workflowSkill17yesterdayMITA137Claude Code
production-python-aiskillmds/skillmdSkill14222d agoMITA91Claude Code
schliffZandereins/schliffSkill18todayMITA204Claude Code
validate-hookspdugan20/claudelintSkill16yesterdayMITA71Claude Code