Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Memory Reflect

ASecurity

Promote what a session learned from the short-term record into durable memory - review recent episodes and conversations, keep what will matter next time, and write it as typed notes. Use at the end of a session, when the user asks to reflect/consolidate/remember what was learned, or when memory-doctor reports the episodes cap.

2 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentgobashsqlnodeawsgit

Works with

cli

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add atman-33/workhub --skill memory-reflect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Reflect?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Memory Reflect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/atman-33-memory-reflect/badge)](https://www.skillsdirectory.com/skills/atman-33-memory-reflect)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: memory-reflect
description: Promote what a session learned from the short-term record into durable memory - review recent episodes and conversations, keep what will matter next time, and write it as typed notes. Use at the end of a session, when the user asks to reflect/consolidate/remember what was learned, or when memory-doctor reports the episodes cap.
---

# memory-reflect — promote what will matter next time

This is the step that makes memory compound. Without it the store only grows:
a pile of transcripts and checkpoints that each get less useful as they age.
With it, what a session worked out survives as something a later session can
find in one query.

Memory is formed best **between** sessions rather than during one — the work
of deciding what mattered is easier once the work is over.

## What this may do on its own, and what it may not

The line is reversibility, not importance. `memory/identity/decision-policy.md`'s
gray-zone rule already draws it: reversible → proceed, irreversible → ask.

| Action | Do it |
|---|---|
| Write a **new** note in `notes/` or `episodes/` | Without asking. A new file in a git-tracked folder is undone by deleting it |
| **Archive** a note that is finished | Without asking. A move is reversible, and the note stays in the graph |
| **Rewrite or merge** an existing note | Propose it. Show what would be lost |
| Touch anything in **`identity/`** | Propose it. It is capped, so adding means removing |
| **Delete** anything | Don't. Archive instead |

**Everything done without asking is reported.** End with one line per note
written or moved. Something that changes the record silently is
indistinguishable from something that is broken — which is exactly how 46 days
of capture loss went unnoticed (T-0366).

## Steps

### 1. Gather what is recent

```bash
node "${CLAUDE_PLUGIN_ROOT}/engine/cli.mjs" recent --limit 30
```

Plus the open checkpoints in `memory/episodes/` and, when the user names a
subject, `memory-recall` for that subject.

### 2. Decide what is worth keeping

Ask of each thing, in order. The first `keep` wins; anything that reaches the
bottom is dropped.

| Keep | Because |
|---|---|
| A **decision** with a rationale and an alternative | It stops the same ground being relitigated |
| A **lesson** — something that went wrong and why | It stops the same failure |
| A **constraint** discovered the hard way | It is invisible in the code |
| A **preference** the owner stated as standing, not once | It changes how future work is done |
| The **shape** of something: how a system is put together, why it is that way | It is the expensive thing to re-derive |

| Drop | Because |
|---|---|
| What happened, without what it means | The transcript already has it |
| Anything already written down | A duplicate splits a subject in two |
| A one-off answer with no rule behind it | It will never match a future question |
| Anything the user clearly does not want kept | Obviously |

**Be selective.** The point is distillation, not a second copy of the
transcript. If a session produces nothing worth promoting, say so and stop —
that is a normal outcome, not a failure to try hard enough.

### 3. Write it, typed

Search before creating — two or three wordings, and a proper noun by title
rather than by meaning. If the subject already has a note, propose an update
instead of adding a second one.

```bash
node "${CLAUDE_PLUGIN_ROOT}/engine/cli.mjs" new decision "What it is about"
node "${CLAUDE_PLUGIN_ROOT}/engine/cli.mjs" validate memory/notes/<file>.md
```

| It is | Type |
|---|---|
| A choice, with what it rules out | `decision` |
| A trap, with what to do instead | `lesson` |
| How something works, or a fact | (none required) |

All three go in `notes/`. The type does the distinguishing — a folder would
only add a routing decision with no reliable rule behind it.

Fill `[alternative]` and `[consequence]` where the session actually produced
them. **Do not invent either.** A rejected option nobody considered is worse
than an absent field: it reads as settled ground and closes off a real option.

Write the body in prose. Search returns passages from it, so a note with
context is both easier to find and worth more when found.

### 4. Close the episodes you promoted from

Set `status: closed` on a checkpoint whose content now lives in a durable note,
and archive it if nothing else refers to it. Leave `status: open` on anything
still in flight — that is what the next session's brief reads.

### 5. Record that reflect ran

```bash
node "${CLAUDE_PLUGIN_ROOT}/engine/cli.mjs" reflect-done
```

The session brief asks for `memory-reflect` once a week has passed since this
stamp and a new conversation has been captured after it. Stamp it even when
nothing was worth writing — the review happened, and the brief should stop
asking. The stamp is per machine, because the verbatim record it is about is.

### 6. Report

```
memory: 2 written, 1 archived
  + notes/rate-limiting.md           decision — token bucket over fixed window
  + notes/wasm-sqlite-read-locks.md  lesson — get() holds a SHARED lock
  → archive/xy12-t-0366.md          promoted, closed
```

Then anything you did **not** do on your own, as a proposal with its reason.

## Notes

- If `memory/` does not exist, this vault has not been given a store yet. Say
  so and stop; do not create one from here.
- Uncertain but probably important beats dropped: write it with `(要確認)` in
  the observation rather than leaving it out.
- Never claim something was verified unless it was. A memory that records a
  test as passing when it never ran is worse than an empty one.

Attribution

atman-33atman-33
View sourceMore from atman-33 →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →