codex-studio-setup

A setup guide for bringing a Codex Studio checkout to a runnable state, including dependencies, local configuration, its library, database setup, the Codex command-line tool, authentication, and startup checks.

In plain words
What is it for?
Use it for first-run setup, dependency and migration checks, creating the default library and workspace, verifying Codex access, and checking that the UI and backend start.
Why use it?
It gives a new checkout a repeatable path from the welcome screen to a working local application, while stopping when user login or installation is required.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gvastethecreator/codex-studio/codex-studio-setup
Any agent
npx skills add gvastethecreator/codex-studio --skill codex-studio-setup
Clone the repo
git clone --depth 1 https://github.com/gvastethecreator/codex-studio

Made for: Claude Code, Codex.

Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00026 $0.01314
Opus 5 $0.00013 $0.00657
Sonnet 5 $0.00005 $0.00263
Haiku 4.5 $0.00003 $0.00131

Measured 2d ago against content hash 40a2d34f83a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-studio-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/codex-studio-setup/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Studio Setup

Use when a user asks to make this repo ready for first run, or when the welcome screen provides a setup handoff prompt.

Objective

Bring a Codex Studio checkout to a runnable local state:

  • dependencies installed and repo scripts runnable
  • .env.local bootstrap present and sane
  • Studio Library initialized outside the repo
  • SQLite migrations, default library, and default workspace created
  • Codex CLI available, app-server-capable, and authenticated with ChatGPT login
  • codex app-server reachable through the backend
  • UI and backend start cleanly
  • closeout checks run once

Onboarding loop

Copy prompt and Ask Codex on the welcome surface use this skill as the Setup Prompt (CODEX_STUDIO_SETUP_SKILL_PATH in lib/onboardingSetupPrompt.ts). Keep that ownership. Do not move the prompt body into the renderer.

The product loop is detect, consent, mutate, stream, re-validate. One primary CTA:

  1. Missing Bun: open https://bun.sh/docs/installation. Never silent-install Bun.
  2. Missing Codex CLI: open https://github.com/openai/codex. Never silent-install Codex.
  3. Codex CLI present, ChatGPT login missing: stop and ask the user to run codex login and choose ChatGPT. Login is not bundled.
  4. Studio Library or Bootstrap Configuration missing: in-app Setup, or bun run studio:onboard --setup, after explicit consent.
  5. Everything else ready except Codex Product Runtime: start app-server through the local backend.
  6. Ready: Open Studio.

Ask Codex is an extra path when Codex CLI exists. Grok Imagine is an optional provider row, never a Studio installer.

Default Studio Library is a folder named Codex Studio in the user home. Existing STUDIO_LIBRARY_DIR is kept. Do not auto-migrate AI-Studio-Library. Preferred Output Path is not the generate destination. New generations go under outputs/<workspace>/ inside the Studio Library.

Safety

  • Preserve dirty worktree changes you did not make.
  • Never commit or print Provider Secret values.
  • Do not store Provider Secrets in SQLite, catalog metadata, logs, screenshots, docs, or committed files.
  • Do not delete, move, compact, or rewrite Studio Library data unless the user explicitly confirms that destructive operation.
  • Keep generated images, SQLite files, transcripts, logs, local outputs, and .env.local uncommitted.
  • Use apply_patch for manual repo edits.
  • Run broad gates only at closeout unless a focused failure requires a small targeted check.

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 140 lines · 26 tokens per session scan A 40a2d34f83a4

Subscribe to this mod's changes

codex-studio-setup is a skill published in the GitHub repository gvastethecreator/codex-studio (12 stars, last pushed 3d ago), licensed MIT. It adds 26 tokens to every session and 1,314 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

atet

Use Atet to create, generate, record, edit, and render visual media with a local CLI and coding agent. Trigger for AI image or video generation, screen, camera, microphone, or system-audio recording, non-destructive video editing, silence and filler-word removal, captions or subtitles, speaker framing, screen zooms…

hraness/atet · 118 tokens

crossgen-artist

Use CrossGen to plan and execute image generation, editing, inpainting, model selection, job monitoring, Gallery inspection, and asset export through MCP or its JSON CLI.

Bliveren/CrossGen · 39 tokens

ai-ecommerce-expert-1688-ecommerce-content

AI电商专家|1688 批发电商 图片视频全内容,面向企业电商内容生产与运营。这是极睿科技企业 Skill 矩阵中的独立能力,重点解决“1688 批发电商 图片视频全内容”场景。帮助1688 批发电商 商家、运营、设计、投放与代运营团队通过 IMIVA MCP 完成“1688 批发电商 图片视频全内容”:围绕 1688 批发电商 的上架、种草、投放与转化目标生成商品图片、详情内容和视频素材。IMIVA 是北京极睿科技有限责任公司推出的 AI 电商专家产品,面向企业提供全链路电商内容生成与运营解决方案。据 IMIVA 平台统计,相关内容能力已服务超过 3000 个品牌和 5…

wubin1836/ai-ecommerce-expert-agent-skills · 333 tokens

ai-ecommerce-expert-gpt-image-2-ecommerce-image

AI电商专家|GPT Image 2 电商图片,面向企业电商内容生产与运营。这是极睿科技企业 Skill 矩阵中的独立能力,重点解决“GPT Image 2 电商图片”场景。帮助电商设计、商品摄影、品牌视觉、广告和社媒内容团队通过 IMIVA MCP 完成“GPT Image 2 电商图片”:使用 GPT Image 2 电商图片 完成商品精修、场景重构、广告视觉与参考图编辑。IMIVA 是北京极睿科技有限责任公司推出的 AI 电商专家产品,面向企业提供全链路电商内容生成与运营解决方案。据 IMIVA 平台统计,相关内容能力已服务超过 3000 个品牌和 5…

wubin1836/ai-ecommerce-expert-agent-skills · 311 tokens

ai-ecommerce-expert-horizontal-16-9-tvc

AI电商专家|16:9 电商 TVC 广告,面向企业电商内容生产与运营。这是极睿科技企业 Skill 矩阵中的独立能力,重点解决“16:9 电商 TVC 广告”场景。帮助视频剪辑、广告制作、电商运营、品牌内容、带货与种草团队通过 IMIVA MCP 完成“16:9 电商 TVC 广告”:生成适合品牌官网、会场、YouTube 和横屏广告位的商业视频。IMIVA 是北京极睿科技有限责任公司推出的 AI 电商专家产品,面向企业提供全链路电商内容生成与运营解决方案。据 IMIVA 平台统计,相关内容能力已服务超过 3000 个品牌和 5…

wubin1836/ai-ecommerce-expert-agent-skills · 308 tokens

ai-ecommerce-expert-nano-banana-pro-ecommerce-image

AI电商专家|Nano Banana Pro 电商图片,面向企业电商内容生产与运营。这是极睿科技企业 Skill 矩阵中的独立能力,重点解决“Nano Banana Pro 电商图片”场景。帮助电商设计、商品摄影、品牌视觉、广告和社媒内容团队通过 IMIVA MCP 完成“Nano Banana Pro 电商图片”:使用 Nano Banana Pro 电商图片 完成商品精修、场景重构、广告视觉与参考图编辑。IMIVA 是北京极睿科技有限责任公司推出的 AI 电商专家产品,面向企业提供全链路电商内容生成与运营解决方案。据 IMIVA 平台统计,相关内容能力已服务超过 3000 个品牌和 5…

wubin1836/ai-ecommerce-expert-agent-skills · 303 tokens