AgentHubAgentHub

🪞 GPT Image 2 Skill Install & Guide

SkillClawHub

io.clawhub.kalvinrv/gpt-image-2-chatgpt · v1.0.5

Generate images with GPT Image 2 (ChatGPT Images 2.0) inside Claude Code, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access.

Copy the install config on this page first, then verify docs and permissions upstream.

Popularity

Stars7
Downloads5.5k
Installs202

Overview

Generate images with GPT Image 2 (ChatGPT Images 2.0) inside Claude Code, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access. 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription is a Agent Skill listed from ClawHub. This page includes an overview, setup tutorial, install commands, and use cases for Trae, Tongyi Lingma, Cursor, Claude Code, and VS Code.

Use cases

AgentHub Verified AvailabilityTested & Ready

Automated pipeline validated install commands, protocol & client compatibility

Verified At2026-07-08
Install Snippets TestedCLI & JSON config syntax verified
Protocol Handshake ReadyComplies with JSON-RPC 2.0 specifications
Origin Registry ActiveSourced from clawhub
Verified Clientsopenclaw、Claude Code、Claude Desktop 等
Security Tier: A+ 级 · 零权限本地沙盒 (A+)·Scanned for high-risk vulnerabilities. Recommended to run with project-scoped permissions.

Send this prompt to your AI to install the Skill

Recommended
Target client (auto-optimizes prompt):
PROMPT >

Follow the install guide at https://myagenthub.cn/install/skill.md?lang=en to automatically detect the current IDE and install the skill "kalvinrv/gpt-image-2-chatgpt" without asking, and tell me how to verify it afterwards.

💡Paste into your AI coding assistant (Cursor, Trae, Claude Code) — the agent will handle download and configuration automatically.

Copy by platformAlternative

Choose your platform

Choose install method

Click to copy snippet
# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai cursor -y

Setup tutorial

  1. Open the 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription page and confirm the source is ClawHub.
  2. Copy the install command for Trae, Lingma, Cursor, Claude Code, or universal CLI.
  3. Run it, or place SKILL.md under .trae/skills/, .lingma/skills/, or .cursor/skills/.
  4. Reload the client, then describe your task so the agent can match this skill.

Install commands

Install commands and setup steps are in the HTML so search engines and no-JS browsers can read them without running client JavaScript.

Universal — Skills CLI (recommended)

AgentHub CLI (change --ai)

# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai cursor -y

One-click API download

# 手动下载(Cursor 项目级示例)
mkdir -p .cursor/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .cursor/skills/gpt-image-2-chatgpt

Cursor

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai cursor -y

One-click API download

mkdir -p .cursor/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .cursor/skills/gpt-image-2-chatgpt

ClawHub CLI, then copy

# 在项目根目录执行 install
clawhub install kalvinrv/gpt-image-2-chatgpt
mkdir -p .cursor/skills/gpt-image-2-chatgpt
cp -R ./skills/gpt-image-2-chatgpt/. .cursor/skills/gpt-image-2-chatgpt/

# 源:./skills/gpt-image-2-chatgpt/SKILL.md
# 目标:.cursor/skills/gpt-image-2-chatgpt/SKILL.md

Trae (ByteDance)

  1. Trae natively supports Skill specs: project-level in .trae/skills/<name>/, global in ~/.trae/skills/
  2. Copy and run the command in your project terminal to download SKILL.md
  3. Reload Trae window, then describe your task in AI chat to activate automatically

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai trae -y

One-click API download

mkdir -p .trae/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .trae/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.trae/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.trae/skills/gpt-image-2-chatgpt

Tongyi Lingma (Alibaba)

  1. Tongyi Lingma supports skills in project .lingma/skills/<name>/ or global ~/.lingma/skills/
  2. Run the command to install SKILL.md
  3. In Lingma Agent mode, prompt your task and the skill will be automatically loaded

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai lingma -y

One-click API download

mkdir -p .lingma/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .lingma/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.lingma/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.lingma/skills/gpt-image-2-chatgpt

WorkBuddy / CodeBuddy (Tencent)

  1. WorkBuddy reads skills only from .workbuddy/skills/<name>/ (user-level ~/.workbuddy/skills/); .codebuddy/skills/ belongs to CodeBuddy
  2. The Skills CLI command installs with -a codebuddy and appends a copy step into .workbuddy/skills
  3. AgentHub CLI (--ai workbuddy) syncs it for you; reload the chat panel so the skill gets indexed

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai workbuddy -y

One-click API download

mkdir -p .workbuddy/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .workbuddy/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.workbuddy/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.workbuddy/skills/gpt-image-2-chatgpt

Claude Code

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai claude-code --global -y

One-click API download

mkdir -p ~/.claude/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.claude/skills/gpt-image-2-chatgpt

ClawHub CLI, then copy

clawhub install kalvinrv/gpt-image-2-chatgpt
mkdir -p ~/.claude/skills/gpt-image-2-chatgpt
cp -R ./skills/gpt-image-2-chatgpt/. ~/.claude/skills/gpt-image-2-chatgpt/

# 源:./skills/gpt-image-2-chatgpt/SKILL.md
# 目标:~/.claude/skills/gpt-image-2-chatgpt/SKILL.md
# https://clawhub.ai/kalvinrv/gpt-image-2-chatgpt

Kimi Code (Moonshot AI)

  1. Kimi Code supports standard Agent Skills: project-level in .agents/skills/<name>/, global in ~/.agents/skills/
  2. Run the command to install
  3. In Kimi Code CLI, describe your task to trigger the skill

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai kimi -y

One-click API download

mkdir -p .agents/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .agents/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.agents/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.agents/skills/gpt-image-2-chatgpt

Qwen Code (Alibaba)

  1. Qwen Code supports project .qwen/skills/<name>/ and global ~/.qwen/skills/
  2. Run the command to deploy SKILL.md
  3. Prompt the agent to trigger the skill

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai qwen -y

One-click API download

mkdir -p .qwen/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .qwen/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.qwen/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.qwen/skills/gpt-image-2-chatgpt

Windsurf

  1. Windsurf supports project-level .windsurf/skills/<name>/ or global ~/.codeium/windsurf/skills/
  2. Run the install command and refresh Cascade
  3. Cascade will auto-activate the skill based on its description

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai windsurf -y

One-click API download

mkdir -p .windsurf/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .windsurf/skills/gpt-image-2-chatgpt

User directory

mkdir -p ~/.codeium/windsurf/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.codeium/windsurf/skills/gpt-image-2-chatgpt

Cline

  1. Cline supports standard .agents/skills/<name>/ structure
  2. Run the command to install the skill
  3. Ask questions in the Cline panel to trigger the skill

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai cline -y

One-click API download

mkdir -p .agents/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .agents/skills/gpt-image-2-chatgpt

Cherry Studio

  1. Use this skill as an Assistant system prompt in Cherry Studio
  2. Copy the command to view SKILL.md text
  3. Paste the contents into Cherry Studio Assistant system prompt
# 下载并提取 SKILL.md 指令内容
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -p /tmp/gpt-image-2-chatgpt.zip SKILL.md
# 复制上述输出,粘贴至 Cherry Studio → 助手设置 →「系统提示词」

VS Code / GitHub Copilot

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai vscode -y

One-click API download

curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
mkdir -p .github/skills/gpt-image-2-chatgpt
unzip -o /tmp/gpt-image-2-chatgpt.zip -d .github/skills/gpt-image-2-chatgpt

OpenAI Codex

AgentHub CLI (change --ai)

curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init kalvinrv/gpt-image-2-chatgpt --ai codex --global -y

One-click API download

mkdir -p ~/.codex/skills/gpt-image-2-chatgpt
curl -sL "https://clawhub.ai/api/v1/download?slug=gpt-image-2-chatgpt&version=1.0.5" -o /tmp/gpt-image-2-chatgpt.zip
unzip -o /tmp/gpt-image-2-chatgpt.zip -d ~/.codex/skills/gpt-image-2-chatgpt

ClawHub CLI, then copy

clawhub install kalvinrv/gpt-image-2-chatgpt
mkdir -p ~/.codex/skills/gpt-image-2-chatgpt
cp -R ./skills/gpt-image-2-chatgpt/. ~/.codex/skills/gpt-image-2-chatgpt/

# 源:./skills/gpt-image-2-chatgpt/SKILL.md
# 目标:~/.codex/skills/gpt-image-2-chatgpt/SKILL.md

OpenClaw — ClawHub CLI

# OpenClaw / ClawHub CLI(推荐)
# 在项目根或 OpenClaw 工作区目录执行
clawhub install kalvinrv/gpt-image-2-chatgpt

# 安装后 SKILL.md 位于:
#   ./skills/gpt-image-2-chatgpt/SKILL.md
# (若已配置 OpenClaw 工作区,则在 <workspace>/skills/gpt-image-2-chatgpt/)

# 仅查看不安装
clawhub inspect kalvinrv/gpt-image-2-chatgpt

Troubleshooting & Common ErrorsFAQ

Common connection errors and verified fixes for 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription

Getting 'connection closed' or exit code 1 in Cursor / Claude Code for 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription?

Usually caused by missing runtime paths or IDE environment inheritance. Fix steps: 1. Verify Node.js 18+ (npx) or Python 3.10+ (uvx) is installed; 2. Run 'which npx' or 'which uvx' in terminal, and replace 'command' with absolute path; 3. Reload or restart the client window after modifying config.

Fix Snippet
# Check binary path in terminal:
which npx
node -v
Getting 'spawn npx ENOENT' or 'command not found'?

The editor background process does not inherit your full terminal PATH. Solution: Globally install the package, or set the absolute binary path (e.g. C:\Program Files\nodejs\npx.cmd on Windows, or /usr/local/bin/npx on macOS).

Tool calls timing out or failing to download packages?

First-time package downloading might be slow or timeout due to network limits. Configure a reliable mirror or check outbound proxy settings.

Agent does not match or apply 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription during conversations?

Verify SKILL.md is located at .cursor/skills/🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription/SKILL.md (Cursor) or ~/.claude/skills/🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription/SKILL.md (Claude Code). You can explicitly mention the skill name in your prompt to boost match confidence.

Tool Mock Playground

Sandbox

🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription Rule Injection & Agent Behavior Simulation · Preview tool schema & outputs without local runtime

Sandbox Ready
fn: agent_skill_runtimeInject system prompt guidelines & workflow constraints from 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription
Request ArgumentsJSON Schema
{
  "skill": "🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription",
  "rulePath": ".cursor/skills/-gpt-image-2-image-generation-via-your-chatgpt-subscription/SKILL.md",
  "userGoal": "请使用 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription 的方法与标准帮我完成当前任务",
  "client": "Cursor / Claude Code"
}
💡Parameters generated dynamically by Agent runtime
Agent Tool Output

Click 'Run Mock' above

to preview the raw response returned to the LLM

Env: AgentHub Virtual SandboxJSON-RPC 2.0

Decision Guide: Why & When to Use

Assess suitability before installing to save trial-and-error time

Best Suited For
  • Design review
  • Asset export
  • Brand checks
When NOT to Use
  • Unauthorized commercial asset downloads
Recommended Workflow Pairing:View Scenario →

🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription + Scenario Prompt → Complete Agent Automation

Skill hands-on: install to visible results

Follow the full lab (expected UI/output + contrast checks). After installing this item, verify with the tutorial prompts.

Open tutorial →

An Agent Skill is a folder with SKILL.md instructions. After install, the AI loads it automatically when your task matches its description.

How to use

After installing, describe your task in chat (or mention the skill name). The agent reads the skill description to decide when to activate it, then follows the instructions in SKILL.md. Check loaded skills via /skills in Claude Code or in your client settings.

Related resources

Often paired with

Keep exploring AgentHub

Most people compare similar tools or check scenario guides before installing—start here.

Listing badge: put AgentHub on your site

Copy either snippet into your project homepage, docs, or GitHub README. The badge is a hotlinked SVG — nothing to host — and it links back to this page so visitors can find the install steps.

PreviewListed on AgentHub: 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription
HTML
<a href="https://myagenthub.cn/p/io.clawhub.kalvinrv/gpt-image-2-chatgpt" title="Listed on AgentHub: 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription" target="_blank" rel="noopener">
  <img src="https://myagenthub.cn/badge/io.clawhub.kalvinrv/gpt-image-2-chatgpt?lang=en" alt="Listed on AgentHub: 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription" height="20" style="border:0"/>
</a>
Markdown (GitHub README)
[![Listed on AgentHub: 🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription](https://myagenthub.cn/badge/io.clawhub.kalvinrv/gpt-image-2-chatgpt?lang=en)](https://myagenthub.cn/p/io.clawhub.kalvinrv/gpt-image-2-chatgpt)

Badges are generated on the fly from /badge/<package-id>, so name and listing changes propagate automatically. Keep the link target unchanged — it is what counts as the referral.

Unified Manifest

{
  "id": "io.clawhub.kalvinrv/gpt-image-2-chatgpt",
  "type": "skill",
  "version": "1.0.5",
  "displayName": "🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription",
  "description": "Generate images with GPT Image 2 (ChatGPT Images 2.0) inside Claude Code, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access, n...",
  "author": {
    "name": "kalvinrv",
    "url": "https://clawhub.ai/kalvinrv"
  },
  "homepage": "https://clawhub.ai/kalvinrv/gpt-image-2-chatgpt",
  "distribution": {
    "packages": [
      {
        "registryType": "source",
        "identifier": "kalvinrv/gpt-image-2-chatgpt",
        "version": "1.0.5",
        "runtimeHint": "clawhub install"
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "openclaw",
    "claude-code",
    "claude-desktop",
    "cursor",
    "codex",
    "vscode"
  ],
  "keywords": [
    "downloads:5451",
    "stars:7",
    "installs:202",
    "Image Editing",
    "Image Generation"
  ],
  "provenance": {
    "origin": "clawhub",
    "originalId": "kalvinrv/gpt-image-2-chatgpt",
    "originalUrl": "https://clawhub.ai/kalvinrv/gpt-image-2-chatgpt",
    "isOfficial": false,
    "status": "active"
  }
}