Skills for Real Engineers. Straight from my .agents directory.
skill-iterative-loop
Agent skill fromnyldn/claude-octopus
Run tasks in a loop until goals are met — use for iterative refinement, polling, or convergence
How to install skill-iterative-loop
npx skills add nyldn/claude-octopus# or add only this skill to Claude Code: copy the folder
skills/skill-iterative-loop/
# into
~/.claude/skills/skill-iterative-loop/ (all projects)
.claude/skills/skill-iterative-loop/ (one project)
1> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.2> Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands.3> Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it.4> For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.567# Iterative Loop Execution89## Overview1011Systematic iterative execution with clear goals, exit conditions, and progress tracking.1213**Core principle:** Define goal → Set max iterations → Execute → Evaluate → Loop or complete.141516## When to Use1718**Use this skill when user wants to:**19- Execute a task multiple times with refinements20- Loop until a condition is met21- Iteratively improve something (code, tests, performance)22- Retry operations with modifications23- Progressive enhancement in rounds2425**Do NOT use for:**26- Single execution ("run tests once")27- Manual step-by-step work28- Infinite loops without bounds29- Simple retry logic (use skill-debug)303132## The Process3334### Phase 1: Loop Setup3536#### Step 1: Understand the Intent3738```markdown39**Loop Intent:**4041Goal: [what should be achieved]42Success criteria: [how do we know we're done]43Max iterations: [safety limit]44Per-iteration tasks: [what to do each loop]45```4647#### Step 2: Clarify Parameters4849Use AskUserQuestion if unclear:5051- **Max iterations:** How many times maximum?52…
Excerpt shown under the repository's MIT license.
More skills in claude-octopus
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
