# 3.5 Workspace Files & Daily Memory

## Overview

The Workspace panel provides file management and daily memory features for **OpenClaw**. It allows you to edit workspace configuration files and maintain a daily memory journal.

> This feature is specific to OpenClaw. The Workspace button appears in the navigation bar when OpenClaw is the selected application.

## Workspace Files

### File Location

All workspace files are stored in `~/.openclaw/workspace/`.

Click the directory path at the top of the panel to open it in your file manager.

### Available Files

CC Switch manages 9 workspace files, each serving a specific purpose:

| File | Description |
|------|-------------|
| **AGENTS.md** | Agents definition and configuration |
| **SOUL.md** | System soul/personality settings |
| **USER.md** | User profile information |
| **IDENTITY.md** | Identity and role definition |
| **TOOLS.md** | Available tools configuration |
| **MEMORY.md** | System memory |
| **HEARTBEAT.md** | Heartbeat configuration |
| **BOOTSTRAP.md** | Bootstrap sequence |
| **BOOT.md** | Boot configuration |

### File Status

Each file shows a status indicator:
- **Green checkmark**: File exists on disk
- **Empty circle**: File does not exist yet (will be created on first save)

### Editing Files

1. Click any file card to open the Markdown editor
2. Edit the content
3. Click **Save** to write changes to disk

If the file doesn't exist yet, it will be created on first save.

## Daily Memory

The Daily Memory feature provides a date-organized journal system stored in `~/.openclaw/workspace/memory/`.

### Accessing Daily Memory

Click the **Daily Memory** card in the Workspace Files grid to open the memory panel.

### File List

The panel displays all daily memory files sorted by date (newest first). Each entry shows:
- **Date** (formatted from filename, e.g., `2026-04-01.md`)
- **File size**
- **Preview** (first 2 lines of content)

### Create Today's Note

Click the **Create Today** button to:
- Open a new note with today's date (`YYYY-MM-DD.md`)
- If today's note already exists, it opens for editing
- The file is persisted only after you click Save

### Search

Search across all daily memory files:

1. Press **Cmd/Ctrl+F** or click the search icon
2. Enter your search term
3. Results show matching files with:
   - Match count per file
   - Snippet preview from the matching line
   - File date and size

Press **Esc** to close the search.

### Edit & Delete

- **Edit**: Click a file entry to open it in the Markdown editor
- **Delete**: Hover over a file entry and click the delete icon. A confirmation dialog is shown — deletion cannot be undone.
