Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Integracja z narzędziem

codex-image

/codex-image

Generuje lub edytuje obrazy rastrowe (zdjęcia, ilustracje, makiety, grafiki hero, ujęcia produktów, wycinki z przezroczystością) przez GPT Image 2 i lokalny Codex CLI w ramach subskrypcji ChatGPT.

Licencja
MIT
Ostatnia zmiana repozytorium
30.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 30.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: gen.sh

Co robi i kiedy

Generuje lub edytuje obrazy rastrowe (zdjęcia, ilustracje, makiety, grafiki hero, ujęcia produktów, wycinki z przezroczystością) przez GPT Image 2 i lokalny Codex CLI w ramach subskrypcji ChatGPT.

Wyzwalacze z opisu

generate an imagemake a picture/illustration/mockupuse codex / gpt image / gpt-image-2edit this imageremove the background
Oryginalny opis (EN)

Generate or edit raster images (photos, illustrations, mockups, hero images, product shots, bitmap icons, transparent cutouts) with OpenAI GPT Image 2 by triggering the local Codex CLI, billed to the user's ChatGPT subscription — no API key needed. Use when the user says "generate an image", "make a picture/illustration/mockup", "use codex / gpt image / gpt-image-2", "edit this image", "remove the background", or a project needs a bitmap asset. Not for video, SVG, or graphics better built in code.

Jak działa

  1. Command
  2. Workflow
  3. Troubleshooting
Sekcje z nagłówków SKILL.md, w oryginale · 45 linii, 365 słów
Podgląd SKILL.md
---
name: codex-image
description: Generate or edit raster images (photos, illustrations, mockups, hero images, product shots, bitmap icons, transparent cutouts) with OpenAI GPT Image 2 by triggering the local Codex CLI, billed to the user's ChatGPT subscription — no API key needed. Use when the user says "generate an image", "make a picture/illustration/mockup", "use codex / gpt image / gpt-image-2", "edit this image", "remove the background", or a project needs a bitmap asset. Not for video, SVG, or graphics better built in code.
---

# codex-image

Runs Codex CLI non-interactively. Codex calls its built-in `image_gen` tool (GPT Image 2) and the
script copies the result to the path you choose. Each call takes roughly 30–90 seconds.

The script is `gen.sh` in this skill's base directory (shown when the skill loads), referred to below as `<skill-dir>`.

## Command

```bash
<skill-dir>/gen.sh -o <out.png> [options] "<prompt>"
```

| Option | Meaning |
|---|---|
| `-o PATH` | Output file (required). Put project assets inside the project; otherwise use a temp/scratch folder. |
| `-n N` | 1–4 variants → `out-1.png`, `out-2.png`, … |
| `-r FILE` | Reference image for style/composition (repeatable) |
| `-e FILE` | Image to edit — only what the prompt asks changes |
| `-t` | Transparent background |
| `-a square\|portrait\|landscape` | Aspect ratio |

Prints the saved absolute path(s). Never overwrites: an existing name gets a time suffix.
Give the Bash call a timeout of at least 300000 ms (600000 for `-n 3` or `-n 4`). For several different
images, run separate commands in parallel instead of describing them all in one prompt — parallel runs are safe.

## Workflow

1. Turn the request into a clear prompt: subject, style/medium, composition, lighting, palette,
   exact text in quotes, and what to avoid. Keep the user's specifics; add detail only when the ask is vague.
2. Run `gen.sh`.
3. **Look at the output image** and check it matches (subject, spelling of any text, framing). If it's off,
   rerun with one targeted prompt change, or use `-e` on the result for a small fix.
4. Report the saved path(s) and the final prompt. If the image is for a project, reference it from the code.

## Troubleshooting

- `codex CLI not found` → the user needs `npm i -g @openai/codex`.
- `Codex is not logged in` → the user runs `codex login` and signs in with ChatGPT.
- `No image was generated` → the ChatGPT plan's image limit may be used up, or the prompt was refused.
  Say so; don't retry in a loop.
- `-t` output can have semi-transparent blotches. Check it; if dirty, regenerate on a plain white background
  without `-t` and remove the background separately.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • gen.sh 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · mishagavura/claude-code-image-generation100MIT
openminis/minisskills100MIT

Migawka bazy z 28.10.2026 · wersja paczki a5b7fb9ae6ef (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

  • 100codex-image-generator
    Generuje i edytuje obrazy rastrowe (ilustracje, tekstury, zdjęcia produktowe, makiety, wycięcia z przezroczystością) przez wbudowane narzędzie image_gen Codex CLI, uruchamiane w subagencie.
  • 100codex-imagegen
    Generuje i edytuje obrazy rastrowe (zdjęcia, ilustracje, makiety, logo, grafiki gier i UI, infografiki) wbudowanym narzędziem image_gen Codex przez codex exec, bez klucza API OpenAI.
  • 100generate-image
    Generuje obrazy modelem OpenAI GPT Image 2 przez Codex CLI w ramach subskrypcji ChatGPT Plus, bez klucza API i kosztów za obraz, z promptów tekstowych.
  • 84generate-image
    Generuje obrazy, ikony, logo i banery przez gpt-image-2 w Codex CLI, na istniejącym logowaniu ChatGPT bez klucza API.
  • 100generating-images
    Generuje lub edytuje obrazy przez OpenAI Image API (gpt-image-2): ikony, loga, makiety, ilustracje, obrazy OG, grafiki blogowe i zasoby marketingowe, także na podstawie obrazu referencyjnego.
  • 100imagegen
    Generuje lub edytuje obrazy rastrowe, takie jak zdjęcia, ilustracje, tekstury, sprite'y, makiety i wycinanki z przezroczystym tłem, gdy wynikiem ma być zasób bitmapowy, a nie kod ani wektor.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.