dual-loop

Delegate tasks from a strategic Outer Loop to a tactical Inner Loop with verification.

5|3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/richfrem/agent-plugins-skills --skill dual-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dual-loop
Source: https://github.com/richfrem/agent-plugins-skills/tree/main/plugins/agent-loops/skills/dual-loop
Command: npx skills add https://github.com/richfrem/agent-plugins-skills --skill dual-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Facilitates reliable delegation between an Outer Loop (strategic planner) and an Inner Loop (tactical executor), with built-in verification and iterative correction.

Core Features & Use Cases

  • Clear separation of strategy and execution to enable framework-agnostic orchestration.
  • Generation of Strategy Packets that specify goals, a Pre-Execution Diagram, allowed file paths, and strict "NO GIT" constraints for the inner loop.
  • Integrated delta verification, logging, and correction workflows to converge on correct outcomes.

Quick Start

Orchestrate a defined task by issuing a Strategy Packet to the Inner Loop, which executes, tests, and reports results for verification.

Frequently Asked Questions about dual-loop

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

FAQPage Schema
How do I coordinate task delegation between a strategic planner and a tactical executor agent?

Agent orchestration coordinates task delegation by issuing a Strategy Packet from a strategic Outer Loop to a tactical Inner Loop, executing the task, and verifying the delta outcomes. It separates planning from execution to ensure reliable iterative correction.

What is a dual-loop agent architecture and when do I need it for task verification?

A dual-loop agent architecture separates strategic planning from tactical execution to enable iterative task verification. You need it when decomposing complex tasks requires handing off goals to an executor and formally correcting the structured outcomes.

How do I generate a strategy packet to define goals and constraints for an inner execution loop?

To generate a strategy packet, define your goals, create a Pre-Execution Diagram, specify allowed file paths, and set strict non-GIT constraints for the inner loop. The packet is then issued to the tactical executor to guide execution and reporting.

Can I use this agent orchestration workflow in framework-agnostic environments?

Yes, this agent orchestration workflow applies across framework-agnostic contexts. It relies on formal strategy packets and structured correction reports rather than specific frameworks, ensuring task decomposition and delta verification work in any environment.

How does delta verification work when correcting iterative agent tasks?

Delta verification works by logging the outcomes of the tactical Inner Loop and comparing them against the strategy packet goals. If the results do not match, structured correction workflows are applied to iteratively converge on the correct outcome.

Why enforce strict no GIT constraints during inner loop task execution?

Strict no GIT constraints prevent the tactical inner loop from making unauthorized version control changes during execution. This ensures the executor operates only within allowed file paths, keeping the workflow safe for delta verification and iterative correction.