parent-task-n-step-loop

Orchestrates multi-agent task decomposition and continuous execution loops for autonomous coding workflows.

Updated May 16, 2026
One-click install
npx skills add https://github.com/alimtvnetwork/img-pdf-v2 --skill parent-task-n-step-loop-alimtvnetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parent-task-n-step-loop
Source: https://github.com/alimtvnetwork/img-pdf-v2/tree/main/.agents/skills/parent-task-n-step-loop
Command: npx skills add https://github.com/alimtvnetwork/img-pdf-v2 --skill parent-task-n-step-loop-alimtvnetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large development tasks often stall because they require manual breakdown, coordination of multiple workstreams, and constant supervision. This Skill automates the full lifecycle: capturing the user's request, decomposing it into subtasks, dispatching parallel execution agents, and looping until completion. ## Core Features & Use Cases - Two-Phase Autonomous Loop: Planning mode captures the prompt, scans the codebase with subagents, and decomposes work into subtasks; Execution mode dispatches parallel agents and iterates until done. - Failure Memory & Rollback: Crashes are logged to .ai-memory/memory/issues/ with rollback, so repeated mistakes are avoided across runs. - CI/CD Pipeline Monitoring: Integrates with GitMap Pipeline-AI (gitmap pipeline-ai status) using adaptive ETA-based wait intervals instead of busy-polling. - Use Case: Hand the agent a large feature request like "add authentication to the API"; it writes a plan file, splits it into subtasks, runs two execution agents in parallel, tracks changed files, monitors the remote pipeline, and produces a single atomic commit. ## Quick Start Ask the agent to autonomously plan and execute your full feature request using the parent task N-step loop until all subtasks are complete.

Frequently Asked Questions about parent-task-n-step-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I autonomously execute a large coding task with AI agents?

Provide the full task prompt and the Skill captures it into a plan file, decomposes it into subtasks, then dispatches parallel execution subagents in a continuous loop. It finishes with a consolidated plan file and a single atomic git commit.

How does the multi-agent orchestration handle task decomposition?

Planning mode spawns two subagents to scan the codebase, generates a master spec, and breaks work into focused subtasks stored under `.ai-memory/plans/subtasks/`. Execution mode then dispatches two parallel agents with a maximum of two threads each.

Can I monitor remote CI/CD pipelines without busy-polling?

Yes, the Skill mandates GitMap Pipeline-AI (`gitmap pipeline-ai status --json`) with adaptive wait intervals based on `etaSeconds`. Tight polling loops with tools like `gh run view` are explicitly banned.

What happens when a subagent crashes during execution?

On failure, the Skill rolls back the changes and logs the incident to `.ai-memory/memory/issues/` as failure memory. This prevents repeating the same mistake in subsequent loop iterations.

Why are test runs and builds banned during routine turns?

The Skill enforces file-level linting only and prohibits full test suites, local runners, and build commands to keep loop iterations fast. Verification is delegated to the remote CI/CD pipeline monitored through GitMap.