{
  "markdown": "<div align=\"center\">\n\n# 🚢 autogit\n\n### Your AI coding agent writes the code — autogit ships it\n\n**When your agent finishes a turn, autogit stages, scans, commits, and pushes. Automatically. Claude Code, Codex, Cursor, and Pi.**\n\n[![CI](https://github.com/mjenkinsx9/autogit/actions/workflows/ci.yml/badge.svg)](https://github.com/mjenkinsx9/autogit/actions/workflows/ci.yml)\n![Node](https://img.shields.io/badge/node-%E2%89%A518-339933?logo=nodedotjs&logoColor=white)\n![Dependencies](https://img.shields.io/badge/dependencies-zero-blue)\n![Tests](https://img.shields.io/badge/tests-83_passing-brightgreen)\n![Agents](https://img.shields.io/badge/agents-Claude_Code_%7C_Codex_%7C_Cursor_%7C_Pi-d97757)\n![Platform](https://img.shields.io/badge/platform-macos%20%7C%20linux-lightgrey)\n[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)\n\n</div>\n\n---\n\nautogit wires itself into your agents' lifecycle hooks once, per machine. After that, every agent turn in an opted-in repo ends with **stage → secrets scan → commit → push** — and `git log` reads like the instructions you gave your agent, because the turn's prompt becomes the commit subject.\n\n> **Credit:** autogit began as [davidondrej/autogit](https://github.com/davidondrej/autogit) by David Ondrej — all credit to him for the idea and the original MVP. This repo is a heavily reworked fork (v0.5.0): per-clone config that can't leak to teammates, fail-closed safety, quiet batching, PR mode, and a full test suite.\n\n## ✨ What's inside\n\n| | Feature | What it does |\n|---|---|---|\n| 🚢 | **Auto-ship** | Every agent turn ends with stage → scan → commit → push — zero ceremony |\n| ✉️ | **Prompts as commit messages** | The subject is what you asked your agent to do; \"yes\"-type replies and slash commands never make it in |\n| 🔐 | **Secrets gate** | Pattern scan over the staged diff blocks the push and unstages — fail-closed |\n| ↩️ | **One-command undo** | `autogit undo` rewinds the remote *and* the local commit, leaving your changes back in the working tree |\n| ⏱️ | **Quiet batching** | `\"quiet\": \"5m\"` accumulates turns and ships one commit after the repo goes quiet |\n| 🔀 | **PR mode** | `\"pr\": true` pushes to `autogit/<branch>` and auto-opens a pull request via `gh` |\n| 🤝 | **Parallel-agent aware** | Busy markers make simultaneous agents take turns; worktrees stay fully isolated |\n| 🛡️ | **Fail-safe by design** | Hooks never disturb the agent; failed pushes are remembered and retried; merge/rebase states are never touched |\n\n## 🚀 Quick start\n\n### Claude Code — install as a plugin (recommended)\n\n```\n/plugin marketplace add mjenkinsx9/mjenkins-toolbox\n/plugin install autogit@mjenkins-toolbox\n```\n\nThe plugin wires the hooks automatically — no `autogit setup`, no edits to `~/.claude/settings.json`, and disabling the plugin unwires everything. Then opt in per repo:\n\n```\n/autogit on\n```\n\n(`/autogit status`, `/autogit undo`, `/autogit off`, `/autogit flush`, and `/autogit dry-run` are also available.) Requires `node` on PATH — without it the hooks silently no-op.\n\n### Any agent — install the CLI\n\n```bash\ngit clone https://github.com/mjenkinsx9/autogit && cd autogit && npm link\nautogit setup\ncd your-project && autogit on\n```\n\n`setup` wires the lifecycle hooks for every agent it finds — Claude Code, Codex, Cursor, and Pi. Every agent turn in an opted-in repo now ships. Repos without `autogit on` are never touched.\n\nmacOS and Linux. Windows is unsupported — the hook commands are POSIX shell. Full install paths, the double-wiring guard, and per-agent notes are in [docs/02-installation.md](docs/02-installation.md).\n\n## 📚 Documentation\n\nFull guides, configuration, and internals live in [`docs/`](docs/README.md).\n\n| Doc | Description |\n| --- | --- |\n| [Overview](docs/01-overview.md) | What autogit is, the feature set, and platform support |\n| [Installation & Quick Start](docs/02-installation.md) | Install as a plugin or the CLI, opt in per repo, supported agents |\n| [Commands](docs/03-commands.md) | Every command, `ship` flags, commit-message rules, and undo |\n| [Batching & PR Mode](docs/04-batching-and-pr-mode.md) | Quiet batching (`quiet`) and PR mode (`pr`) |\n| [Configuration](docs/05-configuration.md) | `autogit.json` keys and defaults |\n| [Safety](docs/06-safety.md) | Opt-in model, secrets scan, undo, merge/rebase guard |\n| [Install Across Harnesses](docs/07-harness-install.md) | Per-harness plugin manifests and auto-ship hooks |\n| [Internals](docs/08-internals.md) | Design, how `ship`/`undo`/batching work, busy markers, fail-safes |\n\nFull documentation map: [docs/README.md](docs/README.md)\n\n## 📄 License\n\n[MIT](LICENSE) — original work © David Ondrej, modifications © Mike Jenkins.\n",
  "bytes": 4714,
  "sha": "882543fb02b295d06b940302960a1652418e5ce84a4c32a0f8e9349de6b5d683",
  "repo_slug": "crashcartlabs/autogit",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_crashcartlabs_autogit_d8846fcf/readme"
}