Repository navigation
Description
Summary
The Codex-hosted gstack-design-shotgun skill still routes visual generation through gstack's design binary ($D generate). That makes Codex users provide an OpenAI API key even though Codex already has a native image_gen tool available in the host.
Current behavior
In the Codex-generated skill, design-shotgun still includes the normal design-binary flow:
- run
DESIGN SETUP - resolve
$D - ask variant subagents to run
$D generate - rely on
design/src/auth.tsto find~/.gstack/openai.jsonorOPENAI_API_KEY
That path can fail or bill the wrong account:
- no gstack OpenAI key configured
- cwd
.envcontainsOPENAI_API_KEY - Codex design binary path resolution hits the existing fallback-path problem from Codex design workflows report DESIGN_NOT_AVAILABLE due to broken fallback paths + missing design install surfaces #1159
Expected behavior
When the skill name is gstack-design-shotgun / host is Codex, the skill should call Codex's native image_gen tool directly for each variant.
Expected Codex path:
- Build the same design brief and variant directions.
- Use
image_gendirectly to generate each visual variant. - Save or copy returned images into
~/.gstack/projects/$SLUG/designs/<session>/variant-A.png, etc. - Present the images inline and collect feedback.
- Do not call
$D generateand do not requireOPENAI_API_KEY.
Why this matters
Codex users have an image generation capability through the host, not through gstack's OpenAI key chain. Requiring another OpenAI key adds setup friction and can accidentally use a project .env key. It also makes the advertised Codex skill behave like the Claude-hosted skill instead of using the host-native tool.
Notes
I tested the host image_gen path locally from Codex and it can generate a multi-variant UI mockup without any gstack design binary or OpenAI API key setup. The generated image was saved under ~/.codex/generated_images/... as expected.
This is related to, but not the same as:
- Codex design workflows report DESIGN_NOT_AVAILABLE due to broken fallback paths + missing design install surfaces #1159: Codex design workflows can report
DESIGN_NOT_AVAILABLEdue to path/install-surface drift - Support non-OpenAI image providers in
designskill (Gemini as first alt) #990: support non-OpenAI image providers indesign designbinary silently usesOPENAI_API_KEYfrom any.envin cwd — security/billing concern #1248:designcan pick upOPENAI_API_KEYfrom cwd.env- design image generation broken: gpt-4o orchestrator + gpt-image-2 tool is an unsupported pairing (400) #1771: OpenAI image tool model pairing regression
Activity
time-attack commentedon Jul 15, 2026
@jinzheio The image_gen implementation has not landed, so replacing the OpenAI API-key requirement remains unresolved.
capy-ai commentedon Oct 11, 2026
Thanks @jinzheio for the idea. In the Oct 11 triage we grouped the open feature requests by theme so related asks get built together instead of one at a time. This one is part of the Provider pluralism theme in TODOS.md (https://github.com/garrytan/gstack/blob/50d020ad9/TODOS.md#L54-L69), tracked as a whole in #3138. Closing it here so the open list stays actionable; it isn't rejected, and the theme credits every linked reporter when it's picked up.
capy-ai commentedon Oct 25, 2026
Reopened under the
parkedlabel: this is tracked in the Provider pluralism theme in TODOS.md and tracking issue #3138 (https://github.com/garrytan/gstack/blob/main/TODOS.md#p3-feature-themes-from-the-wave-9-triage-filed-2026-10-11), and what fixes it is one provider seam for outside voices, image providers and review bots, which these requests then plug into. Closed-but-tracked read as closed, so parked issues now stay open until they ship, are duplicates, or are declined (https://github.com/garrytan/gstack/blob/main/docs/triage.md).capy-ai commentedon Oct 31, 2026
Thanks for asking for this, @jinzheio. It shipped in v1.91.66.0 (with credit to #2175): on Codex, design-shotgun now uses Codex's built-in
$imagegen, so if you're signed in with ChatGPT you don't need an OpenAI API key. Closing as completed.