Skip to content
Agent Memory
Command

/config

Point this host at a Linggen — show or set where ling and ling-mem live (loopback, or another machine on your LAN)

BOOST
From plugin
linggen-memory
1107 skills7 commands2 MCP
Install
> /plugin marketplace add linggen/linggen-memory
> /plugin install linggen@linggen-memory

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/config

Context preview

What this command does when you run it.

Point this host at a Linggen — show or set where ling and ling-mem live (loopback, or another machine on your LAN)

Command definition

config.md
description: Point this host at a Linggen — show or set where ling and ling-mem live (loopback, or another machine on your LAN)

Run the plugin's config script with the user's arguments, with a 3-minute timeout (asking another machine waits up to two minutes for a click there):

bash "${CLAUDE_PLUGIN_ROOT}/scripts/config.sh" $ARGUMENTS

Show its output verbatim — the address lines, the `Next:` / `All set` line and the common commands are the guidance; do not reword or summarize them.

The script does the work — read, probe, ask, write, mirror. Do not re-implement any of it, and do not edit `client.json`, `settings.json` or Codex's `config.toml` yourself: a config write is mechanical, and a model improvising a JSON or TOML edit is how a settings file gets mangled.

After a run that changed addresses, add one line: **restart this host** (Claude Code or Codex) — MCP server URLs are resolved at startup.

What its states mean, if the user asks:

  • `ok` — reachable and this machine may use it.
  • `not approved` — reachable, but that machine has not allowed this one.

`--primary <addr>` asks; someone clicks Allow there (Linggen or the ling-mem console), and the local ling-mem keeps the token itself.

  • `replica of … · offline` — the primary is unreachable; reads work from

the local copy, and writes queue and replay when it is back.

  • `no answer` — nothing listens there: the daemon is down, that machine is set

to "This machine only" (ling-mem console → Settings → Network), or a firewall blocks the port.

Usage:

  • `/linggen:config` — where memory is (primary or replica), and the next step
  • `/linggen:config --primary 192.168.1.5:9528` — share another machine's

memory: this machine's ling-mem keeps a synced copy and works offline (click Allow on that machine)

  • `/linggen:config --primary local` — this machine holds the memory
  • `/linggen:config --ling-mem <addr>` / `--local` — legacy: point this host's

clients straight at another machine (no local copy, no offline)

Read more
Ships withlinggen-memory

One memory of you, shared by every agent you use — Claude Code, Codex, OpenClaw, and Linggen's own Ling and Yinyue. Tell Claude Code something on Monday; Codex knows it on Tuesday. One local daemon, one store on your machine. No SaaS, no API key, no signup.

Get the whole plugin
Stats
110
Stars
6
Forks
Active
Maintenance
Rust
Language
MIT
License
3d ago
Last commit
10mo ago
Created
5h ago
Added

Repo: linggen/linggen-memory

Other commands on linggen-memory.