Remote script. Imported bots may include setup instructions that run when imported, so read them and the permission mode before importing.
Who it is forA team lead who has tuned a bot on one machine and wants a teammate to use the same setup on theirs.
The problemRebuilding a working bot's instructions and permissions by hand on another machine is slow and error prone.
The outcomeA teammate who imports the bot and gets the same instructions and permissions, without chat history or local files.
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
- Open the bot you want to share in the Bots panel.
- Select Share with code and send the code to your teammate.
- Ask your teammate to select Import bot in Git Bot and paste the code.
- Have your teammate read the instructions and permissions, and read any setup instructions, before running the bot.
- Have your teammate confirm the agent in the bot is installed and signed in on their machine.
Prompt for your agent
Using the gitbot-hq/GitBot package, export <bot name> with Share with code and import it on a second machine with Import bot. Expected output: an imported bot with the same instructions and permissions and no chat history. Verify that the agent named in the bot is installed on the second machine before the first thread runs.
Caveat. Share with code leaves out chat history and local files, but the instructions may still contain private details, so check them before sending.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for gitbot-hq/GitBot and "Share a tested bot with a teammate by code"
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