GitBot
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Basarisiz
- fs module — File system access in package.json
- execSync — Synchronous shell command execution in scripts/build-ui.mjs
- process.env — Environment variable access in scripts/postinstall.mjs
- process.env — Environment variable access in src/bot-store.ts
- process.env — Environment variable access in src/marketplace-proxy.ts
- network request — Outbound network request in src/marketplace-proxy.ts
- execSync — Synchronous shell command execution in src/server-common.ts
- process.env — Environment variable access in src/server.ts
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Create reusable bots powered by Claude Code, Codex, or OpenCode. Run them locally across your repositories with persistent threads and permissions you control.
| Overview · Get running · Create a bot · How it works · Share · Security |
|---|
Create a bot once. Put your coding agents to work across your repos.
GitBot runs Claude Code, Codex, or OpenCode on your machine and gives each agent a reusable job, a place to work, and a conversation you can return to. You stay in control of its permissions.
npm install -g @gitbot-hq/gitbot

Get running
You'll need Node.js 18 or newer and at least one installed, signed-in coding agent. GitBot uses your existing agent login; it does not ask you to make a GitBot account.
| Agent | Before you start |
|---|---|
| Claude Code | Install and sign in to the claude CLI. |
| Codex | Install the codex CLI and run codex login. |
| OpenCode | Install the opencode CLI and configure a provider with opencode auth login. |
Install GitBot, then start it from the folder that holds your projects:
npm install -g @gitbot-hq/gitbot
cd /path/to/your/projects
gitbot start
Open http://localhost:3000 on your computer. GitBot prints a network address and QR code if you want to connect from another device on the same trusted network. The workspace works best on desktop.
Before connecting another device: GitBot has no authentication. Anyone who can reach its port can use the agents running on your machine. Keep it on a trusted network and never expose the port to the public internet. Read the security notes.
Create your first bot
A bot is a reusable set of instructions for a coding agent. You decide what it does, which agent runs it, and what it may do without asking.
- In the Bots panel, select + and then Create manually.
- Give the bot a name and a short description so you can recognize it later.
- Choose an installed agent. Write the bot's standing job in Instructions.
- Leave Permissions on Ask before each tool for Claude Code or OpenCode. For Codex, Edit in the working directory allows edits inside the selected folder; choose Plan only for read-only exploration. Add Setup instructions only if the bot needs to check or prepare something once on this machine.
- Select Create bot. Open a new thread, choose the repo folder, and send your first message.
For a first bot, try instructions like these:
You review the current repository for documentation that no longer matches the code.
Start by identifying one concrete mismatch. Explain it, propose a small fix,
and ask before editing files.
The instructions give the bot its job. Your message gives it today's task. A thread keeps that work together, so you can come back to it later.
| Choose how to create | Define the bot | Start a thread |
|---|---|---|
![]() |
![]() |
![]() |
You can also choose Create with an agent and give an installed agent the guided authoring prompt, or Import bot if someone has shared a code with you. In both cases, review the bot's instructions and permissions before you let it work.
See a bot at work
Choose a repo when you start a thread. The bot runs its agent in that folder and streams the conversation back to GitBot. You can close the browser tab and return to a running turn.
With Claude Code or OpenCode, GitBot shows an approval card when a tool requires permission. Codex has no per-action approval channel, so its selected permission mode chooses a sandbox instead.

How GitBot works
GitBot is a local server between your browser and the coding agents already installed on your machine:
Browser -> GitBot on your machine -> Claude Code, Codex, or OpenCode
| |
+-- bots and threads +-- works in your repo
- Bots hold reusable instructions, an agent choice, permissions, and optional setup steps.
- Threads are conversations with a bot in a chosen folder. Each thread stays with the agent that ran its first turn.
- Setup steps run in their own thread when a bot first needs preparation on a machine. The bot is not ready for regular work until setup is complete.
- Your files stay on your machine. Your chosen coding agent may send prompts and code to its configured provider. GitBot itself does not host the agent or your conversations.
Share a bot, or submit one to Marketplace
Share with code copies the bot's settings and instructions so someone else can import it. It does not include chat history or local files. Check the instructions for private details before sharing.
Publish to Marketplace shows a prompt you can review and copy into a conversation with the bot. The bot can draft a public listing and prepare a pull request, but it must show you the listing and final diff and wait for your approval. Copying the prompt does not publish anything.
Prefer to submit a listing yourself? Open the GitBot Library publishing guide. Marketplace bots live under bots/<slug>/ in that repository and are reviewed through pull requests.
| Choose how to share | Share with code | Publish to Marketplace |
|---|---|---|
![]() |
![]() |
![]() |
Permissions and agent differences
Start with Ask before tools for Claude Code or OpenCode. For Codex, use Read-only when you do not want edits. Move to broader permissions only when you understand the bot's instructions and trust the repo it is working in. You can change a thread's permission mode from its chat bar. Codex and Plan changes apply from the next message; a broader Claude Code or OpenCode mode can also resolve approvals already waiting in the current reply.
| Claude Code | OpenCode | Codex | |
|---|---|---|---|
| Approval requests | When a tool requires it | When a tool requires it | No; the selected mode chooses a sandbox |
| Allowed or disallowed tool list | Yes | Yes | Not enforced |
| Resume threads and run setup steps | Yes | Yes | Yes |
| Model | Optional | Required as provider/model |
Optional |
An Allowed tools list limits which tools a bot can use; its permission mode decides when to ask. Codex cannot enforce that list, so choose Claude Code or OpenCode when a strict tool fence matters.
Security and privacy
Important: GitBot has no authentication and listens on all network interfaces. Anyone who can reach its port can run agents using your machine's access. Use a trusted network, do not expose the port to the internet, and stop GitBot when you are not using it.
Bots act with your user account's file and shell access. Auto-approval removes a chance to inspect individual tool calls. Imported bots may include setup instructions that run when imported, so read them and their permission mode first.
GitBot has no account, telemetry, or hosted database. Bots and thread records live under ~/.gitbot by default. Your chosen agent sends prompts and code according to its provider configuration. GitBot also looks up your public IP at startup to print its network address.
Useful commands
gitbot start # use port 3000
gitbot start -p 4000 # choose another port
gitbot start --caffeinate # keep a Mac awake during long jobs
The folder where you run gitbot start becomes the workspace shown first in the folder picker. A thread can still run in another folder you can read.
Need help?
| If you see... | Try this |
|---|---|
| An agent is missing from the menu | Install and sign in to its CLI, then restart GitBot. |
| Port 3000 is already in use | Run gitbot start -p 4000. |
| An imported bot needs an agent you don't have | Install that agent or change the bot's agent. |
| The web UI has not been built | If running from source, run npm run build. |
For implementation details, see the API reference, architecture notes, bot authoring prompt, and web UI guide.
Contribute
GitBot is open source. For more than a small fix, open an issue first. Keep the change focused, run the build and TypeScript checks, and describe the behavior you tested in your pull request.
License
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi





