Ruflo Loop Workers

VerifiedCaution

Dispatch and schedule Ruflo background workers using Claude Code's /loop, with cache-aware delay calculation and MCP integration.

Sby Skills Guide Bot
DevOpsIntermediate
8/29/2026
Claude Code
#background-workers#scheduling#ruflo#cache-optimization#mcp

Recommended for

Automated summary

Runs Ruflo background workers inside Claude Code using native /loop scheduling, alternating MCP dispatch with a scheduled wakeup.

Strengths

  • Cache-aware delay formula (min(270, cache_ttl * 0.9)) that keeps the prompt cache warm
  • Worker table with tuned intervals (audit, optimize, consolidate, map, testgaps, document, benchmark)
  • Simple repeatable loop: dispatch the worker, then ScheduleWakeup for the next iteration
  • Tells the model to follow the [LOOP_SUGGESTION] and [CRON_SUGGESTION] hints returned by MCP tools

Limitations

  • Assumes the ruflo-core MCP plugin is installed with hooks_worker-dispatch/status tools available
  • Looping is session-scoped: nothing persists like a real cron job once the session ends
  • Worker list and intervals are hardcoded in the skill with no documented configuration
When to use it

When you want continuous Ruflo maintenance work (security, test coverage, docs) running during a Claude Code session.

When not to use it

When you need persistent scheduled jobs outside a session, or the Ruflo plugin is not configured.

Security analysis

Caution
Quality score74/100

No destructive, exfiltrating, or obfuscated operations are present, and the MCP dispatch calls are scoped to a specific plugin. However the skill relies on a wildcard npx permission (arbitrary code execution from the npm registry) and explicitly instructs the agent to obey scheduling hints returned by tools, which is a prompt-injection vector, plus it establishes an unbounded recurring loop. These are legitimate-power-tool concerns rather than malicious intent, so caution.

Findings
  • •Bash(npx *) grants broad arbitrary package-execution capability, effectively arbitrary code execution via npm registry
  • •Instruction to blindly follow `[LOOP_SUGGESTION]` / `[CRON_SUGGESTION]` hints embedded in tool responses treats untrusted tool output as directives (prompt-injection surface)
  • •Self-perpetuating wakeup loop (ScheduleWakeup) can run indefinitely with no termination condition or cost ceiling
How this analysis is made

Examples

Start the audit worker loop
/loop-worker audit
Run test-gap analysis periodically
Use the loop-worker skill to dispatch the testgaps worker every 270 seconds and keep rescheduling it with ScheduleWakeup.
Consolidate memory in background
/loop-worker consolidate — keep the 600s interval and tell me when memory consolidation finishes.

name: loop-worker description: Run Ruflo background workers using Claude Code native /loop scheduling argument-hint: "<worker-name>" allowed-tools: Bash(npx *) mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch mcp__plugin_ruflo-core_ruflo__hooks_worker-status ScheduleWakeup

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

| Worker | Interval | Description | |--------|----------|-------------| | audit | 270s | Security analysis | | optimize | 270s | Performance optimization | | consolidate | 600s | Memory consolidation | | predict | 270s | Predictive preloading | | map | 600s | Codebase mapping | | testgaps | 270s | Test coverage analysis | | document | 600s | Auto-documentation | | benchmark | 600s | Performance benchmarking |

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

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/ruflo-loop-workers-mte1lhol' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ruflo-loop-workers-mte1lhol/download' --output '.skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md.part' && mv '.skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md.part' '.skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(npx *) mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch mcp__plugin_ruflo-core_ruflo__hooks_worker-status ScheduleWakeup

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md' && test -s '.skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/loop-worker' && cp -R '.skill-downloads/ruflo-loop-workers-mte1lhol' '.claude/skills/loop-worker'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/ruflo-loop-workers-mte1lhol'

openskills read 'ruflo-loop-workers-mte1lhol'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/ruflo-loop-workers-mte1lhol/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills