Overview
Schedule a daily Codex task in the ChatGPT desktop app that reads a fresh search analytics export, proposes small fixes to page titles, descriptions and internal links in an isolated worktree, and leaves them for your review.
Problem or Objective
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- Codex · ChatGPT · Git
- Prerequisites
- The ChatGPT desktop app with Codex and scheduled tasks available on your plan, the site's source in a local Git repository, a computer that stays on with the app running, and regular exports from your search analytics tool.
How It Works
Keep the site's source in a Git repository on your computer. Each day, or as often as your analytics tool allows, save an export of search queries and page performance into a folder in the project; check how your analytics tool exports this. In the ChatGPT desktop app, test a prompt that asks Codex to read the latest export, pick at most a handful of pages with clear issues such as missing or duplicate descriptions, titles that do not match the queries they get, or orphan pages with no internal links, and make only those small edits with a short note per change. When the test run looks right, create a scheduled task that runs daily in an isolated worktree. Review each run's diff and notes, then merge and deploy the changes you agree with yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Codex CLI.
- Connect the toolsConnect the tools this workflow relies on: Codex, ChatGPT, Git.
- Check the prerequisitesThe ChatGPT desktop app with Codex and scheduled tasks available on your plan, the site's source in a local Git repository, a computer that stays on with the app running, and regular exports from your search analytics tool.
- Gather your detailsCollect what the prompt asks for: Folder with search analytics exports, Most pages to change per run, Your site, Files or pages that must not change.
- Run the starter promptPaste the starter prompt below into Codex CLI and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at developers.openai.com before you rely on it.
Practical Starter Prompt: Daily SEO tidy-up from the latest export
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read the newest file in [Folder with search analytics exports]. Pick at most [Most pages to change per run] pages on [Your site] with clear issues: missing or duplicate meta descriptions, titles that do not match the queries they receive, or pages with no internal links pointing to them. Make only those small edits in the source, keep the existing tone, and write a note per change with the evidence from the export. Do not touch [Files or pages that must not change], do not merge, and do not deploy; I will review the diff and approve before anything goes live.Test the prompt in a normal chat first, then schedule it in an isolated worktree. Review each run's diff and notes and merge and deploy only what you approve.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. OpenAI's scheduled tasks page says tasks in the ChatGPT desktop app can work with local projects in the project directory or an isolated worktree, that worktrees keep scheduled changes separate from unfinished local work, and that you should review the first few runs and adjust the prompt or cadence. It says nothing about search rankings, so treat each change as a hypothesis and watch your analytics over the following weeks.
Limitations and Considerations
Keep each run small and reversible: many automatic edits to titles at once make it hard to tell what helped. The computer must stay on with the app running for a task that needs local files. Nothing should reach the live site until you merge and deploy it yourself. Scheduled runs count toward your Codex usage limits, which vary by plan. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)developers.openai.com
Related Videos
About openai/codex
Meet the New Codex CLI (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Scheduled tasks | ChatGPT Learn (opens in a new tab)
Project documentation · developers.openai.com · Undated · Source checked 27 Nov 2026, 09:45 UTC
What this source supports
- In the ChatGPT desktop app, scheduled tasks can work with local projects and run in the project directory or an isolated worktree; keep the computer on and the app running when a scheduled task needs local files.
- Worktrees keep changes from scheduled tasks separate from unfinished local work, while running in your local project can modify files you are still working on.
- Codex CLI does not provide the Scheduled management interface; use ChatGPT web or the desktop app to create and manage scheduled tasks. Review the first few runs, then adjust the prompt, tools, or cadence.
- Using Codex with your ChatGPT plan | OpenAI Help Center (opens in a new tab)
Project documentation · help.openai.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Codex is included across ChatGPT plans, including Free and Go; usage limits vary by plan.
