agentsmesh
One config for every AI coding tool, plus lessons so your agents learn from their mistakes. Sync rules, skills, MCP servers and hooks to Claude Code, Cursor, Copilot, Codex and more.
Install / Use
npx skills add sampleXbro/agentsmeshInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of agentsmesh
agentsmesh scores 86/100 on our quality scale, 2312th of 4,621 Development & Engineering skills we index.
Its Other is 23 KB long, well organised into 23 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.
It has 26 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 4 days ago, so agentsmesh is actively maintained.
- Our last check on 2026-10-21 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). An AI review of the same text found nothing harmful.
- noteInstalls by piping a downloaded script into a shellline 42
curl -fsSL https://github.com/sampleXbro/agentsmesh/releases/latest/download/install.sh | sh
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
agentsmesh compared with similar skills
All 4 of these similar skills score higher than agentsmesh; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agentsmesh (this skill)by sampleXbro | 86 | 26 | 4d ago | Other |
| taste-skillby Leonxlnx | 100 | 109.4k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 108.4k | 2d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install agentsmesh?
- Run
npx skills add sampleXbro/agentsmesh. The install tabs above show the steps for each supported agent. - Which AI agents does agentsmesh work with?
- It is written for Claude Code, Gemini CLI, Cursor, GitHub Copilot, Windsurf and OpenAI Codex, as a Other file. Other agents that read the same format can often use it too.
- Is agentsmesh safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agentsmesh still maintained?
- The repository was last updated 4 days ago, so agentsmesh is actively maintained.
Skill content
View source on GitHubAgentsMesh
One config for every AI coding tool, with a shared memory that learns from your repo.
<img src="https://raw.githubusercontent.com/sampleXbro/agentsmesh/master/assets/agentsmesh-banner.jpeg" alt="AgentsMesh: one source, every AI coding tool, agents that learn" width="100%" /> </div>Every AI coding assistant reads its own config: CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, .github/copilot-instructions.md, .gemini/settings.json, and more. Keeping rules, prompts, MCP servers, hooks, and permissions the same across Claude Code, Cursor, GitHub Copilot, Gemini CLI, Codex CLI, and the rest by hand does not scale, and the copies drift.
AgentsMesh makes .agentsmesh/ the one source. Write rules, commands, agents, skills, MCP servers, hooks, ignore patterns, and permissions once. agentsmesh generate writes every tool's native files, agentsmesh import pulls existing configs back in without loss, and agentsmesh check fails CI when anything drifts.
Your agents learn from your repo. Lessons give every agent, in every tool, one git-tracked memory: capture a rule after a failure, recall it before the next edit. Same mistake, never twice. No other config-sync tool has this.
<div align="center"> <img src="https://raw.githubusercontent.com/sampleXbro/agentsmesh/master/assets/lessons-demo.gif" alt="an AI agent captures a lesson after a failure, then recalls it before editing the same file" width="100%" /> </div>[!NOTE] Full documentation, guides, and the per-tool reference: samplexbro.github.io/agentsmesh
Install
Every method ships the same CLI (agentsmesh, alias amsh). The npm package also exposes the TypeScript API.
# Homebrew (macOS / Linux), no Node.js required
brew install samplexbro/agentsmesh/agentsmesh
# Standalone binary (Linux / macOS), no Node.js required
# Windows: download agentsmesh-windows-x64.exe from GitHub Releases
curl -fsSL https://github.com/sampleXbro/agentsmesh/releases/latest/download/install.sh | sh
# npm / pnpm / yarn, requires Node.js 20+
npm install -g agentsmesh # or: pnpm add -g agentsmesh / yarn global add agentsmesh
npm install -D agentsmesh # pin per repo as a dev dependency, then run with npx
Binaries with SHA-256 checksums are on GitHub Releases.
60-second quickstart
agentsmesh init # detect the tools you use, import their configs, or scaffold fresh
agentsmesh generate # write each tool's native config from the one source
agentsmesh check # CI drift gate against .agentsmesh/.lock
On a terminal, init runs a short wizard: pick targets, import detected configs (.cursor/, .claude/, .github/copilot-instructions.md, and more), enable lessons, and optionally generate right away. Nothing is written until you finish. Use --yes for the non-interactive default, --global for your user-level config under ~/.agentsmesh/, and npx agentsmesh if you installed it as a dev dependency.
init enables the tools you actually use, not all of them: whatever this project already has config for, else whatever is installed on your machine, else a minimal set of Claude Code, Cursor and Copilot. It prints what it picked. Pass --targets a,b to choose, or --all-targets for everything.
[!TIP] Commit both
.agentsmesh/and the generated tool files, like a lockfile: the tools read the generated files directly, andagentsmesh checkkeeps the two from drifting.
Before / After
# Before: one copy of the same intent per tool
CLAUDE.md
AGENTS.md
.cursor/rules/*.mdc
.github/copilot-instructions.md
.gemini/settings.json
.windsurf/rules/*.md
.codex/config.toml
.kiro/steering/*.md
# After: one canonical source, generated everywhere
.agentsmesh/
rules/_root.md # the root rule every tool projects
commands/ # reusable slash-style prompts
agents/ # agent definitions
skills/ # composable skills with supporting files
mcp.json # MCP server definitions
hooks.yaml # pre/post tool hooks
permissions.yaml # allow/deny rules
ignore # paths the assistant must not touch
lessons/ # optional shared agent memory
agentsmesh.yaml selects targets and features, agentsmesh.local.yaml holds per-developer overrides (gitignored), and .agentsmesh/.lock records the checksums that check enforces. Cross-file links are rewritten to each tool's own paths on the way out.
Teach your agents: lessons
Lessons are a memory of past mistakes that every agent reads before it acts and writes after something goes wrong, so a lesson one agent learns today helps every teammate's agent tomorrow, in any tool.
The memory is one git-tracked file, .agentsmesh/lessons/lessons.json, driven by two commands:
# After a failure, the agent writes the rule down with a trigger:
agentsmesh lessons add "Normalize CLI display paths to forward slashes" \
--topic windows-paths --trigger-file "src/cli/**/*.ts"
# Before the next edit, any agent in any tool recalls it:
agentsmesh lessons query --file src/cli/output.ts --session auto
# -> "Normalize CLI display paths to forward slashes"
agentsmesh init --lessons wires the loop once: an always-on rule in _root.md, a lessons skill where supported, recall and capture hooks on hook-capable tools, and matching MCP tools (lessons_query, lessons_add) for agents without shell access. Rules can be scoped by file, command, or keyword, or always-on with --scope always.
Full walkthrough: Teach your AI agents with lessons · agentsmesh lessons reference
How AgentsMesh compares
Ruler and rulesync both cover the common ground well, and rulesync supports more tools than AgentsMesh does. What is left to differentiate is what survives translation: links rewritten per target, a round-trip that loses nothing, a lockfile-backed drift gate, new tools addable without a core release, and a memory that learns.
| Capability | AgentsMesh | Ruler | rulesync |
|---|:---:|:---:|:---:|
| Generate native config for many tools | ✅ | ✅ | ✅ |
| Tools supported (counted from source) | 33 | ~31 | ~50 |
| Import existing tool config back to source | ✅ | — | ✅ |
| Convert one tool's config directly to another | ✅ | — | ✅ |
| CI drift gate (non-zero exit on drift) | ✅ | partial | ✅ |
| Lint before a target silently drops content | ✅ | partial | partial |
| Self-serve MCP server (agent-operable config) | ✅ | — | ✅ |
| --json output + typed programmatic API | ✅ | — | ✅ |
| Lossless round-trip (re-import restores originals) | ✅ | — | partial |
| Cross-file links rewritten per target | ✅ | — | — |
| Lockfile-verified drift + git-merge recovery | ✅ | — | — |
| Target plugins: add a tool without a core release | ✅ | — | — |
| Lessons: a shared agent memory that learns | ✅ | — | — |
<sub>Verified against each project's source and docs on 2026-09-19. Tool counts are counted from source, not marketing claims, and differ by how variants are tallied. Two newer projects solve adjacent problems rather than this one: capa is a package manager and MCP gateway, and Sentry's dotagents manages skill and MCP dependencies without emitting instruction files. Detail and sources in the alternatives guide; corrections welcome.</sub>
Built to be depended on: 12,000+ tests on Linux, macOS, and Windows CI, JSON-Schema-validated configs, npm releases with provenance, and a per-file coverage floor in the test gate.
Highlights
- Lossless two-way sync. When a tool has no native slot for a feature, it is embedded with round-trip metadata instead of dropped. Managed embedding
- Automatic link rebasing.
.agentsmesh/skills/api-gen/template.hbsbecomes.claude/skills/...or.cursor/skills/...in each generated file. Generation pipeline - Safe adoption.
import, thendiff, thengenerate, thencheck; nothing is overwritten blind. When several tools have a root rule, they are merged into one_root.mdrather than the last one winning. Existing-project guide - Output directory safety.
generateandconvertreject output directories that resolve outside the project (or home directory with--global), checked before any write and under--dry-runtoo. Stale-file cleanup enforces the same boundary. - Safe updates. Explicitly empty Claude permission, hook, and MCP configurations clear their generated entries. MCP edits preserve untouched server fields and reject malformed files; skill updates validate supporting files before writing.
- Migrate between tools.
convert --from <a> --to <b>rewrites one tool's config directly into another's. convert - Global mode.
~/.agentsmesh/syncs personal config to~/.claude/,~/.cursor/,~/.codex/, and more; config commands accept--global. Global paths - CI-ready.
checkgates drift,diffpreviews,mergerebuilds the lock after a Git conflict, andlintwarns about content a tool would mishandle. check · lint - Community packs and
extends. Install rules, skills, agents, and commands from any git repo; hooks, permissions, and MCP from remote sources stay off until you opt in. install - Target plugins. Ship a new tool as an npm package with full parity to built-in targets. Build a plugin
- Schema-validated configs. Every config ships a JSON Schema for editor autocomplete. JSON schemas
- Scriptable. A typed API for
generate,import,lint,diff, andcheck,--jsonenvelopes on every command exceptwatch, and an MCP server so agents can operate the config themselves. [API](https://samplexbro.github.io/agentsmesh/reference/programmat
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
109.4kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
108.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
69.4kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
