Install the skill for Codex
Run the installer from the workspace you use with Codex:bash
npx skills add https://github.com/mikecodeur/skills --skill youthumb-apibash
npx skills add https://github.com/mikecodeur/skills --skill youthumb-api --agent codexyouthumb-api skill. The skill describes the integration; your runtime still needs network access and a YouThumb API key.
Connect your YouThumb account
In YouThumb, open Account → API Keys and create a key. Make it available asYOUTHUMB_API_KEY in Codex's runtime:
bash
export YOUTHUMB_API_KEY="your-api-key"Prepare your assets
text
Use the youthumb-api skill. Check that ./assets/logo.png and
./assets/screenshot.png are real PNG images, upload them as assets
and give me their URLs. Do not create a project yet..png would fail.
Create the project, then generate
text
Create a thumbnail project with the free preset: me on the left,
@image1 (logo) on the right with a soft glow, @image2 (screenshot)
in the background. Title "SHIP IT". 2 variations.
Show me the detailed status before starting.Collect the results
Ask Codex to poll the status until it is completed, then download the images into your project folder. Polling too fast triggers the rate limit: one request at a time, with a pause between calls.Troubleshooting
- Skill not found: check the installation scope and start a new session where the skill was installed.
- 401: check the key and whether it was revoked. The API is strictly rate limited, so a
401right after many calls can also mean the agent should wait before trying again. - 402: your credits are insufficient for the generation.
- 429: too many calls; ask the agent to wait 30 to 45 seconds instead of retrying in a loop.