markdown-memory

Store and organize persistent decisions, insights, and session context in a code repository.

1|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/EmmittJ/guild --skill markdown-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markdown-memory
Source: https://github.com/EmmittJ/guild/tree/main/plugin/skills/setup/assets/skills/markdown-memory
Command: npx skills add https://github.com/EmmittJ/guild --skill markdown-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent memory for this repo's AI team. Stores decisions (why we chose X), insights (what's known about the codebase), and context (what's in flight right now). Activate when: decision create; decision read; insight create; insight read; context update; context read. DO NOT USE FOR: async agent-to-agent messages; use message create. Issues: use issue create, issue update, or issue read.

Core Features & Use Cases

  • Memory root layout with context/, decisions/, insights/
  • Append-only decisions and _summary.md distillation
  • Per-domain and per-agent insights for collaborative knowledge sharing
  • Memory-driven orchestration across sessions and tasks

Quick Start

Start a session and begin writing decisions, insights, and context to the memory root.

Frequently Asked Questions about markdown-memory

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

FAQPage Schema
How do I persist AI decisions and context across sessions in a code repository?

You can persist AI decisions and context across sessions by writing them into a structured memory root with context, decisions, and insights directories. This enforces append-only decision files and frontmatter metadata so agents retrieve prior session knowledge.

What's the best way to organize persistent AI memory inside a repo?

Organizing persistent AI memory inside a repo involves creating a memory root layout with dedicated directories for decisions, insights, and context. Per-domain and per-agent insights enable collaborative knowledge sharing across tasks.

Do I need frontmatter metadata to manage a rolling decisions log for AI agents?

Frontmatter metadata is required to drive tooling for a rolling decisions log. It structures append-only decision files so AI agents can read and apply prior decisions across sessions and tasks.

Can I use repository memory for async agent-to-agent messaging?

Repository memory should not be used for async agent-to-agent messaging. It is designed to store decisions, insights, and session context, while asynchronous messaging between agents requires a separate message creation mechanism.

How does per-domain insight sharing work for AI teams in a repository?

Per-domain insight sharing works by storing known codebase information into domain-specific files within the insights directory. This allows multiple agents to access and apply shared knowledge across different tasks and sessions.

When should I distill accumulated decisions into a summary file?

Accumulated decisions should be distilled into a summary file to maintain readability as the append-only decisions log grows. This distillation process condenses past decisions into a concise overview while preserving the original entries.