codex-image-gallery
Start or reuse a self-contained local web gallery for browsing Codex-generated images. Use when the user asks to browse Codex generated images, open a local image gallery, inspect ~/.codex/generated_images, view a Codex image output folder, or browse image files produced by Codex.
pinned to #156a6adupdated 3 weeks ago
Ask your AI client: “install skills/codex-image-gallery”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/codex-image-gallerymetahub onboarded this repo on the author's behalf.
If you own github.com/daymade/claude-code-skills on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
1,259
Last commit
3 weeks ago
Latest release
published
About this skill
Pulled from SKILL.md at publish time.
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`.
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.156a6ad· 3 weeks ago
Documentation
41Description quality
42 words · 281 chars — "Start or reuse a self-contained local web gallery for browsing Codex-generated i…"
README is present and substantial
162,359 chars · 15 sections · 79 code blocks
Tags / topics declaredwarn
No manifest tags and no GitHub repo topics
Add tags to the manifest (or GitHub topics on the repo) so the registry's search and category filters surface this artifact.
README has usage / example sections
found: Example
Homepage / docs URL declared
no homepage declared (registry will use the repo URL) — info-only, not blocking
Release history
1- releasecurrent156a6adwarn3 weeks ago
Contents
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.
Quick Start
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.
Workflow
-
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' || trueWhen 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.mjsKeep 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/
Image Root
Default image root:
~/.codex/generated_images
Use a different folder with:
GALLERY_ROOT=/path/to/images node scripts/server.mjs
Validation
Before declaring the skill healthy after edits, run:
node --check scripts/server.mjs
Then start the server and verify:
GET /api/imagesreturns JSON withrootPathanditems/images/<relative-path>returns image content for at least one listed item- The page loads from the bundled
assets/index.html
Response
Report the URL, image root, whether the server was reused or newly started, and any verification failure. Keep the answer short.
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/codex-image-gallery