Iteration Cap — Development skill for Claude Code
Set the Second Pass iteration cap — the max number of revision attempts before the skill delivers the best attempt and stops.
How to install Iteration Cap
Installs to ~/.claude/skills/hubwizard-second-pass-iteration-cap/SKILL.md
mkdir -p ~/.claude/skills/hubwizard-second-pass-iteration-cap && curl -fsSL https://raw.githubusercontent.com/HubWizard/second-pass/HEAD/commands/iteration-cap.md -o ~/.claude/skills/hubwizard-second-pass-iteration-cap/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Iteration Cap does
description: Set the Second Pass iteration cap — the max number of revision attempts before the skill delivers the best attempt and stops. Accepts a positive integer. argument-hint:
Set Second Pass iteration cap
The user wants to set the Second Pass iteration cap to: **$ARGUMENTS**
Perform these steps:
- Validate the argument. It must be a positive integer (1 or greater). Reject: empty, non-numeric, zero, negative, decimal, multiple tokens. If invalid, respo
Alternatives in Development
- Autoresearch — Claude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code 2.5k ★
- Projectmem — Open-source coding agent memory 766 ★
- Bug Race — Use when a bug has already survived at least one debugging attempt and you have 2-3 genuinely distinct root-ca 130 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Passing Grade
Set the Second Pass passing grade. Any output graded below this bar triggers a revision loop. Accepts A, B, C,
Validate Sweep
Autonomous validation loop — detect, validate, fix, re-validate until PASS or max attempts
Lenient
Set Second Pass to lenient mode — passing grade C, iteration cap 2, confirm revisions off. For quick drafts wh
Loopgen Rs
Agentic loop runner for Claude Code — turns a goal into an iterative claude -p loop with a LOOP_STATUS termina
Bringback5hourlimit
Bring back the Claude Code 5-hour usage limit: a local, self-imposed rolling cap for Claude Ultra (weekly-only
Contribute Loop
Run N sequential contributions. Different from /contribution-fleet (parallel). Stops early on suspicious_halt
Related Agents
Lean Prover
Writes and repairs Lean 4 + Mathlib proofs in the lean-proof-agents repo. Search-first, 2-attempt iteration ca
Orchestrator Reviewer
Read-only Opus reviewer for the orchestrator skill. Spawn after a specialist delivers code changes and before
Omd Final QA
Read-only final-gate critic. Enforces an 8-item rubric. Hard 2-round revision cap. Forbids 'looks good' rubber