Tjabooo

Agent Mesh — Git skill for Claude Code

Git community

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 --background at the start of every session and after every reply.
  • Codex: its after-turn notify command runs a sync, then whatever notify command you had before.
  • A 10-minute timer (agent-mesh timer) for changes made outside the agen