jmagly/aiwg/iteration-control
Claude Code and agent skill by jmagly/aiwg
- community
Checking that the SKILL.md file is still in the repository.
Manage bounded iteration loops for autonomous implementation — track retries, synthesize failure feedback, and escalate when limits hit
Install
npx vskill@latest install jmagly/aiwg/iteration-controlSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Skill access pattern (post-kernel-pivot, 2026.5+)Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as/skill-nameby the platform. Reach them via:```bashaiwg discover "<capability>"aiwg show skill <name> --body```Only kernel-listed skills (aiwg-doctor,aiwg-refresh,aiwg-status,aiwg-help,use,aiwg-steward-routingon Claude Code) are directly invokable as slash commands. See skill-discovery rule.
iteration-control
Manages bounded iteration loops for autonomous implementation with escalation.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "pause the loop" → loop control signal
- "stop after N cycles" → explicit iteration limit
Purpose
This skill provides iteration control logic for guided implementation workflows. It tracks retry attempts, synthesizes feedback from failures, and decides whether to retry autonomously or escalate to the user.
Based on MAGIS research finding: Developer-QA iteration loops with bounds improve code quality while preventing infinite loops.
Behavior
When invoked during a validation loop:
- Track iteration state:
- Current iteration count
- Maximum allowed iterations (default: 3)
- Task identifier
- Evaluate validation results:
- Test results (pass/fail)
- Review results (approve/reject/feedback)
- Error messages and stack traces
- Synthesize feedback (on failure):
- Extract actionable items from test output
- Extract specific issues from review feedback
- Prioritize by severity
- Decide action:
proceed: Validation passed, continue to next taskretry: Validation failed, iteration < max, retry with feedbackescalate: Validation failed, iteration >= max, pause for user
- Format escalation (when needed):
- Summary of attempts made
- Consolidated feedback from all iterations
- Specific question or decision needed from user
Decision Logic
Input Format
Output Format
Proceed
Retry
Escalate
Configuration
Default settings (can be overridden per-flow):
Integration
Used by flow-guided-implementation to wrap the validation loop:
Traceability
- @research @.aiwg/research/REF-004-magis-multi-agent-issue-resolution.md
References
- @.aiwg/working/guided-impl-analysis/SYNTHESIS.md
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/prompts/reliability/resilience.md
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagentic/code/addons/guided-implementation/skills/iteration-control/SKILL.md
Popularity
- Repository stars
- 96
- Repository forks
- 12
- Repository npm downloads, 7 days
- 2,424
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 19 Mar 2026, 8 months ago.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jmagly/aiwg/iteration-control)