Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
013836e
Add self-managing setup & doctor design spec
emp3thy Aug 30, 2026
5f1bfa2
Add assumptions surface and resolve concerns 4-6 in setup spec
emp3thy Aug 30, 2026
0fb8fcd
Add self-managing setup implementation plan
emp3thy Aug 30, 2026
3603608
Lift 90% plan tasks: fix autocheck caching bug, fixture privacy, scri…
emp3thy Aug 30, 2026
6a7ced3
feat(setup): declarative wiring manifest
emp3thy Aug 30, 2026
d765788
feat(hooks): pre_compact, commit_checkpoint, stop_sweep modules
emp3thy Aug 30, 2026
e88e7e9
fix(hooks): guard dict navigation after json.load to prevent Attribut…
emp3thy Aug 30, 2026
d990b33
feat(setup): engine render/inspect/diff
emp3thy Aug 30, 2026
e227025
fix(setup): reject non-dict JSON in diff(), dedupe hook-group builder
emp3thy Aug 30, 2026
d73951b
feat(setup): engine apply with backups, lock, concern-3 retry
emp3thy Aug 30, 2026
dc98844
test(setup): golden parity against reference machine wiring
emp3thy Aug 30, 2026
42f3ab9
feat(setup): per-repo post-commit auto-installer
emp3thy Aug 30, 2026
ee6f3fc
fix(setup): handle git worktrees in post-commit hook installer
emp3thy Aug 30, 2026
6b5d741
feat(cli): better-memory setup + doctor; install_hooks shim
emp3thy Aug 30, 2026
1877322
feat(setup): session-start wiring autocheck; retire CLAUDE.md sentinel
emp3thy Aug 31, 2026
21b2468
fix(setup): splice absorbs legacy unmarked CLAUDE.md section on first…
emp3thy Aug 31, 2026
5d28676
fix(setup): heal duplicated CLAUDE.md sections; junction fallback for…
emp3thy Aug 31, 2026
6ded281
feat(scripts): setup.ps1 with uv bootstrap; slim setup.sh, drop ollama
emp3thy Aug 31, 2026
0383732
docs: self-managing setup, doctor, autocheck; drop ollama and manual …
emp3thy Aug 31, 2026
f9dc7e8
docs: fix remaining blanket pythonw.exe advice in README troubleshooting
emp3thy Aug 31, 2026
1a2c753
fix(setup): honor BETTER_MEMORY_HOME in CLI, re-point stale post-comm…
emp3thy Aug 31, 2026
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
46 changes: 46 additions & 0 deletions .claude/skills/start-better-memory-ui/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: start-better-memory-ui
description: Use when user asks to start, launch, open, or run the better-memory UI / management UI / review UI. Triggers on "start ui", "launch ui", "open the better-memory ui", "start the memory ui". The MCP tool memory_start_ui is a stub — the UI must be launched directly via python.
---

# Start better-memory UI

The MCP tool `mcp__better-memory__memory_start_ui` is a stub that returns "UI not yet implemented" — but the UI itself is fully built. Launch it directly.

## Project

Working directory: the better-memory checkout's repo root (this skill is vendored inside it, under `.claude/skills/`).
Default home: `~/.better-memory` (used unless `BETTER_MEMORY_HOME` is set).

## Steps

### 1. Check if already running

If `~/.better-memory/ui.url` exists and the URL responds, reuse it:

```bash
url=$(cat ~/.better-memory/ui.url 2>/dev/null) && curl -sfo /dev/null --max-time 1 "$url" && echo "already running at $url"
```

If that prints a URL, skip step 2.

### 2. Start the UI in the background

```bash
cd <the better-memory checkout's repo root> && uv run python -m better_memory.ui
```

Run with `run_in_background: true`. The server binds to `127.0.0.1:0` (random port) and writes the bound URL to `~/.better-memory/ui.url`.

### 3. Read the URL and open it

```bash
url=$(cat ~/.better-memory/ui.url) && start "$url"
```

Report the URL to the user.

## Notes

- The UI exits after 30 minutes of inactivity, or when the user clicks "Close UI" in the header.
- Each launch picks a new random port and rewrites `ui.url`. Do not start a second instance if one is already alive — the old port file will be overwritten and the original process will be orphaned.
161 changes: 59 additions & 102 deletions README.md

Large diffs are not rendered by default.

Loading
Loading