loop-worker
하는 일
이 스킬은 보안 분석이나 테스트 공백 점검 같은 Ruflo 백그라운드 워커를 작업하는 동안 정해진 주기로 실행합니다. 일상 점검을 수동으로 하는 수고를 줄이고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓작업 세션 동안 보안이나 테스트 커버리지 점검을 반복하고 싶을 때.
- ✓백그라운드 워커가 실행 중이며 나중에 상태를 확인하고 싶을 때.
- ✓새로 발견된 것이 없으면 반복 점검을 멈추고 싶을 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-loop-workers/skills/loop-worker/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“작업하는 동안 몇 분마다 감사 워커를 백그라운드에서 계속 실행하고, 새로 발견된 것이 없으면 멈춰 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 워커를 백그라운드에서 시작하고 상태를 확인한 뒤, 짧은 지연 후 다음 실행을 예약합니다. 워커가 두 번 연속으로 새 내용이 없다고 보고하면 반복을 멈춥니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
ScheduleWakeuptool 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)
| Worker | Priority | Interval | Description |
|---|---|---|---|
| audit | critical | 270s | Security analysis |
| optimize | high | 270s | Performance optimization |
| predict | normal | 270s | Predictive preloading |
| testgaps | normal | 270s | Test coverage analysis |
| ultralearn | normal | 600s | Deep knowledge acquisition |
| deepdive | normal | 600s | Deep code analysis |
| map | normal | 600s | Codebase mapping |
| document | normal | 600s | Auto-documentation |
| refactor | normal | 600s | Refactoring suggestions |
| benchmark | normal | 600s | Performance benchmarking |
| consolidate | low | 600s | Memory consolidation |
| preload | low | 270s | Resource preloading |
The intervals are suggested cadences, not enforced by the dispatcher: 270s keeps the prompt cache warm, and the heavier analysis workers run at 600s because one iteration rarely finishes sooner.
Work you start in the background (a build, a long job) finishes with its own completion notification. Do not poll it with short ScheduleWakeup calls; use a long fallback delay (1200s or more) so the loop survives a hung job.
MCP tool responses include [LOOP_SUGGESTION] and [CRON_SUGGESTION] hints -- follow them.
자주 묻는 질문
얼마나 자주 확인하나요?
워커마다 권장 간격이 있으며, 예를 들어 감사 워커는 약 270초입니다. 세션이 더 긴 캐시 기간을 쓰면 더 긴 대기가 권장됩니다.
어떤 워커를 쓸 수 있나요?
스킬은 보안 분석, 성능, 예측 사전 로딩, 테스트 커버리지 등 12개의 워커를 나열합니다.
세션을 닫은 뒤에도 루프가 계속되나요?
아닙니다. 현재 세션 안에서 실행되므로 그 세션이 끝나면 멈춥니다.
상세 정보
인기도
- GitHub 스타
- 81k
- 순위
- #1642
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.