Skip to content
Back to skills

Ltm Compact

ASecurity

Review the current session and extract undocumented decisions into the project memory

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
documentationdatabasedocumentation

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add LaserPhaser/claude-ltm --skill ltm-compact --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ltm Compact?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ltm Compact
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laserphaser-ltm-compact/badge)](https://www.skillsdirectory.com/skills/laserphaser-ltm-compact)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ltm:compact
description: Review the current session and extract undocumented decisions into the project memory
---

# Compact — Extract Decisions to Memory

Perform a compact pass: review everything that happened in this session and
capture any significant decisions that aren't yet in `.memory/DECISIONS.md`.

## What to do

1. Read `.memory/DECISIONS.md` to understand what's already recorded.

2. Review this session's work. Look for:
   - Architecture or design choices that were made
   - Technology or library selections
   - Approaches that were tried and rejected
   - Business logic decisions or constraints discovered
   - Changes to previously recorded decisions
   - Current project status (focus, blockers, open questions)

3. For each unrecorded decision:
   - "Significant" = something a teammate joining next week would need to know.
   - Add a `### heading` with today's date and up to ~10 lines of context.
   - If the decision is truly complex (>10 lines needed), create a detail file
     in `.memory/details/YYYY-MM-DD-<topic>.md` and link to it.
   - If a prior decision was superseded, update it in-place with what changed
     and why. Add a Changelog entry.
   - Check for duplicates — update existing entries rather than adding new ones.

4. Update the `## Status` section with current focus, blockers, and open questions.

5. Update the `> Auto-maintained by claude-ltm. Last updated:` date.

6. Report to the user what was captured (or that nothing new was found).

## Detail file format

When creating a detail file in `.memory/details/`, use this structure:

```
---
decision: <title>
date: YYYY-MM-DD
status: ACTIVE
---

<!-- Valid status values: ACTIVE, SUPERSEDED -->

## Context
[Why this decision was needed — 2-3 sentences]

## Decision
[What was chosen and why — concise]

## Alternatives Considered
- Option B: [why rejected]

## Impact
- [Key consequence 1]
```

## Guidelines

- Keep entries concise. This is a decision log, not documentation.
- Routine code changes are NOT decisions. Choosing a database IS.
- When in doubt about significance, record it — pruning is easier than recreating.

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.