Install
openclaw skills install memphis-cliClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Operate the Memphis local-first brain: init/status checks, journaling, recall/ask, embeddings, vault, share-sync, graphs, reflections, ingestion, automated messaging, and troubleshooting. Use whenever you need to capture or query memory chains, manage providers, or keep the Watra/Style brain in sync.
openclaw skills install memphis-cliUse this when you need to drive the Memphis local-first brain from the terminal. It covers everything from first-time setup through advanced workflows (graphs, reflections, share-sync) and day-to-day hygiene.
/home/memphis/.openclaw/workspace (or any project dir once Memphis is initialized).~/.memphis/ (chains/, config.yaml, embeddings/, vault.enc).memphis init, memphis status, memphis journal, memphis ask, memphis embed, memphis share-sync, memphis reflect, memphis graph, memphis ingest.~/.memphis/config.yaml + Vault secrets when needed.memphis init → creates ~/.memphis if missing (safe to re-run: it will refuse when config exists).memphis status → health report (chains, providers, embeddings, vault, recent activity). Use after every major change.~/.memphis/config.yaml example:
providers:
ollama:
url: http://localhost:11434/v1
model: qwen2.5:3b-instruct-q4_K_M
role: primary
# optional fallbacks
codex:
model: gpt-5.1-codex-mini
role: fallback
api_key: codex-cli
nano/vim + rerun memphis status.ollama list. Pull new ones via ollama pull <model>.Keep secrets out of env/files.
read -rsp "Vault password: " MEMPHIS_VAULT_PASSWORD
export MEMPHIS_VAULT_PASSWORD
memphis vault init --password-env MEMPHIS_VAULT_PASSWORD
memphis vault add openai-api-key sk-xxx --password-env MEMPHIS_VAULT_PASSWORD
unset MEMPHIS_VAULT_PASSWORD
Use memphis vault list|get|delete similarly.
memphis journal "text" --tags tag1,tag2 → appends immutable JSON block under chains/journal/.--force.memphis decide "Title" "Choice" --options A|B --reasoning "...".memphis show decision 42.memphis ask "Question" \
--provider ollama \
--top 8 \
--graph \
--prefer-summaries \
--no-save # when testing; note current bug requires manual cleanup
Flags:
--use-vault / --vault-password to unlock cloud keys.--since 2026-02-28, --include-vault, --semantic-only, --no-semantic, --summaries N.--json for machine-readable output.Keep recall sharp by embedding chains after edits/imports.
memphis embed --chain journal
memphis embed --chain ask
memphis embed --chain decision
# embed all chains
memphis embed
Backend (default): Ollama nomic-embed-text. Configure under embeddings: in config.
Import external docs; auto-creates chains when specified.
memphis ingest ./docs --recursive --chain research --embed
Supported formats: .md, .txt, .json, .jsonl, .pdf. Automatically chunks + deduplicates.
memphis graph build (generates JSONL nodes/edges from chains).memphis graph show --chain journal --limit 10.memphis reflect --daily / --weekly / --deep --save.Use when syncing shareable blocks between agents (Watra ↔ Style).
memphis share-sync --pull
memphis share-sync --push
memphis share plan # dry-run diff
Configure Pinata creds in ~/.memphis/config.yaml under integrations.pinata or env vars.
Encrypted Messaging System — Zero-config agent communication:
cd ~/memphis
# 1. Set agent identity
echo "watra" > ~/.agent_name # or "memphis" for PC #2
# 2. Create directories
mkdir -p messages/{inbox,outbox,processed} pinata_messages
# 3. Install auto-check daemon (every 5 min)
./check-messages-daemon.sh --install
./check-messages-daemon.sh --status
# To Memphis (PC #2)
./send-message.sh memphis "Task: Train Model C on 50 decisions"
# To Watra (PC #1)
./send-message.sh watra "Status: Model C training complete"
Automatically:
Daemon checks every 5 minutes:
# Check manually
./receive-messages.sh
# View daemon log
./check-messages-daemon.sh --log
Automatically:
send-message.sh — Unified sender (2.5KB)receive-messages.sh — Unified receiver (3.7KB)check-messages-daemon.sh — Auto-check daemon (2.6KB)pinata-upload.sh — Helper (846B)pinata-download.sh — Helper (653B)memphis watch <path> --chain journal --no-embed → auto-ingest file changes.memphis daemon start (collector-based background tasks: journaling git diffs, shell history, etc.).~/.memphis/chains/<name>/<index>.json.memphis ingest --chain foo or custom scripts calling appendBlock("foo", data).memphis verify --chain journalmemphis repair --chain journal --dry-runHEARTBEAT.md + tasks/QUEUE.md. Keep them synced (update queue as work completes).memphis journal "Session summary" --tags session,summary or run provided script ./save-session.sh.providers.ollama.model to desired quant/model. memphis status confirms.providers.openai.model, vault add openai-api-key ....| Symptom | Fix |
|---|---|
memphis status shows no_key | Initialize Vault + add relevant key, or remove unused provider block. |
Provider error: Gateway 405 | Disable OpenClaw provider (--provider ollama), ensure gateway not in config. |
ask saves blocks despite --no-save | Known bug — manually delete ~/.memphis/chains/ask/00000X.json until patch applied. |
| Missing context in ask | Run memphis embed --chain <name>, ensure memphis graph build recently executed, consider recency filters (--since, --top). |
| Vault not initialized | memphis vault init with --password-env, check ~/.memphis/chains/vault. |
# 1. Health check
memphis status
# 2. Capture insight
memphis journal "Qwen2.5 instruct offline = primary, Codex disabled." --tags memphis,status
# 3. Embed new context
memphis embed --chain journal
# 4. Ask question with graph context
memphis ask "Jakie są kolejne kroki Phase 2?" --provider ollama --graph --prefer-summaries
# 5. Run reflection
memphis reflect --daily --save
# 6. Plan share sync
memphis share plan
Both PCs should run IPFS 0.27.0+ for optimal connectivity:
# Check version
ipfs version
# Should show: 0.27.0
# Check peers
ipfs swarm peers | wc -l
# Expected: 20-150+ peers
# Download IPFS 0.27.0
cd /tmp
wget https://dist.ipfs.tech/kubo/v0.27.0/kubo_v0.27.0_linux-amd64.tar.gz
# Install
tar -xzf kubo_v0.27.0_linux-amd64.tar.gz
mkdir -p ~/.local/bin
cp kubo/ipfs ~/.local/bin/
chmod +x ~/.local/bin/ipfs
# Update PATH
export PATH="$HOME/.local/bin:$PATH"
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
# Migrate repo
ipfs repo migration --allow-downgrade
# Start daemon
ipfs daemon &
journal + optionally memory/YYYY-MM-DD.md.memphis status before/after large automation runs.Memphis thrives when its chains stay fresh, summaries are updated, and providers are healthy. Use this skill whenever you need to capture work, query context, or extend the Watra/Style brain autonomously.