Chatgpt Image Gen

v1.0.0

Generate images using ChatGPT/DALL-E through OpenClaw browser automation. Use when the user wants to create images via ChatGPT's web interface with their log...

0· 330·3 current·3 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name and description match the instructions: the skill is an instruction-only guide for using OpenClaw's browser automation to generate images via ChatGPT/DALL·E in a logged-in browser tab. It does not request unrelated credentials, binaries, or installs in the manifest.
Instruction Scope
SKILL.md instructs the agent to attach a Chrome extension to an already-logged-in ChatGPT tab and then use direct browser control commands (snapshot, click, type, press, screenshot) to drive DALL·E. Those actions are within the declared purpose, but they explicitly rely on controlling your real browser session (including its ChatGPT permissions) and even state 'bypass ChatGPT's bot detection', which has privacy, security, and potential terms-of-service implications.
Install Mechanism
There is no install spec and no code files; the only installation step documented is a Chrome extension install from the Web Store or the extension bundled with OpenClaw. Because the skill itself does not perform downloads or write to disk, install risk from the skill bundle is low. The real risk is the extension you must trust externally.
Credentials
The skill declares no environment variables, credentials, or config paths. It instead instructs use of an already-logged-in browser session; this is proportionate for the stated browser-automation purpose. However, because the extension inherits the browser session, it can access whatever that session has access to—this is a privacy/trust concern rather than a manifest inconsistency.
Persistence & Privilege
Skill flags are default (not always:true). The skill does not request permanent always-on presence nor modify other skills. It requires the user to attach an extension to a browser tab, which gives the extension session-level privileges, but that is external to the skill's bundle.
Assessment
This skill is coherent for automating image generation via your ChatGPT browser session, but it requires installing and trusting a Chrome extension that will control an actual logged-in browser tab. Before using: 1) Verify the extension is legitimate (publisher, Web Store listing, permissions, reviews). 2) Prefer installing the extension in a separate browser profile with only the ChatGPT account signed in to limit exposure. 3) Do not keep sensitive data or other logged-in accounts in that profile while using the skill. 4) Be aware the SKILL.md explicitly suggests bypassing bot detection — that may violate ChatGPT's terms of service. 5) If possible, consider using the official API (OpenAI image endpoints) instead of browser automation for better auditability. If you cannot verify the extension's trustworthiness or accept the privacy trade-offs, do not install or use this skill.

Like a lobster shell, security has layers — review code before you run it.

latestvk978bbe7r6wvvnc1cd7d7mgky5828f7k
330downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

ChatGPT Image Generation

Generate images using ChatGPT's DALL-E integration through OpenClaw browser automation.

Prerequisites

  1. Chrome Extension Installation:

    • Install OpenClaw Browser Relay from Chrome Web Store
    • Or use the extension that comes with OpenClaw
  2. Initial Setup (one-time):

    • Open ChatGPT (chatgpt.com) in Chrome/Brave
    • Login to your ChatGPT account (Pro subscription recommended for best quality)
    • Click the OpenClaw extension icon on the ChatGPT tab to attach it
    • The badge should show "ON" when attached

How It Works

This skill uses OpenClaw's built-in browser tool with Chrome extension relay (profile="chrome") to control an already-logged-in ChatGPT tab. This bypasses ChatGPT's bot detection because it uses your real browser session.

CLI Command Reference

IMPORTANT: There is NO browser act subcommand. Each action is a direct subcommand.

ActionCLI Syntax
List tabsopenclaw browser tabs
Snapshotopenclaw browser snapshot --target-id <ID>
Clickopenclaw browser click <ref> --target-id <ID>
Typeopenclaw browser type <ref> "<text>" --target-id <ID>
Press keyopenclaw browser press <key> --target-id <ID>
Navigateopenclaw browser navigate <url> --target-id <ID>
Screenshotopenclaw browser screenshot --target-id <ID>
  • <ref> and <text> are positional arguments (no --ref flag)
  • --target-id accepts a full ID or unique prefix (e.g. 77CB instead of 77CB8A574E8A44861C5FE49388EF6ABC)
  • --profile is a parent option on openclaw browser, not on subcommands

Workflow

1. List Attached Tabs

openclaw browser tabs

Look for a tab with URL containing chatgpt.com. Note the targetId.

2. Get Snapshot (find element refs)

openclaw browser snapshot --target-id <ID> --format ai --efficient

This outputs a tree with refs like e23, e589, etc. Always run snapshot before interacting.

3. Click an Element

openclaw browser click e23 --target-id <ID>

4. Type Text

openclaw browser type e589 "Generate an image: a futuristic city at sunset" --target-id <ID>

Add --submit to press Enter after typing:

openclaw browser type e589 "Generate an image: a cat riding a skateboard" --target-id <ID> --submit

5. Press a Key

openclaw browser press Enter --target-id <ID>

6. Wait for Generation

Use sleep to wait for DALL-E to generate (30-60 seconds):

sleep 45

Then take a new snapshot to check the result:

openclaw browser snapshot --target-id <ID> --format ai --efficient

Complete Example Session

# 1. List tabs, find the ChatGPT tab targetId
openclaw browser tabs

# 2. Take snapshot to find element refs
openclaw browser snapshot --target-id 4535E --format ai --efficient

# 3. Click input field (check ref from snapshot, usually labeled "Ask anything")
openclaw browser click e589 --target-id 4535E

# 4. Type prompt and submit
openclaw browser type e589 "Generate an image: a futuristic city at sunset" --target-id 4535E --submit

# 5. Wait for DALL-E generation
sleep 45

# 6. Take new snapshot to see result and find download button
openclaw browser snapshot --target-id 4535E --format ai --efficient

# 7. Click download button (ref from new snapshot)
openclaw browser click e745 --target-id 4535E

Troubleshooting

"Can't reach the OpenClaw browser control service":

  • Gateway restart needed: openclaw gateway restart
  • Or restart via OpenClaw menu bar app

"Chrome extension relay is running, but no tab is connected":

  • ChatGPT tab is not attached
  • Go to the ChatGPT tab and click the OpenClaw extension icon

"ref is required" error:

  • You need to specify which element to interact with
  • Run snapshot first to get the refs

Command not found / Unknown command:

  • Do NOT use browser act — use direct subcommands: browser click, browser type, browser press
  • ref is a positional argument: browser click e23, NOT browser click --ref e23

Image generation timeout:

  • DALL-E generation takes 30-60 seconds
  • Use sleep 45 then re-snapshot to check

Bot detection / Login issues:

  • The tab must be already logged in via your real browser
  • Use the Chrome extension relay (attached tab), not the isolated browser

Tips

  1. Keep ChatGPT tab open: Once attached, keep the tab open for future use
  2. Check targetId: The targetId changes if you close/reopen the tab — always run tabs first
  3. Use --submit: The type command supports --submit to press Enter automatically
  4. Unique prefix: --target-id accepts a unique prefix, no need for the full 32-char ID
  5. Pro subscription: ChatGPT Pro gives better image quality and faster generation

Security Note

This approach uses your actual Chrome browser session, so it inherits all your ChatGPT permissions and settings. No credentials are stored or transmitted - everything happens in your existing browser session.

Comments

Loading comments...