llm-wikilisted
Install: claude install-skill GeonheeYe/multi-agent-dotfiles
# LLM Wiki / LONGMEMORY Context Loader
LONGMEMORY is the first-class backend for project/session context. Use this before generic wiki behavior when the user asks for `llm-wiki`, `wiki-aegis`, `컨텍스트 불러와`, `저번에 하던 것`, or a known project.
## Loader
Prefer the bundled loader; do not depend on a shell alias. The canonical wiki is `/home/geonhee/wiki` on `geonhee-ubuntu`; the loader checks that remote wiki first by default and uses local wiki paths only when remote lookup fails or `LONGMEMORY_REMOTE_FIRST=0` is set.
```bash
DOTFILES="${DOTFILES:-$(getent passwd "$(id -un)" | cut -d: -f6)/dotfiles}"
python3 "$DOTFILES/scripts/longmemory_loader.py" list
python3 "$DOTFILES/scripts/longmemory_loader.py" load aegis
python3 "$DOTFILES/scripts/longmemory_loader.py" load 사주 --recent-sessions 3
```
If `$DOTFILES` is unavailable, search for `longmemory_loader.py`; if running inside Hermes repo, use `skills/research/llm-wiki/scripts/longmemory_loader.py`.
Path resolution order:
1. SSH to `LONGMEMORY_REMOTE_HOST`, `LONGMEMORY_SSH_HOST`, or default `geonhee-ubuntu`, using `LONGMEMORY_REMOTE_WIKI_PATH`, `LONGMEMORY_REMOTE_WIKI_DIR`, legacy `LONGMEMORY_REMOTE_DIR/wiki`, or default `/home/geonhee/wiki`
2. Local fallback paths, only when remote lookup fails or `LONGMEMORY_REMOTE_FIRST=0`:
- `$LONGMEMORY_WIKI_PATH`
- `$LONGMEMORY_DIR/wiki`
- `$LONGMEMORY_PATH/wiki`
- `~/LONGMEMORY/wiki`, `$REAL_HOME/LONGMEMORY/wiki`, and the passwd database home `LONGMEMORY/wiki`
- `$WIKI_PATH`