AD ralph-loop
Generate copy-paste bash scripts for Ralph Wiggum/AI agent loops (Codex, Claude Code, OpenCode, Goose). Use when asked for a "Ralph loop", "Ralph Wiggum loop", or an AI loop to plan/build code via PROMPT.md + AGENTS.md, SPECS, and IMPLEMENTATION_PLAN.md, including PLANNING vs BUILDING modes, backpressure, sandboxing, and completion conditions.
As a process D 46/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 4
✓ No critical or high findings
Medium and low: 4
-
low Dangerous commands
cmd-privilegeREADME.md:157Privilege escalation / world-writable permissions (documentation of a security skill)sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile
security skill -
low Dangerous commands
cmd-privilegeREADME.md:158Privilege escalation / world-writable permissions (documentation of a security skill)echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
security skill -
low Dangerous commands
cmd-privilegeREADME.md:167Privilege escalation / world-writable permissions (documentation of a security skill)sudo tee /etc/systemd/system/ralph-loop.service << 'EOF'
security skill -
low Dangerous commands
cmd-background-processREADME.md:186Starts a background / autostarted process (documentation of a security skill)sudo systemctl enable ralph-loop
security skill
Files scanned: 7. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 46/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 4 mutating operations with no state check
- 40Consistency. Frontmatter name (ralph-loop) differs from the folder (monitored-ralph-loop)
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 100Steps. 33 steps
- 100Execution cost. Instruction body is 2315 tokens
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 10 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (3 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -4Absolute local paths (C:\Users, /home/…): not portable
- +1No license
- +2Single-language instructions
- +5Description quotes 2 example trigger phrases
- +3Description length 345: enough signal without eating the budget
- +4Structure: 27 headings
- +3Step-by-step instructions: 33 items
- +4Has examples (18 code blocks)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 88.