โ† Back to Skills Marketplace
kalvinrv

๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription

by Kalvin ยท GitHub โ†— ยท v1.0.5 ยท MIT-0
cross-platform โœ“ Security Clean
5344
Downloads
7
Stars
5
Active Installs
6
Versions
Install in OpenClaw
/install gpt-image-2-chatgpt
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...
Usage Guidance
Install only if you are comfortable with this workflow storing prompts and image-generation artifacts in local Codex session logs under ~/.codex/sessions and then reading the newly created rollout files to extract the image. Avoid using it for highly sensitive prompts or reference images unless that local retention is acceptable.
Capability Assessment
โœ“ Purpose & Capability
The stated purpose matches the artifacts: it invokes the local Codex CLI with image generation enabled, optionally passes user-provided reference images, extracts the image payload, and writes it to the requested output path.
โ„น Instruction Scope
The skill tells agents to trigger only when the user explicitly asks for this GPT Image 2 route, not to rewrite prompts, and not to substitute another image workflow. It clearly documents the session-log extraction behavior.
โœ“ Install Mechanism
The package contains a SKILL.md file and two small local scripts. There are no installer scripts, dependency downloads, remote callbacks, or hidden setup steps in the artifact.
โ„น Credentials
Access to the Codex CLI, Python, user-provided reference images, the selected output path, and ~/.codex/sessions is proportionate for this workaround, but Codex session files can contain sensitive prompts and tool artifacts.
โ„น Persistence & Privilege
The script intentionally avoids ephemeral Codex sessions so the image payload is persisted in a rollout file, then reads only files newly created after its own invocation. It does not create background workers, escalate privileges, or persist separate service state; temporary logs are removed on exit.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gpt-image-2-chatgpt
  3. After installation, invoke the skill by name or use /gpt-image-2-chatgpt
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
- Added UTM parameters to the agentspace.so homepage link for improved attribution. - No functional or behavioral changes; documentation update only.
v1.0.4
Declare clawdis.requires (codex/python3 + ~/.codex/sessions) so the security evaluator sees the manifest match the code.
v1.0.3
Add link bar under H1 so homepage and GitHub URLs are visible on the clawhub detail page.
v1.0.2
Avoid false-positive capability tags (crypto/purchases/sensitive-credentials) caused by negated phrases; trim script docstrings so image-gen content stays within the embedding window.
v1.0.1
Add output-path validation in scripts/extract_image.py: reject non-image extensions, resolve the target path, and refuse system-directory writes (including macOS /private/etc and /private/var aliases). No behavior change for normal use.
v1.0.0
Initial release: GPT Image 2 via ChatGPT subscription. Text-to-image + image-to-image via local Codex CLI. No OpenAI API key required.
Metadata
Slug gpt-image-2-chatgpt
Version 1.0.5
License MIT-0
All-time Installs 201
Active Installs 5
Total Versions 6
Frequently Asked Questions

What is ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription?

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... It is an AI Agent Skill for Claude Code / OpenClaw, with 5344 downloads so far.

How do I install ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription?

Run "/install gpt-image-2-chatgpt" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription free?

Yes, ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription support?

๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ๐Ÿชž GPT Image 2 โ€” Image Generation via Your ChatGPT Subscription?

It is built and maintained by Kalvin (@kalvinrv); the current version is v1.0.5.

๐Ÿ’ฌ Comments