memory-promote

memory-promote is a skill for Claude Code from lttr/claude-marketplace. It costs 82 tokens per session (1,369 once invoked), scanned A, original, MIT.

A guide for reviewing this repository's automatic memory files and suggesting where each lasting note should live instead. Possible destinations include project instructions, a reusable skill, a settings hook, or a checked-in reference document.

In plain words
What is it for?
Use it when auditing, promoting, or cleaning up memories for the current repository, with a proposed persistent location for each memory.
Why use it?
It helps prevent useful project knowledge from remaining in temporary conversation memory that may be removed or overlooked later.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/alex/work/api.

Part of the cc plugin — 8 skills shipped together

Good fit Use it when auditing, promoting, or cleaning up memories for the current repository, with a proposed persistent location for each memory.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add lttr/claude-marketplace
Claude Code
/plugin install cc

Made for: Claude Code.

Or install cc, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-promote

README.md
[![agentmods](https://agentmods.dev/badge/skills/lttr/claude-marketplace/memory-promote/github.svg)](https://agentmods.dev/skills/lttr/claude-marketplace/memory-promote)
Your own site
<a href="https://agentmods.dev/skills/lttr/claude-marketplace/memory-promote"><img src="https://agentmods.dev/badge/skills/lttr/claude-marketplace/memory-promote/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-promote

Your own site · 80×15
<a href="https://agentmods.dev/skills/lttr/claude-marketplace/memory-promote"><img src="https://agentmods.dev/badge/skills/lttr/claude-marketplace/memory-promote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.01369
Opus 5 $0.00041 $0.00685
Sonnet 5 $0.00016 $0.00274
Haiku 4.5 $0.00008 $0.00137

Measured 11d ago against content hash 3ca853a6626a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

memory-promote scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cc/skills/memory-promote/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Memory Promote

Auto-memory under <config-dir>/projects/<encoded-cwd>/memory/ is per-conversation context, not durable config. Many memories belong in a more persistent layer where they apply consistently and survive memory pruning. This skill scans memories and proposes a target layer for each.

<config-dir> is $CLAUDE_CONFIG_DIR when set, otherwise ~/.claude. Resolve it once at the start and use it everywhere below.

Scope

The current repo. Memory dirs encode the absolute cwd with / replaced by -:

  • /home/alex/work/api<config-dir>/projects/-home-alex-work-api/memory/

Compute MEM_DIR="$CONFIG_DIR/projects/$(pwd | tr / -)/memory". If it doesn't exist, report "no memories for this repo" and stop.

If the user asks for something wider or narrower in their own words — another repo, every project, only the cross-cutting ones, just list them without suggestions — honor it using the same encoding. Don't invent flags for it; the report-then-confirm loop below already gives them control.

Steps

  1. List memories. find "$MEM_DIR" -type f -name '*.md' ! -name 'MEMORY.md'. For each file, read the frontmatter and body. Memory frontmatter looks like:

    ---
    name: coolify-deploy
    description: Deployment coordinates for the app
    metadata:
      node_type: memory
      type: project
      originSessionId: <uuid>
    ---
    

    The classification key is metadata.type (commonly user, project, feedback, reference). If it is absent, infer the type from the body.

  2. Classify each memory using the table below.

  3. Render report — one row per memory: file, type, current content (1-line summary), → suggested target, rationale, concrete action.

  4. Wait for user confirmation before changing anything — promotion is a judgment call, so confirm per-item even when the user asked to just apply everything.

  5. On confirm: perform the action (edit CLAUDE.md, invoke /cc:skill-creator, add the hook to settings.json, write a reference doc), then delete the memory file and its line in MEMORY.md.

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 88 lines · 82 tokens per session scan A 3ca853a6626a

Subscribe to this mod's changes

memory-promote is a skill published in the GitHub repository lttr/claude-marketplace (2 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 1,369 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Self-Improving + Proactive Agent

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when (1) a command, tool, API, or operation fails; (2) the user corrects you or rejects your work; (3) you realize your knowledge is outdated or incorrect; (4) you…

UnicomAI/wanwu · 105 tokens

ontology

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what…

UnicomAI/wanwu · 86 tokens

knowledge-spider

A local knowledge-base skill for saving, searching, deleting, and counting records such as preferences, facts, tasks, and other important information.

UnicomAI/wanwu · 0 tokens

knowledge

A local knowledge-base connector for searching documents and switching between local retrieval and AnythingLLM, a tool for chatting with documents.

UnicomAI/wanwu · 23 tokens

cdb-scan

Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map…

Avijit07x/claude-db · 72 tokens

forgetful-context-gather

Gather deep context before planning or implementing — one pass that turns a task description into a cited context pack: relevant decisions, patterns, constraints, code pointers, procedures, and explicit gaps. Runs recall from several angles, explores the graph around the strongest hits, and opens the linked material.

ScottRBK/forgetful · 63 tokens