Who it is forA developer joining a project who wants answers about how it works without risking changes to the files.
The problemReading an unfamiliar codebase is slow, and an agent with edit access could change files while you are only asking questions.
The outcomeAnswers about the code from a Codex thread that runs in Plan only mode inside the chosen repo folder.
What you need first
- Node.js 18 or newer
- At least one installed, signed-in coding agent: Claude Code, Codex, or OpenCode
- A local folder that holds the repos you want the bot to work in
Steps
- Install the
codexCLI and runcodex login. - Run
npm install -g @gitbot-hq/gitbot. - Run
gitbot startfrom the folder that holds your projects, then open http://localhost:3000. - Create a bot, choose Codex as the agent, and set Permissions to Plan only.
- Open a new thread, choose the repo folder, and ask how one feature works.
Prompt for your agent
Using the gitbot-hq/GitBot package, start it with gitbot start and create a Codex bot with Plan only permissions. Ask it to explain how <feature name> works in <repo folder>. Expected output: a written explanation that names the files it read, with no edits made. Verify that the working files are unchanged after the reply.
Caveat. Codex cannot enforce an Allowed tools list, so Plan only mode is the control to rely on for read-only work.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for gitbot-hq/GitBot and "Ask Codex about a repo without allowing edits"
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