codex-image-gallery
/codex-image-gallery
Uruchamia lub ponownie wykorzystuje samodzielną lokalną galerię webową do przeglądania obrazów wygenerowanych przez Codex, z katalogu ~/.codex/generated_images.
- Autor
- daymade ↗
- Repozytorium
- claude-code-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 5
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/server.mjs
Co robi i kiedy
Uruchamia lub ponownie wykorzystuje samodzielną lokalną galerię webową do przeglądania obrazów wygenerowanych przez Codex, z katalogu ~/.codex/generated_images.
Oryginalny opis (EN)
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.
Jak działa
- Quick Start
- Workflow
- Image Root
- Validation
- Response
Podgląd SKILL.md
---
name: codex-image-gallery
description: 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.
---
# Codex Image Gallery
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`.
```bash
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
1. Check the default URL first:
```bash
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/`.
2. If the API check fails, check for a running server process:
```bash
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.
3. Verify any reused URL before reporting success:
```bash
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.
4. Start the server if none is running:
```bash
node scripts/server.mjs
```
Keep the process running for the user and read stdout for the URL.
5. Open the browser unless the user asks for URL-only:
```bash
open http://127.0.0.1:8765/
```
## Image Root
Default image root:
```text
~/.codex/generated_images
```
Use a different folder with:
```bash
GALLERY_ROOT=/path/to/images node scripts/server.mjs
```
## Validation
Before declaring the skill healthy after edits, run:
```bash
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 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.
Pliki w paczce (4)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
- assets/index.html 39 KB
- scripts/server.mjs 4 KB
Wersje
W bazie nie ma innych skilli o nazwie codex-image-gallery.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 0a24f520f9f4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100local-gallery
Pokazuje folder obrazów i wideo w lokalnej galerii w przeglądarce, z folderami, podglądem, ulubionymi i odświeżaniem. - 100image
Generuje obrazy rastrowe, takie jak ikony, ilustracje i tekstury, przez narzędzie obrazów zalogowanego Codex CLI. - 100codex-cli
Deleguje zadania do OpenAI Codex CLI z innego środowiska agenta, na przykład Claude Code: sprawdza instalację, uruchamia polecenia codex exec, wznawia sesje, zbiera wyniki i obsługuje obrazy. - 96pp
Wyszukuje obrazy na Pinterest i pokazuje je w przeglądarce jako galerię, pobierając linki przez narzędzie gallery-dl. - 100codex-plan-files
Prowadzi plany pracy Codex jako pliki Markdown w jednym folderze z automatycznie generowanym indeksem. - 82codex-handoff
Przekazuje bieżącą pracę do nowego zadania w Codex.