By elct9620
Automate stable long-running code tasks like iterative refactoring or multi-file feature implementation using cron-scheduled loops with structured Plan → Execute → Review → Sample phases. Track progress across iterations, dispatch to subagents, and auto-stop when quality criteria pass.
npx claudepluginhub elct9620/claudekit --plugin powerloopA Claude Code plugin that enhances /loop with structured Plan → Execute → Review → Sample phases for quality-driven automation.
The built-in /loop repeats a prompt on a schedule — useful, but blind. It doesn't track what's done, what failed, or whether the results are actually correct.
powerloop adds structure:
/powerloop
The interactive setup guides you through six steps:
| Step | What you configure | Example |
|---|---|---|
| 1 | Goal | "Refactor all UI components" |
| 2 | Execute skills | /coding:write → /coding:review → /coding:refactor |
| 3 | Review skills | /coding:review → /coding:refactor |
| 4 | Interval | 5m |
| 5 | Sample config | Enabled, 10 passes |
| 6 | Confirmation | Review summary, then approve |
After confirmation, powerloop creates a cron schedule and immediately begins the Plan phase.
Scans the codebase against your goal, builds a progress table with per-item status, and verifies every aspect of the goal maps to at least one item.
Processes one item per cycle. Spawns a SubAgent (Sonnet) with your chosen execute skills. The SubAgent self-reviews before reporting back. New discoveries are appended as additional items.
Picks 2-3 items per cycle. Scanner SubAgents run in parallel to detect issues; a fixer SubAgent addresses failures sequentially. Fixed items are re-scanned in the next cycle to verify. Pauses if review cycles exceed 5.
Randomly spot-checks 2-3 items per cycle. Consecutive clean passes increment a counter; any failure freezes it and triggers a fix. When the counter reaches the target, the schedule auto-stops.
If sampling is disabled, the schedule auto-stops after the Review phase completes.
Progress is tracked in .powerloop/YYYY-MM-DD-<name>.note.md files. Users can .gitignore .powerloop/ to exclude them, or commit them to preserve the full execution history.
Example mid-execution state:
---
goal: "Refactor all UI components to use new Design System"
language: en
current_phase: review
started_at: 2026-04-04T10:00:00+08:00
interval: 5m
cron_id: a1b2c3d4
execute_skills: "/coding:write → /coding:review → /coding:refactor"
review_skills: "/coding:review → /coding:refactor"
sample_passes: 0/10
review_cycles: 1
---
| # | Item | Execute | Review | Sample | Notes |
|---|------|---------|--------|--------|-------|
| 1 | Extract Button component | done | done | pending | |
| 2 | Refactor Form component | done | in_progress | pending | Round 1 found issue |
| 3 | Unify Modal component API | done | pending | pending | |
| 4 | Replace legacy Card | done | pending | pending | |
| 5 | Update Sidebar navigation | done | pending | pending | Discovered during #2 |
## Log
| Cycle | Phase | Summary | Decision | Handoff |
|-------|-------|---------|----------|---------|
| 1 | plan | Decomposed into 4 items | Started from Button — deps first | |
| 6 | execute | Transitioned to review | | #3 #4 share overlay pattern — review together |
| 7 | review | #1 passed, #2 failed | Prioritized #2 fix — validation blocker | Nested form edge case untested — verify next cycle |
| Status | Meaning |
|---|---|
pending | Not started |
in_progress | Currently being worked on |
done | Completed |
failed | Needs retry (skipped after 3 failures) |
skipped | Intentionally skipped |
To stop a running powerloop, delete the cron schedule:
CronDelete <cron_id>
The cron_id is stored in the .note.md progress file and displayed when the loop starts.
/loop feature available (same underlying CronCreate mechanism)loophaus — Control plane for coding agents
TODO駆動で大きな実装タスクを段階的に進め、サブエージェントがレビューするスキル。ディレクトリベースのタスク管理で長時間・大規模な変更を着実に完遂。
AI development loop — orchestrator distributes tasks to headless workers, independent auditor verifies, structural enforcement auto-blocks downstream on upstream failure. Full-cycle validated with 10-scenario test harness.
Software engineering workflows with skills for planning, implementation, quality review, and structured thinking, plus a suite of specialist agents
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Share bugs, ideas, or general feedback.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim