Remote script. The local Worker is exposed through accountless HTTPS forwarding, so ChatGPT can run terminal commands on your machine through that link.
Who it is forA developer who wants to talk through a codebase directly with ChatGPT, with it able to run commands in that project.
The problemExplaining a project to ChatGPT by hand and copying output back and forth is slow.
The outcomeA ChatGPT session opens with terminal access to the chosen project folder.
What you need first
- Codex with the WebGPT skill installed from https://github.com/Nhahan/WebGPT/tree/main/skills/webgpt
- A ChatGPT account you can sign in to on the web
- Permission for the local Worker, accountless HTTPS forwarding, and full terminal access as your OS user for the assigned project
- A terminal on the machine where Codex runs
Steps
- Install the skill by pasting the install prompt from the README into Codex, then let Codex follow references/setup.md.
- In Codex, tell it:
webgpt opento open ChatGPT for the current project. - To use another project, tell Codex:
webgpt open /path/to/projectwith your project path. - Confirm the project is the one you intended before asking ChatGPT to run anything.
Prompt for your agent
Using the WebGPT repo (Nhahan/WebGPT), run `webgpt open /path/to/project` with the project path <project path>. Expect ChatGPT to open with terminal access to that folder. Verify the session is pointed at the correct project before giving it any task.
Caveat. The README says the project folder is not a sandbox, so ChatGPT has the same terminal access as your OS user in that folder.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Nhahan/WebGPT and "Open ChatGPT with terminal access to a project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer