---
title: "agentsmesh-lessons"
description: "A git-tracked memory for this repo: Claude recalls the rule before it edits a file or runs a command, and captures one after a failure. Reviewable in a pull request, shared with the team, and portable to every other AI c"
canonical: https://agentpluginsdirectory.com/plugins/agentsmesh-lessons
last-updated: 2026-09-28
---

# agentsmesh-lessons
A git-tracked memory for this repo: Claude recalls the rule before it edits a file or runs a command, and captures one after a failure. Reviewable in a pull request, shared with the team, and portable to every other AI coding tool.
- Slug: agentsmesh-lessons
- Publisher: sampleXbro
- Repository: https://github.com/sampleXbro/agentsmesh
- Manifest: plugins/agentsmesh-lessons/plugin.json
- Version: 0.42.0
- License: MIT
- Category (editorial): other
- Skills: 1 (lessons)
- MCP servers: 1 (agentsmesh)
- Stars: 24
- Repository created: 2026-03-25
- Repository last pushed: 2026-09-25
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/agentsmesh-lessons
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What agentsmesh-lessons does, in the publisher's words

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.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/sampleXbro/agentsmesh/HEAD/README.md

## Skills

- lessons: Use when about to edit a file or run a state-changing command, or after any failure, correction, or surprising result.

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- agentsmesh: transport: stdio; command: npx -y agentsmesh@latest mcp

Read from the plugin's own mcp.json. Environment variable names only, never values.
