通过本地 Codex CLI 和已登录的 ChatGPT 账户生成图片,支持使用 --ref 传入一张或多张参考图进行编辑、保持主体一致或匹配风格。当用户指定 gpt-image-bridge、要求通过 Codex CLI 生图,或需要供 shell 编码代理调用的图片生成工具时使用。
Ships in game-dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
使用随 skill 分发的 bin/gpt-image-2 调用 codex exec 的 image_generation 工具,生成 PNG 并复制到指定位置。无需配置图片 API Key;请求使用当前 Codex 登录账户的权限和额度。脚本名称保留上游兼容性,实际图片模型由 Codex 决定,不保证具体版本;不要把图片模型名传给 codex --model,后者选择的是编码模型。
codex,以及支持图片生成的 ChatGPT 登录账户。codex login status 检查登录;缺少 CLI 时按用户环境安装,未登录时引导运行 codex login。不要读取或输出认证文件。SKILL_DIR 替换为当前 SKILL.md 所在目录的实际绝对路径。不要假定安装在 ~/.claude 或当前项目内。"$SKILL_DIR/bin/gpt-image-2" "<详细提示词>" "/absolute/output.png" \
[--size WxH] [--ref /path/to/reference.png]...
--ref 传入。多张图片按照命令顺序传递,在提示词中说明每张的作用。明确写出“只修改 X;保持 Y、Z 不变”。参考图支持相对路径、绝对路径和含空格的路径,脚本会先检查文件存在并转换为绝对路径。--size。该参数是提示词中的尺寸请求,输出不保证严格匹配;需要时检查实际尺寸。参考图编辑会重新生成整张图,未修改区域也可能发生轻微变化。纯裁剪、精确缩放、格式转换等机械处理使用相应本地工具。此桥接用于 AI 生成与重绘。
codex:先解决 CLI 安装或 PATH。LICENSE (opens in a new tab)bin/gpt-image-2 (opens in a new tab)docs/00_CONTEXT.md (opens in a new tab)docs/01_API_REFERENCE.md (opens in a new tab)docs/02_ARCHITECTURE.md (opens in a new tab)docs/03_GUIDES/quick-start.md (opens in a new tab)docs/03_GUIDES/reference-images.md (opens in a new tab)docs/04_CHANGELOG.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/hocgin-game-dev-skills:gpt-image-bridgefrom game-dev-skills
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: The name 'agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Claude Code refuses to add this marketplace: The name 'agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
38 skills in this plugin
/appicon-design从一张或多张 App Icon 案例图中提取设计语言(配色角色、造型语言、材质、光影、质感、细节密度),剥离参考图自身的主体 / 角色 / 布局等 IP,保存为可命名、可复用的「风格主题模板」(设计 DNA + 多版式变体 + 参考 IP 排除),再根据项目名称、类型与核心功能,按指定风格或自动匹配风格,生成原创、不撞脸参考图、符合 iOS App Icon 规范、可直接用于 GPT-Image / Midjourney / SD 等模型的完整提示词(主体描述 + 风格约束 + 版式 + 原创性约束 + 负面约束)。当用户需要设计 App 图标、iOS/macOS 应用图标、备用图标(Alternate App Icon),或想把案例图片沉淀为新的 App Icon 风格时使用。/apple-itunes-apiApple iTunes Search API 完整参考指南。用于搜索 iTunes/Apple Music 目录中的音乐、电影、播客、应用、图书等内容。
触发条件: 用户提及 "iTunes API"、"Apple Music API"、"搜索歌曲"、"查找专辑"、"获取歌词"、
"搜索 App"、"查找播客"、"iTunes 搜索"、"获取封面"、"album art"、"track lookup" 等。
涵盖 Search API、Lookup API、Genre API、RSS Feed Generator 四大端点。
/appstore-product-description按固定格式生成 App Store「产品描述」(Description)中文文案:一句话主张 + 导语 + 若干【功能块】+ 开始使用 + 收尾金句,末尾自动拼接固定的「订阅取消说明」与「隐私协议 & 服务协议」模板(协议链接由用户提供)。当用户需要撰写、改写、更新 App Store 产品描述 / 应用介绍 / 描述文案,或要为新 App 套用统一描述格式时使用。/article-tech-write科技资讯聚合类文章写作,专注于将多条科技新闻/技术动态整合为一篇结构紧凑、风格统一的综合报道/article-writerAI驱动的智能写作系统,专注于创作高质量、低AI检测率的文章内容/bitrig-simulator-use操作 macOS Bitrig 的内置模拟器,包括查看和测试运行中的 App、切换机型、操作 iPhone Duo 铰链、截图、录屏、录制带机身的 3D 预览及读取运行日志。用户明确指定 Bitrig 或其 Simulator Use 插件时使用。