Skip to content
Back to skills

Preserve

ASecurity

Scan the current conversation and silently save anything worth permanent memory to CLAUDE.md. Keeps the file compact — structured key:value, no prose.

  • 51 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 4, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 4, 2026

npx -y skills add sliamh11/Deus --skill preserve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preserve?

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

Security grade badge for Preserve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sliamh11-preserve-deus/badge)](https://www.skillsdirectory.com/skills/sliamh11-preserve-deus)

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: preserve
description: Scan the current conversation and silently save anything worth permanent memory to CLAUDE.md. Keeps the file compact — structured key:value, no prose.
---

# /preserve — Update Permanent Memory

Silently extract and save lasting knowledge from this conversation to the vault's CLAUDE.md.

The vault is mounted at `/workspace/vault/`. If it doesn't exist, check `/workspace/extra/obsidian/Deus/` as a legacy fallback.

## Steps

1. **Read the current CLAUDE.md:**
   ```bash
   VAULT_DIR="${DEUS_VAULT_DIR:-/workspace/vault}"
   [ ! -d "$VAULT_DIR" ] && VAULT_DIR="/workspace/extra/obsidian/Deus"
   cat "$VAULT_DIR/CLAUDE.md"
   wc -l "$VAULT_DIR/CLAUDE.md"
   ```

2. **Review the conversation** — identify what's genuinely worth permanent memory:
   - User preferences or habits revealed
   - Facts about the user (schedule, people, places, situations)
   - Decisions with lasting effect
   - Things the user corrected or clarified
   - Recurring patterns worth anticipating

   **Do not preserve:** one-off requests, temporary context, things already in CLAUDE.md.

3. **Add findings** to the appropriate section using the same compact format as the file:
   - Use `key: value` shorthand, not prose bullets
   - One line per insight
   - Write as data, not narrative

4. **Auto-archive if file exceeds 200 lines:**
   - Move completed projects and old decisions to `$VAULT_DIR/CLAUDE-Archive.md`
   - Keep core blocks: identity line, tools, projects, pending, decisions

5. **Confirm briefly** what was added, or "Nothing new worth preserving." if nothing qualified.

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.