mcpField
L
loop-worker

loop-worker

github.com/ruvnetAgent workflows80.0k744 installsUpdated today
Repository

About loop-worker

loop-worker is a skill for dispatching periodic in-session workers and scheduling their next run. It provides workers for security, optimization, memory, code mapping, testing, documentation, and benchmarking tasks.

Key features

  1. 01Dispatch named workers through MCP
  2. 02Schedule the next iteration
  3. 03Use cache-aware delay timing
  4. 04Run security and optimization workers
  5. 05Analyze tests, code, and performance

Use cases

  1. 01Repeat security analysis during a session
  2. 02Schedule periodic performance optimization
  3. 03Review test coverage and map a codebase
  4. 04Run documentation or benchmark workers

MCP support

Dispatches workers through a Ruflo MCP tool. MCP responses may include loop and cron suggestions.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ruvnet/ruflo --skill loop-worker

After installing, type/loop-workerin Claude Code to confirm it loaded.

Details

From the project README

Use /loop for in-session periodic workers. Cache-aware delays keep prompt cache warm:

  • Delay formula: min(270, cache_ttl * 0.9) -- default 270s

Dispatch a worker via MCP: mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "WORKER_NAME" })

Then schedule the next iteration: ScheduleWakeup({ delaySeconds: 270, reason: "next WORKER_NAME iteration" })

Available Workers
WorkerIntervalDescription
audit270sSecurity analysis
optimize270sPerformance optimization
consolidate600sMemory consolidation
predict270sPredictive preloading
map600sCodebase mapping
testgaps270sTest coverage analysis
document600sAuto-documentation
benchmark600sPerformance benchmarking

MCP tool responses include [LOOP_SUGGESTION] and [CRON_SUGGESTION] hints -- follow them.

Comments

Markdown supported