---
name: botkits-chatgpt-images-browser-playbook
description: >-
  Needs Grok Bot or a browser agent. Use when generating stills on chatgpt.com with a signed-in browser session. Images UI only, one still per dispatch, no API keys, no cookie scraping, no sleep-poll loops. Session-only; hand the box to the owner for login/2FA.
compatibility: Needs Grok Bot or another agent with a signed-in browser it can drive.
title: botkits-chatgpt-images-browser-playbook
canonical_url: https://skilld.dev/gh/botkitsdev/botkits/botkits-chatgpt-images-browser-playbook
last_updated: 2026-11-22T01:30:43.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install botkitsdev/botkits/botkits-chatgpt-images-browser-playbook`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/botkits-chatgpt-images-browser-playbook`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/botkitsdev/botkits/botkits-chatgpt-images-browser-playbook) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/botkits-chatgpt-images-browser-playbook`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/botkits-chatgpt-images-browser-playbook --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/botkits-chatgpt-images-browser-playbook --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# ChatGPT Images browser playbook

Automate ChatGPT Images through a signed-in box browser session. No API keys. No cookie scraping. No private endpoint scripts. No Shell-driven CDP, Playwright, Puppeteer, or cookie DB reads.

This is a **session-only** playbook: drive the live Images UI the owner already uses. It is product-agnostic. Attach whatever identity or style reference images the current job requires.

## Session
1. Open `https://chatgpt.com` in the box browser on the account the owner already uses for Images.
2. Confirm Images / image gen is available (Plus or whatever plan they use). If login or 2FA blocks, hand the box to the owner. Do not lift cookies.
3. Prefer one long signed-in session. Reuse the tab. Do not open parallel browsers that fight the same login.

## How to drive the UI
1. Delegate clicks and typing to a browser or desktop subagent. Do not drive Chrome from Shell.
2. Scope each dispatch tightly: one prompt, attach named refs, wait for the still, download or save it, stop.
3. For a batch, loop many narrow dispatches (one still each). Do not ask one subagent to "generate the whole pack."
4. Always attach the locked identity / style reference images the job requires before Generate. Do not invent product cast locks or character sheets in this skill. Those belong to the project brief.
5. Use the image-generation controls available in the current session. Do not assume a specific model name or picker exists. Reject GenerateImage and other local generators for this lane.
6. **No sleep-poll loops.** Do not chain `sleep 15` / `sleep 20` / `sleep 30` waiting on the UI. Wait on the page result in the browser subagent, or stop and report. Retry once on rate limit, then pause.

## Batch recipe
For each item in the current stage list (from the project PLAN or a companion consistency skill):
1. Build one clear English prompt (subject, look, camera, what must stay exact).
2. Dispatch: open Images, attach refs, paste prompt, generate, wait until the image is ready.
3. Save the file into the project folder with a stable name.
4. Quality-gate against the project brief. Redo once if it fails. Escalate to the owner after two fails.
5. Mark the item done and move to the next. Report progress; offer a question widget to continue or pause.

## Hard stops
- Login wall, captcha, phone verify, or payment wall → hand the box to the owner.
- Rate limit or "try again later" → wait and retry once, then pause the batch and tell the owner.
- UI changed so the Images controls cannot be found → stop and report. Do not invent a cookie or API workaround.
- Any urge to scrape session cookies or call undocumented ChatGPT APIs → refuse.

## Anti patterns
- GenerateImage "just this once."
- Parallel browser sessions on the same ChatGPT login.
- Sleep-poll shell loops instead of waiting on the page.
- One sprawling "do the whole pack" computerUse task.
- Baking product-specific cast boards or character locks into this playbook.
