cm-extract-learnings

Extract project and session learnings into ranked memory patch proposals.

8|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Olatisunkanmi/claudefiles --skill cm-extract-learnings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cm-extract-learnings
Source: https://github.com/Olatisunkanmi/claudefiles/tree/main/skills/cm-extract-learnings
Command: npx skills add https://github.com/Olatisunkanmi/claudefiles --skill cm-extract-learnings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidates ad-hoc session notes and recurring signals into durable project memories so future sessions and teammates benefit from discovered patterns, gotchas, and configuration lessons without repeating work.

Core Features & Use Cases

  • Parallel discovery and audit: Runs a Signal Discoverer to find new learnings and a Memory Auditor to verify and deduplicate against existing memories.
  • Layered memory placement: Maps findings to the correct memory layer (global preferences, repo-level architecture, concise project memory, or long-form references) and enforces placement rules.
  • Structured consolidation workflow: Performs orientation (resolve paths, read MEMORY.md and CLAUDE.md, capture git log), parallel agent gathering, synthesis with ranked proposals, and gated execution with line-count and global-file warnings.
  • Use Case: Use when you want to "remember this" or run a "dream"/consolidation to prune outdated memories, promote recurring patterns, and keep the project memory under a practical size.

Quick Start

Tell the assistant to extract learnings from this project and propose memory additions, edits, or removals for consolidation.

Frequently Asked Questions about cm-extract-learnings

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

FAQPage Schema
How do I consolidate project memory and deduplicate session notes?

To consolidate project memory, this Skill extracts session learnings into structured candidates, runs parallel Memory Auditor and Signal Discoverer agents to detect signals, and deduplicates against existing memories to propose patch-style additions, edits, or removals for target memory layers.

What is the best way to capture project learnings from git history and CLAUDE.md files?

Capturing project learnings involves a structured workflow that reads CLAUDE.md and MEMORY.md files, captures git log history, and extracts discovered patterns or configuration gotchas into durable project memories for future sessions and teammates.

Can I use this to prune outdated memories and enforce content-quality rules?

Yes, you can run a consolidation to prune outdated memories, promote recurring patterns, and enforce content-quality rules using gated execution with line-count and global-file warnings to keep project memory under a practical size.

How does memory deduplication work when mapping findings to different memory layers?

Memory deduplication works by mapping findings to the correct memory layer—global preferences, repo-level architecture, concise project memory, or long-form references—and enforcing placement rules while ranking candidate additions, edits, or removals during synthesis.

Do I need existing MEMORY.md files to extract learnings into structured memory candidates?

You do not need existing MEMORY.md files to extract learnings. The Skill performs orientation to resolve paths, reads MEMORY.md and CLAUDE.md if available, and captures git log to generate patch-style proposals for target memory layers.