config

config is a command for Claude Code from linggen/linggen-memory. It costs 29 tokens per session (522 once invoked), scanned A, original, MIT.

A command for showing or changing where Linggen's language and memory services run, either on this computer or another device on the local network.

In plain words
What is it for?
Use it to view the current setup, point Linggen at another machine, add a device token, and diagnose connection problems.
Why use it?
It avoids manually editing settings files, which can easily break the configuration. It also checks whether the services are reachable and whether this computer is paired.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the linggen plugin — 1 skill, 7 commands, 3 hooks, 2 MCP servers shipped together

Good fit Use it to view the current setup, point Linggen at another machine, add a device token, and diagnose connection problems.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add linggen/linggen-memory
Claude Code
/plugin install linggen

Made for: Claude Code.

Or install linggen, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 3 hooks, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for config

README.md
[![agentmods](https://agentmods.dev/badge/commands/linggen/linggen-memory/config/github.svg)](https://agentmods.dev/commands/linggen/linggen-memory/config)
Your own site
<a href="https://agentmods.dev/commands/linggen/linggen-memory/config"><img src="https://agentmods.dev/badge/commands/linggen/linggen-memory/config/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for config

Your own site · 80×15
<a href="https://agentmods.dev/commands/linggen/linggen-memory/config"><img src="https://agentmods.dev/badge/commands/linggen/linggen-memory/config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00522
Opus 5.5 $0.00012 $0.00209
Sonnet 5.5 $0.00006 $0.00104
Haiku 4.5 $0.00003 $0.00052

Measured 1mo ago against content hash 9455b30166ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

config scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/linggen/commands/config.md · 44 lines

What it actually says

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)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +10 lines 9455b30166ef
  2. 2mo ago Changed · +1 lines 502792ed2268
  3. 3mo ago First seen · 33 lines · 29 tokens per session scan A 40a5d06e6e8b

Subscribe to this mod's changes

config is a command published in the GitHub repository linggen/linggen-memory (111 stars, last pushed 12d ago), licensed MIT. It adds 29 tokens to every session and 522 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

config compared with commands from other repositories

config next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
configlinggen/linggen-memoryCommand11112d agoMITA29Claude Code
readactionbook/actionbookCommand1.6k1mo agoApache-2.0A0Claude Code
claimruvnet/ruv-FANNCommand3968d agoMITA0Claude Code
cargo-bencholorehq/oloreCommand119todayMITA0Claude Code
cargo-checkolorehq/oloreCommand119todayMITA0Claude Code
review-agent-clisaeedkolivand/ai-job-hunter-appCommand65todayApache-2.0A13Claude Code
brain-statsmercurialsolo/claudectlCommand20528d agoMITA19Claude Code