ClaudeCodeMod

All shelves / Mods / Safety

ruflo-loop-workers

By ruvnet

ruflo-loop-workers is a Claude Code safety mod by ruvnet.

Refuses a ruflo background worker dispatch whose context holds a key, token, or password, and any dispatch past a per-session cap, which catches a stuck loop.

Holds a command

Install

The marketplace name is ruflo.

In Claude Code
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-loop-workers@ruflo
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.3.6
License
MIT
Repo stars
80064
Last change
2026-10-17

What it can reach

  • Holds a command
  • Sees tool calls

Claude Code 2.1.287 or later. The guard is on by default, and maxDispatch is 100, from 1 to 1000. /loop-mod answers locally, with status, recent, tools, and scan. A refusal never echoes the secret.

The marketplace name is ruflo. Add ruvnet/ruflo. The plugin runs ruflo's /loop workers and CronCreate jobs for the other ruflo plugins; the mod is the guard on its hooks_worker-dispatch tool. Refusing a dispatch is why this page files it under safety. loop-guard adds a note to the second identical failure of a tool call. agent-usage-guard asks before a tool loop runs on, from the 5-hour and weekly usage. This one counts dispatches: past the cap in one session it refuses the next one, which stops a loop that keeps dispatching, and it refuses a dispatch whose context holds a secret, because workers log their context. It makes no network call and no model call. Its status file keeps counters only, never tool input. In the source, the deny is returned from a tool.call hook.

Demo

The As a mod section of the ruflo-loop-workers README: a guard that refuses a worker dispatch whose context holds a key, token or password, and any dispatch past the per-session cap; the /loop-mod command; the status file; and the guard and maxDispatch options.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • tool.callAround a tool call, where it can hold one
  • command.runWhen you run its slash command

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
ruvnet
Category
Safety
Marketplace
ruflo
Repo
ruvnet/ruflo
Folder
plugins/ruflo-loop-workers
Version
0.3.6
License
MIT
Repo stars
80064
Last change
2026-10-17
Language
TypeScript
Files
18

Same repo on other shelves

Skills

  1. 5868rufloruvnet/ruflo4.2k
  2. 9607swarm-orchestrationruvnet/ruflo2.1k
  3. 11420agent-arch-system-designruvnet/ruflo1.4k

MCP servers

  1. 7Claude Flowruvnet/ruflo🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated81.3k

Marketplaces

  1. 9ruvnet/rufloruvnet/ruflo🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated82.3k

Other mods in Safety

ruflo-workflowsruvnetHolds a commandRefuses a ruflo workflow definition, run, or workflow memory record that holds a secret, and a workflow_delete that names no single workflow id.ruflo-federationruvnetHolds a commandRefuses ruflo federation publishes and syncs to other machines that hold a key, token, or password, or personal data such as an SSN or a card number.ruflo-agentruvnetHolds a commandRefuses text sent into a ruflo agent runtime, a local WASM sandbox or Anthropic's managed cloud agents, when it holds a key, token, or password.ruflo-agentdbruvnetHolds a commandRefuses a write to ruflo's agent memory, or a memory import, that holds a private key, token, or key-like value, and can add the best memories to each prompt.ruflo-aidefenceruvnetHolds a commandRefuses a sample sent to ruflo's AI defence to learn from when it holds a key, token, or password, since learned patterns are stored and replayed.ruflo-autopilotruvnetHolds a commandRefuses a ruflo autopilot log or lesson that holds a key, token, or password, and an autopilot config that raises the loop past its iteration cap.ruflo-daaruvnetHolds a commandRefuses a call to ruflo's dynamic agent tools, the daa_ family, when its input holds a key, token, or password, and names the kind of secret, never the value.ruflo-docsruvnetHolds a commandRefuses a ruflo documentation memory write, or a document worker dispatch, when it holds a key, token, or password, and names the kind of secret, not the value.ruflo-goalsruvnetHolds a commandRefuses a ruflo goal, horizon, research, or dossier write, or a task, that holds a key, token, or password, and a dossier note that holds an SSN-shaped number.ruflo-rag-memoryruvnetHolds a commandRefuses a write to ruflo's vector memory, memory_store or an AgentDB store, when it holds a key, token, private key, or password, so it never reaches the store.ruflo-ruvllmruvnetHolds a commandRefuses a ruflo local-model training or index call when its input holds a key, token, or password, so credentials are never trained into an adapter.ruflo-rvfruvnetHolds a commandRefuses a ruflo memory save, session save, or transfer that holds a key, token, or password, so an RVF export or saved session never carries it off the machine.
All 73 in Safety