---
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.


---
Source attribution: sliamh11
Original project: https://github.com/sliamh11/Deus/blob/2f24c38a2ae42d3161492f0729975b286452f4b4/container/skills/preserve/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Gavriel
Copyright (c) 2026 Liam Steiner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: sliamh11
Original project: https://github.com/sliamh11/Deus/blob/2f24c38a2ae42d3161492f0729975b286452f4b4/container/skills/preserve/SKILL.md
Attribution basis: Source repository record

Fields of work: Sales, Customer Support
Roles: Customer Success Manager, Sales Development Rep (SDR), Support Agent
Specialties: Specialty not specified
Tools: Obsidian
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 428e838a5e9ffc841220c5bdb87e0d49147c562182591231799bf59d5749db3b
