Skip to content
Data
Command

/slm-loop

Run a task as a bounded, gate-verified loop backed by SuperLocalMemory — iterate until an independent gate passes, never on the agent's own claim.

From plugin
superlocalmemory
2771 skill4 agents1 command1 MCP
> /plugin marketplace add qualixar/superlocalmemory
> /plugin install superlocalmemory@qualixar

Command definition

slm-loop.md
description: Run a task as a bounded, gate-verified loop backed by SuperLocalMemory — iterate until an independent gate passes, never on the agent's own claim.
argument-hint: <task that has a checkable acceptance condition (tests, schema, lint, reconciliation)>

Run this task as a **bounded loop** using SuperLocalMemory as the durable ledger:

> $ARGUMENTS

Delegate the execution to the **slm-loop-runner** agent and follow the **slm-loop** skill. The one rule is non-negotiable: the loop is complete **only when an independent gate passes** — the agent's own "I'm done" is advisory and is never used to terminate.

Procedure:

1. **Name the gate.** State the mechanical check that proves this task is done (e.g. `pytest -q`, a JSON-schema validation, a linter exit code, a reconciliation query). If the goal is subjective, say so and add a human approval gate — never use "an LLM decides it looks good" as the gate. 2. **State the bounds.** Max iterations, a no-progress window, and any token or wall-clock budget, before starting. 3. **Iterate.** Each lap: propose a change, then run the gate independently. A command gate (tests, schema, lint) you run yourself; SLM does not execute commands. To wait for a memory another agent will write, use the `slm_loop_run` MCP tool, whose laps persist as queryable SLM memory (tag `loop:<name>`); inspect runs with `slm loop history` and `slm loop show <run_id>`. `slm loop demo` shows the control flow end to end. 4. **Report the exact terminal status** — `DONE` (gate passed + approved), `HALT` (a bound tripped), `PAUSE` (approval pending), `KILLED` (kill switch), or `ERROR` (runner/gate failed). Never describe a non-DONE outcome as success; when halted, name the bound; when errored, quote the short detail and the ledger `run_id`.

Read more
@qualixar
Ships withsuperlocalmemory

Open-source governed, local-first memory control plane for AI agents and teams. arXiv:2608.08253

27716 skills4 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
277
Star history of qualixar/superlocalmemory on GitHub, a chart by star-history.com

More commands from other plugins.

COMMANDS.generated

COMMANDS.generated

Command

<!-- Generated from backend/logic/schema.py. Do not edit. Run `hogli build:projections`. -->

posthog4d41k
@posthog@posthogInstall Command
recall
Auto-invoked

recall

Command

Search past session observations and lessons for relevant context. Wrap the `memory_smart_search` and `memory_lesson_recall` MCP…

@rohitg00@rohitg00Install Command