agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Check status of current or previous agent loop
$ npx -y skills add jmagly/aiwg --skill ralph-status --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ralph-statusContext preview
The summary Claude sees to decide when to auto-load this skill.
Check status of current or previous agent loop
namespace: aiwg name: ralph-status platforms: [all] description: Check status of current or previous agent loop commandHint: argumentHint: '[--verbose] [--latest] [--all --interactive --guidance "text"]' allowedTools: "Read, Glob, Bash" model: haiku category: automation modelRole: efficiency modelTier: economy
Check the status of agent loops.
/ralph-status # Current loop status /ralph-status --verbose # Detailed iteration history /ralph-status --latest # Show latest completion report /ralph-status --all # List all completion reports
1. Read `.aiwg/ralph/current-loop.json` 2. Display status summary
**If active loop exists**:
Agent Loop: ACTIVE
Task: {task}
Completion: {completion}
Progress: {current}/{max} iterations
Duration: {elapsed}
Status: {running | paused}
Last iteration:
Result: {result}
Learnings: {learnings}
Use /ralph-resume to continue or /ralph-abort to stop.**If no active loop**:
No active agent loop. Use /ralph "task" --completion "criteria" to start one.
Include full iteration history:
Agent Loop: ACTIVE
Task: {task}
Completion: {completion}
Progress: {current}/{max} iterations
Iteration History:
| # | Time | Action | Result | Learnings |
|---|------|--------|--------|-----------|
| 1 | 10:30 | Initial attempt | 3 failures | Need auth mocks |
| 2 | 10:32 | Added mocks | 1 failure | Date edge case |
| 3 | 10:34 | Fixed date | In progress... | - |Read and display most recent completion report:
1. Find latest `completion-*.md` in `.aiwg/ralph/` 2. Display contents
List all completion reports:
Agent Loop History | Date | Task | Status | Iterations | |------|------|--------|------------| | 2025-01-15 10:45 | Fix auth tests | SUCCESS | 3 | | 2025-01-14 15:20 | Migrate to ESM | SUCCESS | 8 | | 2025-01-13 09:00 | Add coverage | MAX_ITER | 10 | View report: /ralph-status --report 2025-01-15
**No state directory**:
Al has not been used in this project yet. Get started with: /ralph "your task" --completion "verification command" Or: /ralph --interactive
**Corrupted state**:
agent loop state file is corrupted. Options: 1. Delete and start fresh: rm -rf .aiwg/ralph/ 2. Check file manually: cat .aiwg/ralph/current-loop.json
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing