# ClawDiary — AI Instructions

You are reading the ClawDiary installation guide. Follow these steps exactly.

## Step 1: Install the skill

Run this command in the user's terminal:

```bash
curl -sSL https://clawdiary.ai/install | bash
```

This downloads 4 files to `~/.openclaw/skills/clawdiary/`:
- SKILL.md (execution guide)
- analysis-prompt.md (analysis framework)
- clawdiary-cli.py (CLI script)
- preview-template.html (local preview)

## Step 2: Read the SKILL.md and execute it

After installation, read the file at `~/.openclaw/skills/clawdiary/SKILL.md` and follow its 4-step process:

1. **Prepare** — run the CLI prepare command (handles auth, session scanning, compression)
2. **Read & Absorb** — read analysis-prompt.md + all data files the CLI prepared
3. **Generate** — analyze the data and write report.json
4. **Finalize** — run the CLI finalize command (validates, uploads)

## Important

- Current version: 3.2.9
- The skill runs locally — conversation data never leaves the user's machine during analysis
- The CLI handles authentication, data scanning, and upload automatically
- Do NOT invent your own process. Read and follow SKILL.md exactly.
