Overview
A weekly Codex scheduled task runs a small script that pulls new arXiv listings for your keywords, adds them to a CSV file in a separate worktree, and ranks each paper for reading priority.
Problem or Objective
- Which agents investigate a question and report back?
- Which agents build or edit spreadsheets with working formulas?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- Codex · Python
- Prerequisites
- The ChatGPT desktop app with Codex, kept running with the computer on for project tasks; check that your plan includes scheduled tasks. A Git project folder and Python for the fetch script.
How It Works
Create a Git project folder for your reading list. In a normal Codex chat, ask Codex to write a short Python script that queries arXiv for your keywords and categories, skips papers already in papers.csv, and appends new ones with title, authors, link and date. Run it by hand once and check the output. Then create a standalone scheduled task on that project with a weekly schedule, set to run on a background worktree, whose prompt runs the script, reads each new abstract, and fills a priority column (read now, skim, skip) with a one-line reason. Keep the sandbox at workspace write and allow only the script's command to reach the network. Each week, open the run in Scheduled, read the ranked list, and merge the worktree's CSV changes into your main copy yourself if you agree with them.
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, Python.
- Check the prerequisitesThe ChatGPT desktop app with Codex, kept running with the computer on for project tasks; check that your plan includes scheduled tasks. A Git project folder and Python for the fetch script.
- Gather your detailsCollect what the prompt asks for: Command that runs your fetch script, Search keywords, arXiv categories to search, What makes a paper worth reading for you.
- 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: Rank this week's new papers
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Run [Command that runs your fetch script] in this project to fetch new arXiv papers matching [Search keywords] in [arXiv categories to search] and append them to papers.csv. Then read the abstract of every paper added in this run and fill its priority column with read now, skim or skip, judged against my interests: [What makes a paper worth reading for you]. Add a one-line reason quoting the part of the abstract that drove the label. Do not delete or rewrite earlier rows. Report the new papers grouped by priority so I can review them before I merge this worktree's changes.Test the script and this prompt by hand in a normal chat first. Schedule it weekly on a background worktree with workspace write, allowlisting only the fetch command for network access. Each week, review the ranked list in Scheduled and merge the CSV changes into your main copy yourself.
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 Codex documentation says scheduled tasks run recurring work in the background, can run on a dedicated worktree to keep changes separate, report results in a Scheduled view, and run unattended with your default sandbox settings. It says nothing about arXiv, so the query script and the quality of the priority labels depend on what you build and test.
Limitations and Considerations
Changes land in a separate worktree, and you decide whether to merge them. Scheduled tasks run unattended: under workspace write, network calls fail unless you allowlist the command with rules, and full access lets the task change files and reach the network without asking. Project tasks need the computer on and the desktop app running. Check arXiv's API terms and rate limits before you schedule queries. Priority labels come from abstracts only, so open the paper before citing it. Check that your ChatGPT plan includes Codex scheduled tasks. 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
- Schedule recurring tasks to run in the background.
- For Git repositories, each scheduled task can run either in your local project or on a dedicated background worktree. Use worktrees when you want to isolate scheduled-task changes from unfinished local work.
- Scheduled tasks run unattended with your default sandbox settings. Start with the narrowest access that lets the task succeed, and grant network or broader file access only when required.
- If your sandbox mode is workspace-write, tool calls fail if they require modifying files outside the workspace, accessing network, or working with apps on your computer. You can selectively allowlist commands to run outside the sandbox using rules.
- For project-scoped scheduled tasks, keep the machine powered on and the ChatGPT desktop app running.
