Skip to content
ruvnet avatar

Loop Worker

Schedules Ruflo background workers in-session with Claude Code's native /loop and ScheduleWakeup tools.

CCM score
66 of 100
skills.sh installs
745
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers dispatching a worker through the hooks_worker-dispatch MCP tool and checking progress with hooks_worker-status instead of waiting inline
  • Lists 12 workers (audit, optimize, predict, testgaps, ultralearn, deepdive, map, document, refactor, benchmark, consolidate, preload) with priorities and suggested intervals
  • Picks wake delays from the prompt-cache TTL, using 270s for the 5-minute cache and 1200-1800s for the 1-hour cache
  • Designed for long-running Ruflo analysis jobs that need periodic checks and a stop rule after two empty results

Install

$ npx -y skills add ruvnet/ruflo --skill loop-worker -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Use /loop for in-session periodic workers. Pick the delay from what you are waiting for:

  • With the 5-minute prompt-cache TTL, min(270, cache_ttl * 0.9) = 270s keeps the cache warm (ruflo-autopilot ADR-0001 owns that heartbeat).
  • If the ScheduleWakeup tool description says this session uses the 1-hour TTL, a 270s wake buys nothing; poll at 1200-1800s unless the worker finishes faster.

Dispatch a worker via MCP: mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "WORKER_NAME" }). It runs in the background by default (background: true), so check on it with hooks_worker-status instead of waiting inline.

Then schedule the next iteration. ScheduleWakeup needs the loop prompt back so the next firing re-enters the loop: ScheduleWakeup({ delaySeconds: 270, reason: "next WORKER_NAME iteration", prompt: "/loop <the same /loop input>", noop: false })

Stop the loop when the worker reports nothing new twice in a row: ScheduleWakeup({ stop: true }).

Available Workers (12, per ADR-0001 and /ruflo-loop)

Details

Repository
github.com/ruvnet/ruflo
Categories
Agent Workflow & Planning, Workflow Automation
First seen
Jun 3, 2026

Questions

What does the loop-worker skill do?

loop-worker runs Ruflo background workers on a schedule using Claude Code's native /loop and ScheduleWakeup tools. It dispatches a named worker such as audit or testgaps in the background, checks its status, and schedules the next iteration until the worker reports nothing new twice in a row.

How do I install loop-worker?

Run npx -y skills add ruvnet/ruflo --skill loop-worker -y in your project. After that, loop-worker lets the agent dispatch Ruflo workers in the background and keep checking on them with periodic wake-ups.

Which Ruflo workers can loop-worker dispatch?

loop-worker covers 12 workers, including audit for security analysis, optimize for performance, testgaps for test coverage, and document for auto-documentation. Each worker has a suggested interval of 270 or 600 seconds, which loop-worker uses to pick its wake-up delay.

Which skills lead the Agent Workflow and Planning category?

loop-worker sits in the Agent Workflow and Planning category on Claude Marketplaces, alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Its own focus is scheduling Ruflo background workers with native loop timing rather than planning sessions.

More from ruvnet/ruflo

All 236

Similar to Loop Worker

More Agent Workflow & Planning