Use GitHub with Codex
Give Codex GitHub issues, pull requests and project decisions so a bug-fix session starts with a clear next step.
Picking up a bug after another session and want to get back to the fix quickly? Codex can connect the GitHub issue, related pull requests and project decisions with the code in your workspace. Ask it to explain the current approach and propose the next reproduction or test.
Part 1: Bring GitHub into a Slot
Data source connections aren’t available yet.
Connect GitHub
In Data sources, choose GitHub and click Connect.
✓ The account authorization flow opens.
Review and allow access
Check the account and requested permissions before allowing access.
✓ Return to SaveSlot after authorization.
Check the imported records
Open the destination Slot and compare a record with its original source.
✓ Verify the source, content and dates of the records received.
Part 2: Connect Codex
Run one command
Connect Codex with one command
Run this in a terminal (or send the setup message from the agent guide):
npm install -g @fluxvita/saveslot && saveslot setup --profile cloud
Approve access in your browser
Check what it may do (reading and writing are checked already) and confirm. It can reach every Slot, including the one with your GitHub records.
What syncs into your Slot
| Data | What is shared | Sync timing |
|---|---|---|
| GitHub | Keep code and project activity | Check the latest sync in SaveSlot |
What to ask Codex
Help me choose the next bug to investigate from GitHub issues, showing repository, issue number and state in the shortlist.
Read this GitHub issue body and look through the current checkout. Where should I start reproducing the bug?
Explain the related GitHub pull request’s state, merge result and target branch. How does it affect this fix?
Compare the GitHub file at this branch or commit with my local copy, using the repository and path to line them up.
Summarize the GitHub discussion about this bug, with comment authors, dates and the decisions we can build on.
Draft a Project Keeper handoff with the GitHub issue reference, test results and next file to open; leave commit, push and deployment for a later request.
Recommended template
Notes and limits
Repository writes use Codex’s Git authentication; connect that through the runtime’s normal setup when you need to push changes.
Questions
Why can Codex read the repository but fail when I ask it to change something?
Reading project records and writing repository changes use different access paths. Find the command that failed, then use Codex’s normal Git setup for that environment. Meanwhile, the Slot can still supply the issue, discussion and current decision for your investigation. A successful read helps you understand the work; it does not grant permission to push or deploy.
Can Claude Code and Codex be active in the same repository?
Yes. Give each agent a task scope and use separate worktrees when they will edit code at the same time. Put the current decision, open checks and next action in the shared project record. That gives each session a useful starting point and makes handoffs easier, while leaving file ownership and code review with your existing collaboration process.
Why does GitHub work outside Codex but not inside its sandbox?
Codex’s runtime may use a different user context, credentials or network policy from your normal shell. Run the smallest relevant read in that environment and follow its supported authentication setup. You can keep investigating with the GitHub records in your Slot while resolving the runtime issue. Store the setup outcome in the handoff, never the credentials themselves.
Why can I not find my private organization repository after connecting?
The organization may require approval or a repository-specific grant for the application. Open the grant for the organization you meant and ask its owner to approve the relevant repository. Then try a familiar private issue or file. Keeping the repository name and number in your project record also makes it easier to spot an accidental match to a public project.