Install any skill in seconds. Free to start, no credit card required.
Get Started Free →modu-ai/moai-workflow-loop
Ralph Engine - Automated feedback loop with LSP diagnostics and AST-grep integration for continuous code quality improvement.
Passed 14 of 18 test cases with the skill, and 7 of 18 without it.
and 9 more in the full report
8 fixed9 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are writing an automated tool integration hook for tool usage. When the post-tool LSP diagnostic script evaluates file changes after an edit and finds 2 active syntax errors, what exit code must it return to signal that attention is needed, and what exit code signals no action needed?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies exit code `2` as the status code indicating attention is needed due to diagnostic errors. | Missed | Passed |
| States that exit code `0` signals no action is needed. | Passed | Passed |
The instructions your model reads when the skill loads.
Automated feedback loop system integrating LSP diagnostics, AST-grep security scanning, and test validation for continuous code quality improvement.
The /moai loop skill (.claude/skills/moai/workflows/loop.md) re-expresses this Ralph engine as a goal preset built ON the goal engine: a scan stage builds a finite issue queue, and the iterate-until-done decision is delegated to the goal engine (stop-goal) with the pre-filled condition "queue drained + diagnostics clean". In this preset architecture, this SKILL.md documents the underlying LSP / AST-grep / test / coverage diagnostic machinery that the goal-preset sweep drives; the preset layers the goal-engine composition on top of that machinery WITHOUT changing it. The four loop quadrants (goal-based sweep, turn-based /moai fix, time-based cadence, proactive CI-watch) are presets on the one goal engine, not independent engines.
Core Capabilities:
Key Components:
Commands:
When to Use:
test cases passed, vs 7 / 18 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.