# ShareMemory

> Shared project memory and handoffs for Claude Code and Codex, stored in your repository.

ShareMemory is a paid AI agent skill on Agensi by YC, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $4 (one-time purchase)
- Creator: [YC](https://www.agensi.io/creators/ycl-2004)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sharememory
- Tags: ai-agents, automation, productivity, claude-code, codex, context-management, collaboration, shared-memory

## About this skill

ShareMemory gives Claude Code and Codex one shared, project-local memory folder. Keep decisions, active tasks and handoff notes in plain Markdown so the next coding session can pick up the work.

### What you get
- One AI_MEMORY/ folder per project with project context, decisions, tasks, learnings and a daily handoff log.
- Shared startup instructions in AGENTS.md and CLAUDE.md, plus a MEMORY_PROTOCOL.md that describes how to read and update memory.
- Two Bash helpers: an advisory write lock with stale-lock recovery, and a linter for memory structure, size limits and basic secret-pattern checks.
- Instructions for initializing, updating, checking, consolidating, repairing and migrating project memory.

### Getting started
1. Install the complete skill folder in the project where you want shared memory. For Claude Code and Codex together, use one canonical skill copy and the documented symlink layout.
2. Ask your coding agent to "init memory". Choose the memory language and whether to enable Git history recovery.
3. Open the same project directory with the other agent. Ask for "memory status" to inspect the shared state.
4. Use "update memory" to record a handoff or refresh the current project context.

### Designed for local coding workflows
Both agents need access to the same project files. The workflow requires local file read/write access, Bash and standard shell utilities. It does not require a hosted memory service, database or API keys.

The lock is advisory: it helps agents that follow the protocol coordinate their writes. It cannot stop an agent that ignores the rules or make simultaneous editing universally safe. ShareMemory is project-scoped and does not provide cross-project memory or built-in remote synchronization.

### Included buyer guide
The package includes BUYER_GUIDE.md with setup, daily usage, troubleshooting and license information. Detailed operation steps are in references/operations.md, supplied with the skill.

### Verification
The v1.3 package passed 21 existing acceptance checks and 20 package/local-fixture checks. The fixture covered initialization, shared file paths, handoffs and lock behavior. These checks did not run two live AI agents or validate Agensi connector delivery.

## Requires

- Claude Code or Codex
- Bash
- Standard shell utilities
- Optional: Git

The utilities are grep, awk, date, sort, uniq and wc. Git is only for optional history recovery.

## Known limitations

Project-scoped, local file memory; no built-in cross-project or remote synchronization. Agents must follow the protocol: write locks are advisory, and the linter cannot guarantee memory accuracy or detect every secret. Bash and project read/write access are required. Current checks cover templates, files and locks, not two live model sessions or Agensi connector delivery.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ShareMemory skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does ShareMemory share context between agents?

Both coding agents read and update the same project-local AI_MEMORY/ Markdown files. The protocol organizes context, decisions, tasks, learnings and handoffs. Advisory locks help cooperating agents coordinate writes; they do not enforce compliance or guarantee conflict-free parallel editing.

### Which agents can use ShareMemory?

The installation and boot instructions target Claude Code and Codex with local file read/write access and Bash. Both must open the same project directory. Other agents may need adaptation; chat-only agents without local tools cannot run the full workflow.

### Does ShareMemory upload my project memory to a cloud service?

The memory workflow stores Markdown in your local project and does not require a hosted memory service, database or API keys. Your coding agent may send files it reads to its model provider under that provider's own settings and terms.

### What is included in the package?

The package contains SKILL.md, BUYER_GUIDE.md, the included license, the operations reference, blank memory templates, project boot/protocol templates, and the two Bash helpers for memory linting and write locks. It does not include the maintainer's actual project memory.

### How do I get started?

Use BUYER_GUIDE.md from the delivered package to make the complete skill available to your coding agent. Open your target project and ask 'init memory'. Choose the memory language and Git recovery preference, then open the same project with the second agent and ask 'memory status'.

### Can ShareMemory sync separate projects or computers?

ShareMemory is scoped to one project directory and does not include remote synchronization or cross-project memory. Both agents need access to the same project files. Git recovery is optional and is enabled only with user consent.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
