Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Add to your Claude Code config:
}
```

Tell Claude how to use it. Drop this in your global `~/CLAUDE.md` (your home directory, not per-project):
Tell Claude how to use it. Drop this in your global `~/.claude/CLAUDE.md` (your home directory, not per-project):

```markdown
## Memory
Expand All @@ -42,7 +42,7 @@ Tell Claude how to use it. Drop this in your global `~/CLAUDE.md` (your home dir
- After completing significant work, call `remember` to store decisions and outcomes
```

Or just let Zikkaron handle it. On every startup, it automatically syncs `~/CLAUDE.md` with the latest instructions via `sync_instructions`. You set it up once and never think about it again.
Or just let Zikkaron handle it. On every startup, it automatically syncs `~/.claude/CLAUDE.md` with the latest instructions via `sync_instructions`. You set it up once and never think about it again.

## What this actually feels like

Expand Down
10 changes: 8 additions & 2 deletions zikkaron/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,9 +1044,15 @@ def sync_instructions(claude_md_path: str = "") -> dict:
and updates it with the latest tools, capabilities, and rules.
Call this on session start or after Zikkaron updates.

claude_md_path: Path to CLAUDE.md. Defaults to ~/CLAUDE.md
claude_md_path: Path to CLAUDE.md. Defaults to ~/.claude/CLAUDE.md
"""
md_path = Path(claude_md_path) if claude_md_path else Path.home() / "CLAUDE.md"
md_path = Path(claude_md_path) if claude_md_path else Path.home() / ".claude" / "CLAUDE.md"

if not md_path.parent.is_dir():
return {
"status": "skipped",
"reason": f"Directory {md_path.parent} does not exist",
}

# The canonical Zikkaron section
zikkaron_section = f"""## Memory System — Zikkaron v{__version__}
Expand Down
Loading