core-promote-learnings

Scan project contexts and promote recurring learnings to a global memory file.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/AirMile/claude-config --skill core-promote-learnings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-promote-learnings
Source: https://github.com/AirMile/claude-config/tree/main/skills/core-promote-learnings
Command: npx skills add https://github.com/AirMile/claude-config --skill core-promote-learnings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This knowledge-management skill scans multiple projects to identify recurring learnings and promotes duplicates to a global memory file, enabling cross-project pattern sharing.

Core Features & Use Cases

  • Scan all projects for learnings that recur across repositories and aggregate them by type (pattern, pitfall, observation).
  • Cluster similar learnings using Jaccard similarity on tokenized summaries and promote groups that appear in three or more projects.
  • Append promoted items to the global memory at ~/.claude/memory/MEMORY.md, while preserving per-project contexts and avoiding duplicates by consulting existing memory.
  • Read existing memory to prevent re-promoting already promoted items and provide a shared reference for architectural decisions.

Quick Start

Trigger the workflow with /core-promote-learnings to scan projects and promote cross-project learnings.

Frequently Asked Questions about core-promote-learnings

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

FAQPage Schema
How do I share recurring learnings across multiple projects to build a global memory file?

Cross-project learnings are shared by scanning project contexts and promoting recurring entries to a global memory file. A skill identifies summaries appearing in at least three projects and appends them to ~/.claude/memory/MEMORY.md, creating a centralized repository of patterns and pitfalls.

How does Jaccard similarity work for clustering project learnings?

Jaccard similarity clusters project learnings by computing token overlap on learned summaries. This mathematical measurement identifies recurring patterns across repositories by comparing tokenized text, ensuring only genuinely similar observations are grouped together for promotion to global memory.

What is the best way to prevent duplicate entries when promoting cross-project patterns to memory?

To prevent duplicate entries when promoting patterns, the system reads existing memory at ~/.claude/memory/MEMORY.md before writing. It consults the current global memory file to verify that matching observations have not already been promoted, avoiding redundant additions while preserving per-project data.

Can I aggregate cross-project learnings without altering individual project memory files?

Yes, you can aggregate cross-project learnings without altering individual project files. The promotion process scans project contexts to find shared patterns and writes exclusively to the global ~/.claude/memory/MEMORY.md, leaving all per-project data completely untouched and preserving local contexts.

How do I automatically scan project contexts for recurring pitfalls and observations?

Automatically scanning project contexts for recurring pitfalls and observations requires running a cross-project analysis workflow. The process scans all projects, aggregates learnings by type, and clusters similar items using similarity metrics, promoting groups that appear in three or more projects.

When do I need a centralized memory file for architectural decisions?

A centralized memory file for architectural decisions is needed when you want to share recurring patterns and pitfalls across multiple repositories. It provides a shared reference built from promoted cross-project learnings, ensuring consistent architectural decisions informed by historical observations.