memory-init
/memory-init
Initialize or reset memory files to clean state. Use for fresh start, new project/sprint, or new machine. Preserves learned patterns by default. Use when user says "initialize memory", "reset memory", or "memory init".
- Author
- dmzoneill ↗
- Repository
- skills ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Initialize or reset memory files to clean state. Use for fresh start, new project/sprint, or new machine. Preserves learned patterns by default. Use when user says "initialize memory", "reset memory", or "memory init".
Triggers from the description
Original author description
Initialize or reset memory files to clean state. Use for fresh start, new project/sprint, or new machine. Preserves learned patterns by default. Use when user says "initialize memory", "reset memory", or "memory init".
How it works
- Inputs
- Workflow
- Key Details
SKILL.md preview
---
name: memory-init
description: Initialize or reset memory files to clean state. Use for fresh start, new project/sprint, or new machine. Preserves learned patterns by default. Use when user says "initialize memory", "reset memory", or "memory init".
---
# Memory Init - Reset Memory to Clean State
Backs up and resets state files. Optionally resets learned patterns and runbooks.
## Inputs
| Input | Type | Required | Purpose |
| ------------------- | ---- | -------- | ------------------------------------------ |
| `confirm` | bool | yes | Must be true (safety) |
| `reset_learned` | bool | false | Also reset patterns, runbooks, preferences |
| `preserve_patterns` | bool | true | Keep error patterns when resetting learned |
## Workflow
### 1. Check Confirmation
- If `confirm` not true: output error and usage, stop
- "Must set confirm=true to proceed. This will clear your memory state."
### 2. Backup Before Init
- Create `memory/backups/YYYYMMDD_HHMMSS/`
- Copy: state/current_work, state/environments, learned/patterns, learned/tool_fixes, learned/tool_failures, learned/runbooks, learned/service_quirks, learned/teammate_preferences
- Keep last 10 backups, delete older
### 3. Backup Patterns (if preserve_patterns)
- Save learned/patterns.yaml content before reset
### 4. Reset State Files
- **current_work:** active_issues=[], open_mrs=[], follow_ups=[], notes="Memory initialized"
- **environments:** Template with stage, production, konflux (status unknown), ephemeral_namespaces=[]
### 5. Reset Learned (if reset_learned)
- **patterns:** Clear unless preserve_patterns
- **runbooks:** Empty with commit_format, branch_format from config
- **teammate_preferences:** Empty
- **service_quirks:** Empty
### 6. Restore Patterns (if reset_learned and preserve_patterns)
- Write patterns_backup back to learned/patterns.yaml
### 7. Log Init
- `memory_session_log("Memory initialized", "reset_learned: X, preserve_patterns: Y")`
### 8. Output Format
```markdown
## ✅ Memory Initialized
### 💾 Backup Created
**Location:** memory/backups/YYYYMMDD_HHMMSS/
**Files backed up:** N
### State Files Reset
- ✅ state/current_work.yaml
- ✅ state/environments.yaml
### Learned Files Reset (if reset_learned)
- ✅ learned/runbooks.yaml
- ✅ learned/teammate_preferences.yaml
- ✅ learned/service_quirks.yaml
- ℹ️ learned/patterns.yaml - Preserved (if preserve_patterns)
---
Ready for a fresh start! Use /coffee to begin your day.
```
## Key Details
- **Chains to:** `memory_view`, `bootstrap_knowledge`
- **Requires:** `confirm: true` - never proceed without it
- Backup location: `memory/backups/<timestamp>/`
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · dmzoneill/skills | 100 | Apache-2.0 |
| flc1125/skills | 100 | MIT |
| yunshu0909/yunshu_skillshub | 100 | MIT |
| legacybridge-tech/claude-plugins | 100 | MIT |
Database snapshot: 13.11.2026 · package version e78a6761186b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100pm-init
Initialize or refresh Project Memory for a repository. Use after amplifying a new repo, when the user says "init PM", "set up project memory", or when pm-index.md is missing or empty. Surveys the codebase, creates starter PM units, and populates the index. - 100ctx-init
Initialize AGENTS.md + CLAUDE.md + rules/ in a code repo (fresh mode). Triggers on "/ctx-init", "init context", "scaffold AGENTS.md", or when user asks to set up project context in a new repo. - 100initializing-memory
Comprehensive guide for initializing or reorganizing agent memory into a deeply hierarchical file structure. Use when running /init, when user asks to set up memory, or when memory needs a major reorganization. Trigger phrases: "initialize memory", "set up memory", "populate… - 100init
Initializes Agent Skills in a project by checking prerequisites and verifying the validator configuration. Use when the user says "init", "set up agent-skills", or "initialize agent-skills". - 90brain:init
Use when setting up project memory in a new folder or on the first brain:init in a project. Creates project_brain.db, registers the project, and bootstraps it from CLAUDE.local.md, memory files, docs, and emails; safe to re-run. - 100initializing-memory
Comprehensive guide for initializing or reorganizing agent memory. Load this skill when running /init, when the user asks you to set up your memory, or when you need guidance on creating effective memory files.