Agent Mesh — Git skill for Claude Code
One brain for Claude Code and Codex across all your machines: shared AGENTS.md, memory and settings through a git repo you own.
How to install Agent Mesh
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Tjabooo/agent-mesh and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Mesh does
One brain for Claude Code and Codex across all your machines: shared AGENTS.md, memory and settings through a git repo you own.
Alternatives in Git
- My Claude Code Setup — GitHub Repo stars Shared starter template configuration and CLAUDE.md memory bank system Setup template 2.1k ★
- Memorix — Open-source cross-agent memory layer for coding agents via MCP 392 ★
- Diri — Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel ac 272 ★
README
agent-mesh
One brain for your coding agents across all your machines. **Claude Code** and **Codex** get the same instructions, the same memory and the same settings on every computer. A memory saved on your laptop is there when you continue on your desktop, and so is a rule you gave Codex when Claude Code picks up the work.
It's a small Python script (standard library only) and a git repo you own: the **mesh**. Each machine keeps a clone in `~/.agent-mesh`, and syncs through any git remote: a private GitHub repo, or a bare repo on one of your machines.
| In the mesh | How each machine uses it |
|---|---|
AGENTS.md |
Every agent's instructions. Claude Code imports it (~/.claude/CLAUDE.md starts with @~/.agent-mesh/AGENTS.md; anything below stays local to that machine). Codex gets a copy as ~/.codex/AGENTS.md, with all the shared memory written out, because it can't load memory on demand. |
memory/ |
The one memory. Every Claude Code project's memory folder (~/.claude/projects/*/memory) becomes a link to it (a junction on Windows). MEMORY.md is the index. Tell Codex in AGENTS.md to save memories here too. |
claude/settings.json |
Claude Code settings every machine shares (theme, model effort, auto-compact, permission deny/ask rules). These sync both ways with ~/.claude/settings.json: change one anywhere and it changes everywhere. Hooks, the permission mode and the allow list stay per machine. |
codex/config.toml |
Top-level Codex settings to share (model, model_reasoning_effort). |
bin/agent-mesh |
The tool itself, so a new machine needs only one clone. |
Logins, chat history, caches and plugins are never shared.
When it syncs
- Claude Code: hooks run
agent-mesh sync --backgroundat the start of every session and after every reply. - Codex: its after-turn
notifycommand runs a sync, then whatever notify command you had before. - A 10-minute timer (
agent-mesh timer) for changes made outside the agen
Related Skills
Cclayer
Sync Claude Code config across machines: CLAUDE.md, skills, hooks, settings.json, plugins and MCP servers. Lay
Crossboarding Handoff
Hand off coding work across machines and agents (Claude Code, Codex, agy) via git
Teskad
Your team of coding agents (Claude Code and Codex) in one native Rust window: a shared board and memory over M
CoProgrammer
Multi-agent coding coordination: shared tasks, conflict checks and handoffs across Git worktrees. MCP and Skil
Herdr Mission Control
Herdr layouts + mods for running many coding agents across repos and machines: Spaces/Agents rail with context
Harnessmesh
Persistent multi-agent collaboration fabric for agentic coding harnesses. Connect Antigravity, OpenAI Codex, C
Related Agents
Brain Merge
Semantically merge brain knowledge from multiple Claude Code machines. Use when brain-sync or brain-join detec
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de
Brainstem Copilot.Agent
One native Copilot chat with both Brainstem and Brain Surgeon. Address either by name to use capabilities or t