claude_init_persistence
Initialize persistent memory for Claude Code by creating the storage directory and seeding AGENTS.md, PROJECTS.md, and MEMORY.md templates. Re-running is safe and won't overwrite existing files.
Instructions
Initialize the persistence directory and seed the three markdown files.
Idempotent: re-running without force=true is a no-op if files already
exist. Creates the directory at the location resolved by
Settings.resolve_persistence_base_dir() and writes AGENTS.md,
PROJECTS.md, MEMORY.md (unless they already exist).
Optional fields: - force (bool): re-create files even if they exist - seed_templates (bool|None): whether to seed the default templates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | No | ||
| base_dir | Yes | ||
| seed_version | Yes | ||
| already_existed | No |