Preserve

From sliamh11/Deus · View interactive version

Preserve is an AI agent skill from the GitHub repository sliamh11/Deus. Scan the current conversation and silently save anything worth permanent memory to CLAUDE.md. Keeps the file compact — structured key:value, no prose.

How to use this skill

Skill file

/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"

```

  1. Review the conversation — identify what's genuinely worth permanent memory:

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

  1. Add findings to the appropriate section using the same compact format as the file:
  1. Auto-archive if file exceeds 200 lines:
  1. Confirm briefly what was added, or "Nothing new worth preserving." if nothing qualified.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.