Skip to content
Agent Orchestration
Skill

/active-memory-reminder

Before compaction Loopkit extracts decisions into claude-decisions.json (machine-readable). Read it alongside claude-progress.txt at session start — prose is for humans, JSON is for the loop.

From plugin
loopkit
75953 skills1 agent4 commands2 MCP

Claude Code

$ npx -y skills add Archive228/loopkit --skill active-memory-reminder --agent claude-code

SKILL.md

active-memory-reminder.SKILL.md
name: active-memory-reminder
description: Before compaction Loopkit extracts decisions into claude-decisions.json (machine-readable). Read it alongside claude-progress.txt at session start — prose is for humans, JSON is for the loop.
when_to_use: session start, after /clear, after compaction — before touching code; whenever a decision from a prior session is load-bearing for what you are about to do

Active Memory Reminder

Loopkit splits shift-notes across two files on purpose:

  • **`claude-progress.txt`** — free-form prose. Human-readable narrative of what the last session did, what is in flight, what to pick up next. Wins for context and intent. Loses when the model needs to *decide* whether a decision was made.
  • **`claude-decisions.json`** — machine-readable array of `{ts, decision}` entries, appended by the loopkit `pre-compact` hook every time the transcript is about to be compacted. Wins for durability of specific choices ("chose Postgres over SQLite because…", "rejected the polling approach", "tried htmx and switched to Alpine").

Compaction is where reasoning dies. The summarizer keeps the shape of the work but strips the *why*. `claude-decisions.json` is the durable side-channel that survives that. This is the same pattern Meta's NapMem paper calls out for behavioral-state-decay in long-running agents: prose degrades faster than structured facts because the model rewrites prose freely and edits structured data carefully (also why loopkit uses JSON for `feature_list.json`; see [[feature-list-json]]).

When to apply

  • **Session start / post-/clear / post-compact.** Read `claude-decisions.json` right after `claude-progress.txt` and before you look at code. If both files disagree, the JSON is the more recent hard record of a specific choice; the prose gives you the reason.
  • **Before re-litigating a design choice.** If you're about to propose "let's use X instead of Y," grep `claude-decisions.json` first. If a prior session already rejected X and wrote it down, don't burn the token budget re-deriving that.
  • **When picking up mid-implementation work.** Decisions frame constraints the progress file may not restate.

File contract

`claude-decisions.json` is a JSON array. Every entry is `{ts, decision}`:

[
  {"ts": "2026-07-14T18:22:09Z", "decision": "chose Playwright MCP over Puppeteer because Puppeteer's alert-modal blind spot bit us in run 41"},
  {"ts": "2026-07-14T20:04:11Z", "decision": "rejected the daemon-per-project approach; switched to a single supervisor with per-project subdirs"},
  {"ts": "2026-07-15T09:31:44Z", "decision": "tried and failed to cache the plan across sessions — plan went stale within two sessions, dropped"}
]

Constraints:

  • Append-only in normal operation. The `pre-compact` hook appends; sessions read.
  • You MAY add a decision by hand if you make one mid-session that the hook won't catch (e.g., a decision made in code, not prose). Use the same shape. Do not rewrite or delete existing entries — they are the durable record.
  • If entries contradict, newer wins, but note the contradiction in `claude-progress.txt` so the reason is captured.

The hook

`.claude/hooks/pre-compact` runs on both manual (`/compact`) and auto compaction. It skims the transcript for phrases matching `decided|chose|rejected|tried and failed|switched from .* to|going with|not going to`, dedupes, caps at 20 per compaction, timestamps each, and appends. It is silent-safe: any failure logs to stderr and exits 0 so compaction is never blocked.

Anti-patterns

  • **Reading `claude-progress.txt` and skipping `claude-decisions.json`.** You will re-open settled questions. The prose file often omits *why we didn't do the other thing* — that's what the JSON is for.
  • **Editing or deleting past decisions to "clean them up."** Same rule as `feature_list.json` steps and descriptions: durable structured records are load-bearing. Contradict them in a new entry; don't erase the old one.
  • **Storing prose in `claude-decisions.json`.** It is not a second progress file. Entries are single decisions with a timestamp, nothing else.
  • **Assuming the hook caught it.** The regex catches most decisions but not all. If you made a decision the transcript won't obviously match, add it by hand before ending the session.

Related

  • [[progress-reading-protocol]] — session-opening sequence; step 2b reads this file.
  • [[feature-list-json]] — the other structured-over-prose file loopkit relies on.
  • [[shift-notes]] — the prose companion this file is paired with.
  • [[clean-state-contract]] — session-end discipline that keeps the pairing usable.
Read more
@archive228
Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

75953 skills1 agent2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
759
Star history of Archive228/loopkit on GitHub, a chart by star-history.com

Other skills on loopkit.

a11y-pass

a11y-pass

Catch the accessibility failures that ship in almost every AI-built UI. Use after building any interactive component.

@archive228@archive228Install Skill
authz-check

authz-check

Verify that an endpoint checks ownership, not just authentication. Use on any handler that reads or mutates user data.

@archive228@archive228Install Skill
bisect-regression

bisect-regression

Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.

@archive228@archive228Install Skill
broken-window-check

broken-window-check

Before picking new work, smoke-test the last "completed" feature. If it's broken, revert and re-open it before touching anything…

@archive228@archive228Install Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw7d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about active-memory-reminder.

Which coding agents can use active-memory-reminder?
active-memory-reminder installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.