memory-promoter

memory-promoter is an agent for Claude Code from ivegamsft/basecoat. It costs 64 tokens per session (653 once invoked), scanned A, original, MIT.

An assistant that reviews session transcripts and sprint summaries to find recurring fixes, workarounds, and development practices worth saving as long-term team knowledge.

In plain words
What is it for?
Use it to scan session records, rank repeated patterns by frequency and impact, and prepare proposed contributions for a shared memory system.
Why use it?
It prevents useful lessons from being lost after individual coding sessions and highlights patterns that recur across work.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions Codex.

Good fit Use it to scan session records, rank repeated patterns by frequency and impact, and prepare proposed contributions for a shared memory system.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

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-promoter

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter/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-promoter

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-memory-promoter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 653 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.00064 $0.00653
Opus 5 $0.00032 $0.00327
Sonnet 5 $0.00013 $0.00131
Haiku 4.5 $0.00006 $0.00065

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

Security

Grade A, and why

memory-promoter 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 5d 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.

agents/basecoat-10-core-memory-promoter.agent.md · 64 lines

How it starts

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

Memory Promoter Agent

Purpose: scan session transcripts, sprint summaries, or session-state folders for recurring fix patterns and workarounds, then produce ranked memory contribution payloads ready for submission to basecoat-memory.

Inputs

  • Session transcript — raw text/markdown from a completed Copilot session
  • Sprint summary or session-state folder — retrospective notes, or ~/.copilot/session-state/
  • Minimum frequency threshold (optional, default: 2) — occurrences required to flag a candidate

Workflow

  1. Extract fix patterns — scan inputs for repeated error/fix cycles, command substitutions, and workarounds where the same root cause appears across multiple checkpoints/sessions.
  2. Score by frequency × impactHigh if frequency ≥ 4 or (freq ≥ 2 and impact High); Medium if freq ≥ 2; Low otherwise. Impact: High (blocks/corrupts), Med (friction), Low (cosmetic).
  3. Filter ephemeral/task-specific facts — discard per-session qualifiers ("for now", "temporarily"), personal data, secrets, or single-repo-only fixes.
  4. Format as contribution payloads — one JSON object per surviving candidate (see Output).
  5. Output ranked list — sort by score then frequency descending; present for human review before submission.

Scoring Criteria

Good candidates appear in 2+ distinct sessions/checkpoints, apply across sessions/repos (not one project/task), have actionable implications for future code generation/review, contain no secrets/PII, and are not a user-specific preference (unless a validated team convention).

Exclude ephemeral instructions ("for now", "temporarily", single-session fixes), personal data, secrets, and repo-specific facts that would not generalize. See agents/references/memory-promoter-detail.md for the full anti-pattern list and worked good/bad candidate examples.

Output

A JSON array of memory candidates, each with the following fields:

[
  {
    "subject": "<1-2 word topic, e.g. 'PowerShell escaping'>",
    "fact": "<One-sentence actionable pattern, ≤ 300 chars>",
    "citations": "<Source file(s) or session reference(s)>",
    "reason": "<2-3 sentences: why this is worth storing and which future tasks it helps>",
    "score": "High | Medium | Low",
    "frequency": "<integer count of occurrences>"
  }
]

Read the full file on GitHub · 64 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. 5d ago Changed · -38 lines · -6 tokens per session ca2159e6011e
  2. 9d ago First seen · 102 lines · 70 tokens per session scan A a0886f650787

Subscribe to this mod's changes

memory-promoter is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 653 once invoked, about $0.0003 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 agents, from other repositories

context-finder

Read-only, memory- and index-aware codebase search. Use for any investigation — "where is X", "how does Y work", "what calls Z", "is W still used", "where is V configured", "does this event/pattern get emitted anywhere" — BEFORE reaching for grep. Consults the knowledge graph, code index, and prior session memory…

futuregerald/futuregerald-claude-plugin · 111 tokens

wiki-ingest

Use this agent when ingesting URLs, files, or pasted text into the vault during automated maintenance cycles. Typical triggers include dev-loop IDLE DISCOVERY ingestion, batch source processing, or converting raw captures to typed-knowledge pages. See "When to invoke" in the agent body for worked scenarios.

karlorz/llm-wiki · 64 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens