Skip to content

Instantly share code, notes, and snippets.

@Spokane29
Spokane29 / laptop_sync_claude_md_installer.sh
Created April 14, 2026 20:50
OpenClaw: install CLAUDE.md sync on laptop (one-shot curl|bash)
#!/usr/bin/env bash
# laptop_sync_claude_md_installer.sh
# One-shot: installs ~/.hermes/scripts/sync_claude_md.sh on the laptop,
# runs it, and adds a launchd agent that re-runs it every 6h.
set -euo pipefail
TARGET_SCRIPT="$HOME/.hermes/scripts/sync_claude_md.sh"
GIST_RAW="https://gist.githubusercontent.com/Spokane29/3da8b9ef9a891e7928eca02e016c70cd/raw/openclaw_memory_block.md"
mkdir -p "$(dirname "$TARGET_SCRIPT")"
@Spokane29
Spokane29 / openclaw_memory_block.md
Created April 14, 2026 20:49
OpenClaw shared-memory block for ~/.claude/CLAUDE.md (Bill McCoy)

🧠 Shared Memory (OpenClaw) — USE IT

You have persistent, cross-session memory backed by Supabase. It's shared with Bill's OpenClaw agents (Chief, Scout, Builder, etc.) — so what you learn here helps them, and vice versa.

Your slug: claude-code (or claude-code-<hostname> if you want to namespace) CLI: memory (available on Mac Studio and laptop). Fallback if PATH is off: python3 ~/.openclaw-memory/memory.py