memory-loop

memory-loop is a plugin for Claude Code from choiyounggi/groundwork. Its manifest loads nothing; the 5 skills it bundles cost 302 tokens per session together, scanned A, original, MIT.

A local memory lifecycle for Claude Code's file-based notes. It controls saving, expiry, archiving, consolidation, learning reviews, habits, and optional user and assistant names.

In plain words
What is it for?
Use it to manage short- and long-term memories, archive expired notes, review lessons, maintain habits, and configure identity information.
Why use it?
It helps keep stored context accurate and manageable over time instead of allowing notes to accumulate unchecked.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions Claude Code.

Good fit Use it to manage short- and long-term memories, archive expired notes, review lessons, maintain habits, and configure identity information.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add choiyounggi/groundwork
/plugin install memory-loop
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/choiyounggi/groundwork

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

README.md
[![agentmods](https://agentmods.dev/badge/plugins/choiyounggi/groundwork/memory-loop/github.svg)](https://agentmods.dev/plugins/choiyounggi/groundwork/memory-loop)
Your own site
<a href="https://agentmods.dev/plugins/choiyounggi/groundwork/memory-loop"><img src="https://agentmods.dev/badge/plugins/choiyounggi/groundwork/memory-loop/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-loop

Your own site · 80×15
<a href="https://agentmods.dev/plugins/choiyounggi/groundwork/memory-loop"><img src="https://agentmods.dev/badge/plugins/choiyounggi/groundwork/memory-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 5 skills cost 302 tokens a session between them.
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.
Security

Grade A, and why

memory-loop 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.

plugins/memory-loop/.claude-plugin/plugin.json · 16 lines

What it actually says

{
  "name": "memory-loop",
  "displayName": "memory-loop",
  "description": "A memory lifecycle for Claude Code's native file-based memory: a save gate against hallucinated memories, tiered expiry (short-tier memories archived — never deleted — when they lapse), a propose-then-confirm consolidation pass (merge/dedupe long-tier memory), a correction-signal hook that logs likely corrections for the consolidate pass, a gated, budgeted habit frame (capture passes damage/recurrence/generality gates; the always-loaded rule file is capped at the write, with case records and retired rules on demand), and an optional identity setup (names for the user and the assistant). Local-only, English, no org-specific content.",
  "version": "2.3.1",
  "author": {
    "name": "choiyounggi",
    "url": "https://github.com/choiyounggi"
  },
  "homepage": "https://github.com/choiyounggi/groundwork",
  "license": "MIT",
  "repository": "https://github.com/choiyounggi/groundwork",
  "icon": "./assets/icon.png",
  "keywords": ["memory", "lifecycle", "habits", "consolidation", "expiry", "corrections", "claude-md"]
}
Contents

What it installs

The manifest is a name and a version. 5 skills travel with it, and installing the plugin installs all of them — 302 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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 · +5 lines 881e4bc22e1d
  2. 16d ago Changed 78071cac6c95
  3. 17d ago Changed 7be9b2f5102f
  4. 24d ago Changed 2fd3fe25b7df
  5. 28d ago Changed 998fda477925
  6. 1mo ago First seen · 11 lines scan A e0788cc0a79c

Subscribe to this mod's changes

memory-loop is a plugin published in the GitHub repository choiyounggi/groundwork (3 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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 plugins, from other repositories

clean-context

Keeps a project's noise out of Claude's default context: audit-context measures where the budget is going, ignore-setup applies a managed .ignore, a Glob setting, and a short read-deny list for secrets, leaving every excluded path readable on purpose.

Malo-T/claude-toolbelt · not measured

compact-nudge

Suggests /compact or /clear when the context grows past a threshold or the prompt cache has gone cold, since every request re-reads the whole context.

Malo-T/claude-toolbelt · not measured

esp32-cpp

Evidence-first ESP32 firmware guidance for hardware, FreeRTOS, memory, peripherals, and field failures.

johnkozaris/jko-claude-plugins · not measured

context-police

Measure, trim, and report the token cost of a runaway Claude Code skills/agents catalog (injected every turn + into every subagent) — verified per-project skillOverrides + global disable-model-invocation levers, an interactive HTML recap, and the durable root-cause fix (curate episodic lessons out of the always-on…

wan-huiyan/claude-ecosystem-hygiene · not measured

memory-hygiene

Audit and clean up Claude Code's persistent memory system — MEMORY.md, memory topic files, lessons, axioms, phase templates, ADRs, and the project docs/ taxonomy.

wan-huiyan/claude-ecosystem-hygiene · not measured

session-handoff

End-of-session handoff with bucket-aware dispatch across the canonical 7-bucket docs/ taxonomy (aligned with memory-hygiene v3.3), doc-freshness reverse-lint + skill-freshness audit, and future-to-do emission as GitHub issues. Captures knowledge, routes artifacts to…

wan-huiyan/context-baton · not measured