# Niko Archive

> Niko Memory Bank System - Archive Phase - Task Archiving & Cleanup

- Skill: `texarkanine/niko-archive` (Agent Skill)
- Install (CLI): `npx skillmds@latest add texarkanine/niko-archive`
- Raw SKILL.md: https://api.skillmd.com/api/skills/texarkanine/niko-archive/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: Texarkanine (https://skillmd.com/u/texarkanine)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/texarkanine/niko-archive

---


# Archive Phase - Task Archiving & Cleanup

This command creates a self-contained archive document for the completed task, inlines all ephemeral content, clears task-specific files from the memory bank, and commits everything. Archive depth scales with complexity level - this file routes to the appropriate level-specific archive document.

## Step 1: Load Memory Bank Files

Read:
- `memory-bank/active/tasks.md`
- `memory-bank/active/activeContext.md`
- `memory-bank/active/progress.md`

## Step 2: Determine Complexity Level

If no complexity level is set, or `memory-bank/active/progress.md` does not exist: 🛑 STOP! It doesn't make sense to archive before a task has been completed.

Ask the operator for clarification, and wait for their instructions. You're done for now.

## Step 3: Route to Level-Specific Archive

Load the appropriate complexity level-specific Niko workflow file, then use its Phase Mappings to execute the Archive phase.

