Crannog — Git skill for Claude Code
Let coding agents work autonomously in sandboxes on macOS.
How to install Crannog
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hettiger/crannog and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Crannog does
Let coding agents work autonomously in sandboxes on macOS. Each crannog is its own VM via Apple Containers, reachable only through causeways you control: git remotes for code, an allowlisting proxy for the network, optional mounts. Claude Code, Codex, OpenCode and Pi built in.
Alternatives in Git
- Container Use — by dagger - Development environments for coding agents 3.6k ★
- Diri — Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel ac 272 ★
- Canopy — Ship faster with parallel Claude Code sessions — one native macOS window, git worktrees, sandboxes, auto-resum 107 ★
README
crannog
crannog lets coding agents work autonomously in sandboxes.
Like its namesake, an island dwelling in a lake, a crannog is isolated from its surroundings. Each crannog runs in its own lightweight VM. The only ways in and out are causeways you control:
- git: code enters through plain git remotes, and the agent's commits come back the same way. Nothing else of your repository or your machine is inside.
- a network proxy: the crannog reaches only the domains you allow,
plus services on your Mac that listen on all interfaces (
0.0.0.0). - mounts, optionally, for what you decide to share.
- SSH, optionally, for editors and other tools on your Mac.
Claude Code, Codex, OpenCode and Pi come preinstalled, share their logins across crannogs and can call each other. They run without permission prompts: the crannog is the security boundary.
**Status:** proof of concept. Expect rough edges and breaking changes.
Requirements
- macOS 26 or later on Apple Silicon
- Apple Containers (
containerCLI,container system starthas run once) - git
Installation
Requires [Go](https://go.dev/dl/).
curl -fsSL https://raw.githubusercontent.com/hettiger/crannog/main/install.sh | bash
This installs `crannog` and the git remote helper `git-remote-crannog` with `go install` and links both into `/usr/local/bin`, so that git clients that do not load your shell's `PATH`, such as GUI apps, find the helper, and installs the man page (`man crannog`). If `/usr/local/bin` or the man directory is not writable for you, it asks to use `sudo`, or prints the commands. It also adds one item, "crannog keychain", to your login keychain: the password of crannog's own keychain for secrets. Run it again to update. From a checkout, `make install` does the same with the checkout's code, and `make build` builds both binaries into `dist/`.
For a shorter name, add `alias cg=crannog` to your `~/.zshrc`; completion work
Related Skills
Dogcodes
One workspace for your coding agents. Seamlessly hand off work between agents, let them review and fix each ot
Hive Containers
Hierarchical Claude Code containers with one curated egress bridge: a root control plane, a sealed node tree,
Claude Amit Mizrachi
Claude Code skills for unattended work: hand a session off (next-prompt), take a feature through the night as
Seahelm
A native macOS workspace for coding agents — every git worktree a row on one roster, one agent to a split pane
Herdr Fold
Claude Code and Codex workspaces in herdr and Ghostty, on an Apple silicon Mac or on Linux, macOS and Windows
Agent Task
Self-hosted platform for running coding agents (Claude Code, Pi) in isolated containers. One task = one branch
Related Agents
Claude Code Leaks
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you co
Apple Platform Engineer
Use when implementing or reviewing macOS, iOS, watchOS, or tvOS code. Covers Swift/Objective-C, SwiftUI, AppKi
iOS Developer.Agent
Expert iOS/macOS developer specializing in Swift, SwiftUI, and the Apple toolchain. Use when: (1) Building Swi