cm

Creates persistent cross-agent memory from scattered coding sessions with episodic, working and procedural layers.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Dunc4nJ/agent-skills --skill cm-dunc4nj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cm
Source: https://github.com/Dunc4nJ/agent-skills/tree/main/skills/cm
Command: npx skills add https://github.com/Dunc4nJ/agent-skills --skill cm-dunc4nj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CM transforms scattered coding sessions into a persistent, cross-agent memory so knowledge isn't lost between runs and agents can benefit from shared learnings.

Core Features & Use Cases

  • Cross-agent pattern sharing: discovered strategies and rules propagate to all agents working on similar tasks.
  • Three-layer cognitive architecture: episodic memory, working memory, and procedural memory with confidence tracking and decay.
  • Safe collaboration: trauma guard and safety rails prevent unsafe guidance across agents.

Quick Start

Run cm context "implement memory-safe coding" --json to load relevant rules, history, and suggested queries.

Frequently Asked Questions about cm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I share context and memory across multiple AI coding agents?

To share context across multiple AI coding agents, you need a cross-agent memory system that harmonizes scattered sessions into a persistent knowledge base. This enables discovered patterns and rules to propagate across all agents working on similar tasks.

What is the best way to prevent AI coding agents from repeating fixed mistakes?

The best way to prevent repeating mistakes is using a cross-agent memory with procedural memory and safety guardrails. A trauma guard captures past failures, applying confidence decay so outdated or unsafe guidance does not propagate to future agent sessions.

How does a three-layer cognitive memory architecture work for coding agents?

A three-layer cognitive memory architecture works by categorizing agent knowledge into episodic, working, and procedural memory. This structure tracks confidence levels and applies decay over time, ensuring agents retrieve relevant context and rules efficiently during coding tasks.

Can I load relevant history and rules for an AI coding task using a context playbook?

Yes, you can load relevant history and rules for an AI coding task by running a context command with a natural language query. This action retrieves applicable patterns, historical session data, and suggested follow-up queries to guide the agent.

Does cross-agent memory require specific dependencies to maintain persistent context?

No, cross-agent memory operates without external dependencies to maintain persistent context. It functions as a standalone architecture that manages episodic, working, and procedural memory layers with built-in confidence tracking and safety guardrails.

Why does my AI coding agent lose context between different sessions?

AI coding agents lose context between sessions because they lack a persistent cross-agent memory to harmonize scattered sessions. Without a shared memory architecture, discovered strategies and working context are not retained or propagated to future runs.