Gitmachine — AI skill for Claude Code
Git-aware sandboxed VM orchestration for AI agents.
How to install Gitmachine
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open open-gitagent/gitmachine and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gitmachine does
Git-aware sandboxed VM orchestration for AI agents.
Alternatives in AI
- Claude Flow — An enterprise-grade AI orchestration platform that revolutionizes how developers build with AI 22.2k ★
- Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
- Orchestration Skills — Multi-agent orchestration patterns 5.3k ★
README
GitMachine
A TypeScript package for running git-aware sandboxed virtual machines. Clone a repo into an isolated VM, run commands, and auto-commit results back — with branch-based session persistence.
GitMachine is the infrastructure layer for [GitAgent](https://github.com/open-gitagent/gitagent). It handles VM lifecycle + git operations so agent orchestration layers can focus on what matters.
Install
npm install gitmachine
# or
bun add gitmachine
Quick Start
import { GitMachine, E2BMachine } from "gitmachine";
const machine = new E2BMachine({ apiKey: "e2b_..." });
const gm = new GitMachine({
machine,
repository: "https://github.com/user/my-agent.git",
token: "ghp_...",
session: "feature-work",
autoCommit: true,
env: { ANTHROPIC_API_KEY: "sk-..." },
onStart: async (gm) => {
await gm.run("npm install -g @anthropic-ai/claude-code");
},
onEvent: (event, data) => console.log(`[${event}]`, data),
});
await gm.start(); // VM up → repo cloned → branch checked out → onStart runs
const result = await gm.run("claude -p 'review this code' --print");
console.log(result.stdout);
await gm.pause(); // auto-commits → VM paused
// ... later ...
await gm.resume(); // VM comes back, repo state intact
await gm.run("claude -p 'continue the review' --print");
await gm.stop(); // auto-commits → pushes → VM torn down
Architecture
┌─────────────────────────────────────────┐
│ GitMachine │
│ git clone / commit / push / sessions │
│ auto-commit on pause/stop │
├─────────────────────────────────────────┤
│ Machine (ABC) │
│ start / pause / resume / stop │
│ execute / readFile / writeFile │
├─────────────────────────────────────────┤
│ E2BMachine │
│ E2B Sandbox SDK wrapper │
│ Full API access via getSandbox() │
└─────────────────────────────────────────┘
**Mac
Related Skills
Ghostbox
Distributed AI agent orchestration - self-evolving ghosts in sandboxed containers
Apronagents
Multi-agent AI coding with a human merge gate — sandboxed git for agents, small reviewed diffs, your call on e
Aeroric
A desktop task manager for AI coding agents like Claude Code and Codex, with multi-project workspaces, live te
Termpro
Terminal-first workbench for running many AI coding agents in parallel — agent-agnostic. Multi-workspace, para
DotPilot
Local-first desktop control plane for AI agents: embedded Orleans host inside the Uno app, Microsoft Agent Fra
Pixcode
Self-hosted AI coding agent control plane — Claude Code, Codex, Gemini CLI, Cursor, Qwen & OpenCode in one wor
Related Agents
Tsk - AI Agent Task Manager And Sandbox
by dtormoen - A Rust CLI tool that lets you delegate development tasks to AI agents running in sandboxed Docke
Git Pull
Safely pull updates (fork/upstream aware), stash-first, resolve conflicts via memory-bank context, no auto-sta
Unity Git Master
Unity-aware git operations — LFS configuration, merge strategies for binary assets, .meta file hygiene, branch