SkillsReviewed · daymade

Codex Image Gallery

Codex Image Gallery is a local image-browsing skill for Codex users, but its documented setup requires keeping a Node.js server running. It provides filename and path search, folder-based batches, grid and list views, and image details. It does not generate images.

Researched 16 Nov 2026

In short.

Codex Image Gallery is a local browsing skill for Codex users with saved images, but normal use requires a running Node.js server. It indexes PNG, JPEG, WebP and GIF files and presents searchable, folder-based batches with image details and path copying. The server defaults to local access and has no authentication; changing its network address can expose files. Runtime reliability, compatibility and performance are unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes daymade-codex/codex-image-gallery/SKILL.md, agents/openai.yaml, assets/index.html and scripts/server.mjs at commit 8dd0c5952293afb216d22c60b18ff8ac970822b9. The repository-level LICENSE is included as the enclosing notice outside that folder. Other repository skills, Codex itself, image-generation services and user image files are excluded. No commands, server, browser or model were run. Runtime behavior, compatibility, performance and security remain unverified.

The overview

Identity

Codex Image Gallery is the codex-image-gallery skill in daymade/claude-code-skills, under daymade-codex/codex-image-gallery. SKILL.md describes its use by an assistant, agents/openai.yaml supplies its display name and invocation prompt, and the bundled server and HTML implement the viewer.

The original source folder is [https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-image-gallery]. The supplied source snapshot is pinned to commit 8dd0c5952293afb216d22c60b18ff8ac970822b9.

Fit for your work

Its clearest use is visually reviewing local image outputs whose generated filenames are difficult to recognize. Thumbnails, batch filters and readable image labels provide context while retaining access to original filenames and paths.

It is a focused viewer with no implemented editing, generation-prompt retrieval or image-content search. Its suitability for large collections or shared hosting is unknown. The small dependency footprint is useful, but it does not establish runtime reliability or security.

Who it suits

The stated audience is people browsing Codex-generated images, particularly files in ~/.codex/generated_images. Developers and designers comparing saved variants are plausible users because the interface combines visual previews with file details and path copying.

Beginners need enough command-line familiarity to start a local process and identify the correct image folder. Experienced developers can configure the root directory, host and port. The gallery can also display other local images in its supported formats; the server does not check whether Codex created them.

What it provides

The server recursively indexes PNG, JPG, JPEG, WebP and GIF files. The interface offers grid and list views, batch filters, image counts, aggregate file size, and sorting controls for modification time, size and batch order. Images remain grouped into batches, so sorting does not create a single ungrouped sequence.

Search is case-insensitive text matching over labels, filenames, folders, paths and formatted dates. It does not inspect image content. The detail viewer shows modification time, file size, available pixel dimensions, original filename, session identifier and path. It includes previous and next navigation, arrow-key controls, Escape to close, opening the image separately and copying its path.

Using it

Requirements

The documented server workflow needs Node.js, a browser, the bundled scripts/server.mjs and assets/index.html files, and an existing readable image directory. The server imports only Node.js built-in modules; no third-party Node package is required by the supplied implementation.

A minimum Node.js version and supported browser or operating-system versions are not specified. The documented server-reuse check depends on Node's global fetch function. The workflow also names pgrep and open, without establishing their availability across platforms. Browser folder selection depends on directory-picker or directory-input support.

How it works

The Node.js HTTP server serves the bundled page and exposes /api/images. Each index request recursively reads the configured root and returns its absolute path plus relative image paths, modification times and byte sizes. Image files are delivered through /images/ routes.

The browser fetches that index and performs filtering, sorting and batch grouping locally. A batch is derived from the first directory component of each image path. UUID-shaped folder names receive date-based labels, while matching generated filenames receive numbered image labels.

The Open another folder control reads a browser-selected directory and creates temporary object URLs for its files. That code path contains no upload request. The supplied gallery code contains no external model calls or analytics requests.

Setup

Keep the skill directory structure intact, including scripts and assets. From that directory, the documented startup command is node scripts/server.mjs. The default image root is ~/.codex/generated_images and the initial URL is [http://127.0.0.1:8765/]. If the port is occupied, the server tries up to 20 later ports. Use the URL it prints and keep the process running.

A different root can be selected with GALLERY_ROOT=/path/to/images node scripts/server.mjs. PORT or the first numeric command-line argument changes the starting port; HOST changes the listening address. Before reusing an existing server, confirm that its /api/images response identifies the intended root.

The supplied files document startup and invocation, but do not specify a skill installation procedure or a minimum supported Codex version.

Example use

Suppose two folders under ~/.codex/generated_images contain PNG variants from separate image-generation sessions. The implemented interface groups the images by their first folder component and assigns date-based batch labels when those folder names match its UUID pattern. A user could filter a batch, inspect a variant, move between images with the arrow keys and copy the server-backed file path.

This is an illustrative scenario based on the source, not an executed demonstration. Batch labels come from folder names and file modification times; they do not establish the original prompts or actual generation dates.

Assessment & evidence

Limitations

The page loads its index at startup, with no polling or filesystem watcher, so new outputs require a reload. Index requests scan the full directory tree, and searching rebuilds the gallery cards. Large-library latency and memory use are unknown. Missing or unreadable roots can produce an API error that the interface reduces to Dynamic index unavailable.

The server has no authentication or TLS configuration. Changing HOST can make it reachable beyond the local machine, and its API reveals the absolute root path and filenames. The /images/ handler does not restrict delivery to image extensions, so known non-image files under the configured root can also be served.

The path check rejects ordinary directory escapes but does not resolve symbolic links before serving files. A link inside the root may therefore lead outside it; this is a source-derived risk, not an observed exploit. In browser-selected-folder mode, the item path is relative, so Copy full path does not guarantee an absolute filesystem path.

Main tradeoffs

The implementation trades a richer media catalogue for a small local viewer. It needs no database or external service, but derives organization from directory structure and modification times. Readable labels can make opaque generated filenames easier to browse without adding prompt history, semantic tags or verified generation metadata.

The default loopback address limits intended access to the local machine. That default matters because the file-serving route is broader than the image index and has no authentication. These conclusions follow from the supplied code; they do not establish measured productivity, performance or security.

Other approaches

For occasional inspection, opening image files individually is an alternative to maintaining a gallery process. This skill adds a visual index, folder filters and file details when those become useful.

Its bundled browser folder-picker mode is another option for a chosen directory, although it has relative-path limitations and browser support is unspecified. If tagging, editing, collaboration or continuous indexing is essential, compare dedicated image-library tools against those requirements. Capabilities and prices of named competing products are not established by the supplied evidence.

Evidence and confidence

The source comprises SKILL.md, agents/openai.yaml, assets/index.html, scripts/server.mjs and the repository-level LICENSE. The instructions establish intended use; the server and browser code establish implemented defaults and controls; the licence establishes software permissions.

The implementation sources are available at [https://raw.githubusercontent.com/daymade/claude-code-skills/8dd0c5952293afb216d22c60b18ff8ac970822b9/daymade-codex/codex-image-gallery/scripts/server.mjs] and [https://raw.githubusercontent.com/daymade/claude-code-skills/8dd0c5952293afb216d22c60b18ff8ac970822b9/daymade-codex/codex-image-gallery/assets/index.html]. Nothing was executed. Server startup, image delivery, rendering, folder selection, clipboard behavior, compatibility, performance and security remain untested.

Access & freshness

Costs

No gallery purchase price, subscription, hosted-service fee or support price is stated. The bundled implementation uses local files and Node.js built-in modules, with no model API calls or provider credentials.

Local compute and storage use have not been measured, so operating cost is unknown. Any costs of Codex access or generating the images being browsed are separate and are not established by these files.

Usage and redistribution rights

The enclosing repository LICENSE is MIT, with copyright attributed to daymade in 2025. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. The software is supplied without warranty.

The notice is available at [https://raw.githubusercontent.com/daymade/claude-code-skills/8dd0c5952293afb216d22c60b18ff8ac970822b9/LICENSE]. This software licence does not establish rights to images opened in the gallery.

Source snapshot

The supplied files are pinned to commit 8dd0c5952293afb216d22c60b18ff8ac970822b9 and were captured on 2026-11-16 at 01:29:54.473 UTC. That capture time is not a release date or commit date.

A separate release version, the commit date, subsequent changes and compatibility with later Codex or browser versions are unknown. The findings apply to this source snapshot.

Before using it

Obtain the complete skill folder from the original repository, retain its directory structure and preserve the MIT notice when copying or redistributing it. Choose an image root containing only files intended for browsing, and keep the default loopback host for local use.

In your environment, confirm the printed URL, verify that /api/images returns the intended rootPath and items, check that a listed image is delivered, and confirm that the page renders. These are documented verification steps, not completed results. Check browser folder selection and path copying if you need them, and reload after generating new images.

Evidence for this report

LICENSEnotice · checked 2026-11-16
daymade-codex/codex-image-gallery/SKILL.mdselected · checked 2026-11-16