Generates images inside Claude Code by routing through your existing ChatGPT Plus or Pro subscription, so you're not paying twice or juggling API keys. Handles text-to-image, reference-based edits, and multi-image composition via the local Codex CLI. The implementation is clever: it snapshots your Codex sessions directory, fires `codex exec` with the image_generation flag enabled, diffs the output, and extracts the base64 PNG from the new rollout file. Works well for infographics and text-heavy layouts, but you need Codex installed and logged in or it's a non-starter. If you already have the ChatGPT subscription and want image generation without leaving your editor, this is the straightforward path.

skills.sh installs
672
GitHub stars
17
last updated
Aug 21, 2026

Install

$ npx -y skills add agentspace-so/agent-skills --skill gpt-image-2 --agent claude-code

Installs into .claude/skills of the current project.

Files

🪞 GPT Image 2 — Image Generation via Your ChatGPT Subscription

agentspace.so · GitHub

Generate images with GPT Image 2 (ChatGPT Images 2.0) inside your agent, using your existing ChatGPT Plus or Pro subscription — no separate OpenAI access, no Fal or Replicate tokens, no per-image billing.

Text-to-image, image-to-image editing, style transfer, and multi-reference composition. Runs entirely through the local codex CLI you're already logged into.

Sponsors

Details

Repository
github.com/agentspace-so/agent-skills
Categories
Code Review & Quality, AI & Agent Building, Productivity & Planning, CLI & Terminal, Generative Media
First seen
May 16, 2026
1davila7 avatarnestjs-expertdavila7/claude-code-templatesNest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongo672skills.sh installs
2hyperb1iss avatarorchestratehyperb1iss/hyperskillsUse this skill when orchestrating multi-agent work at scale - research swarms, parallel feature builds, wave-based dispatch, build-review-fix pipelines, or any 669skills.sh installs
3alirezarezvani avatarcopy-editingalirezarezvani/claude-skillsWhen the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'p668skills.sh installs
4skyworkai avatarSkywork-pptskyworkai/skywork-skillsUse this skill when the user wants to work with PowerPoint presentations. Triggers include: - Generating a new PPT from a topic: 'generate a PPT' / '帮我做个PPT' / 665skills.sh installs
5product-on-purpose avatartool-design-sprint-briefproduct-on-purpose/pm-skillsPre-sprint brief that locks challenge, sprint questions, team and role assignments, customer recruiting plan, prototype medium, interview format, logistics, and664skills.sh installs
6aj-geddes avatarruby-rails-applicationaj-geddes/useful-ai-promptsDevelop Ruby on Rails applications with models, controllers, views, Active Record ORM, authentication, and RESTful routes. Use when building Rails applications,660skills.sh installs