Starts or reuses a local web gallery for browsing Codex-generated images from ~/.codex/generated_images.
Ships in daymade-codex. 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; scripts run unread.
Start a local browser gallery for Codex image outputs. This skill is self-contained: the server lives in scripts/server.mjs, and the UI template lives in assets/index.html.
Run commands from this skill directory, the directory containing this SKILL.md.
node scripts/server.mjs
The server prints the actual URL. It starts at http://127.0.0.1:8765/ and tries later ports if the default is occupied.
Check the default URL first:
node -e 'fetch("http://127.0.0.1:8765/api/images").then(r => r.json()).then(j => console.log(j.rootPath, j.items.length)).catch(() => process.exit(1))'
If this succeeds, reuse the running server at http://127.0.0.1:8765/.
If the API check fails, check for a running server process:
pgrep -fl 'node .*server\.mjs' || true
When a process exists but the default URL fails, inspect its stdout or try likely later ports because the server auto-increments when a port is occupied.
Verify any reused URL before reporting success:
node -e 'fetch("http://127.0.0.1:8765/api/images").then(r => r.json()).then(j => console.log(j.rootPath, j.items.length))'
If the server chose another port, use that port.
Start the server if none is running:
node scripts/server.mjs
Keep the process running for the user and read stdout for the URL.
Open the browser unless the user asks for URL-only:
open http://127.0.0.1:8765/
Default image root:
~/.codex/generated_images
Use a different folder with:
GALLERY_ROOT=/path/to/images node scripts/server.mjs
Before declaring the skill healthy after edits, run:
node --check scripts/server.mjs
Then start the server and verify:
GET /api/images returns JSON with rootPath and items/images/<relative-path> returns image content for at least one listed itemassets/index.htmlReport the URL, image root, whether the server was reused or newly started, and any verification failure. Keep the answer short.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/codex-1m-context-window-setupConfigures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop. Use to inspect local context settings, lower or set the auto-compaction threshold, expand ~258K context to 500K or 1M, or repair model_context_window/model_auto_compact_token_limit. Not for changing the selected model or other Codex settings./design-style-pickerBatch-generate and compare visual design directions so a user can choose the style they actually want. Use when the user says they cannot describe an abstract visual style, asks for many style options, wants to choose from generated UI/design-system images, rejects outputs as too colorful/too dead/too generic, or needs an existing UI/design system evolved without discarding current assets./interaction-design-boardGenerates several distinct, clickable HTML interaction prototypes for one product surface into a Design Board and collects selection/remix feedback before implementation. Use for multiple UI versions, interaction alternatives, progressive-disclosure options, or when styling is fine but hierarchy/workflow/interaction feels off. Not for static visual-style calibration (use design-style-picker) or a settled CSS tweak./local-codexLaunches and manages the local OpenAI Codex CLI as a non-interactive coding sub-agent via ChatGPT OAuth, never API keys. Use to delegate coding tasks to Codex, run codex exec, generate or refactor code, or get a Codex code review; phrases like 'codex', 'run codex', 'codex exec', 'delegate to codex'. Also route here for local Codex upgrades (including prereleases), shared app-server daemon lifecycle and fault recovery: daemon restart, Codex hooks or spawns failing with 'Too many open files', fd exhaustion diagnostics; phrases like 'codex daemon', 'daemon 重启', 'Too many open files'./daymade-codex:codex-image-galleryfrom daymade-codex
npx claudepluginhub daymade/claude-code-skills --plugin daymade-codexOther plugins' skills for the same job