--- name: chatgpt-worker description: "Use this skill to send a prompt to ChatGPT and get a response. Triggers when the user wants to query ChatGPT, use ChatGPT as an external AI worker, or when the web-ai-router directs a task to ChatGPT. Best for general QA, writing, coding, and creative tasks. Requires login — session is persisted in Chrome profile." --- # ChatGPT Worker Send a prompt to ChatGPT via browser and return the response. ## Environment - URL: https://chatgpt.com - Browser: Chrome on localhost:9222 (managed by local-browser-tools) - Login: Required — session persisted in ~/.cache/browser-tools profile - Tools: `browser-start.js`, `browser-nav.js`, `browser-eval.js`, `browser-screenshot.js` --- ## Input ``` prompt: string # The text to send to ChatGPT task_type: string # qa | summary | translation | rewrite | extraction | comparison | brainstorming | analysis ``` --- ## Output Always output this JSON block first: ```json { "site": "chatgpt", "task_type": "", "status": "success | partial | error", "answer": "", "retry_count": 0, "elapsed_ms": 0, "error_reason": null } ``` Then follow with a short human-readable summary (2–3 sentences max). --- ## Critical Architecture Note ChatGPT uses **ProseMirror** as its rich text editor. The real input element is a `div.ProseMirror`, NOT the `