Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

ccmem-promote

verified

Interactive review and promotion of high-confidence memories to CLAUDE.md

View on GitHub

Marketplace

cc-ecosystem

gaodes/cc-ecosystem

Plugin

ccmem

memory

Repository

gaodes/cc-ecosystem

plugins/ccmem/skills/ccmem-promote/SKILL.md

Last Verified

February 3, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/gaodes/cc-ecosystem/blob/main/plugins/ccmem/skills/ccmem-promote/SKILL.md -a claude-code --skill ccmem-promote

Installation paths:

Claude
.claude/skills/ccmem-promote/
Powered by add-skill CLI

Instructions

# /ccmem-promote

Review and promote high-confidence memories to your CLAUDE.md file.

## Usage

```
/ccmem-promote
/ccmem-promote --dry-run
```

## Options

- `--dry-run` — Preview candidates without making changes

## Execution Steps

1. Run `ccmem promote --dry-run` to get promotion candidates
2. If no candidates: "No memories ready for promotion (need confidence >= 0.8)"
3. For each candidate, present an interactive review:

### Interactive Review Flow

For each candidate memory:

**Display:**
```
Candidate 1 of 3
================

Title: Prefer pnpm over npm
Type: preference
Confidence: 0.85

Description:
  User consistently chooses pnpm for package management.

Action:
  Suggest pnpm commands instead of npm.

Evidence:
  - Used pnpm 12 times
  - Corrected npm to pnpm 3 times
  - Positive feedback: 2

---
Promote to CLAUDE.md?
  yes  — Add to CLAUDE.md preferences
  no   — Archive this memory
  skip — Leave as-is, continue
  stop — Exit review
```

**Process response:**
- `yes`: Run `ccmem promote` for this memory, continue to next
- `no`: Archive the memory, continue to next
- `skip`: Leave unchanged, continue to next
- `stop`: Exit the review loop

4. After all candidates (or stop):
```
Promotion Summary
=================
Promoted: 2
Archived: 1
Skipped: 0

Your CLAUDE.md has been updated with 2 new preferences.
```

## What Gets Promoted

Memories are formatted and added to the appropriate section in CLAUDE.md:
- Preferences go under `## Preferences`
- Workflows go under `## Workflows`
- Patterns are described in relevant sections

## CLI Commands

```bash
# Preview candidates
ccmem promote --dry-run

# Execute promotion (usually interactive)
ccmem promote
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1652 chars