# Cfn Loop Orchestration V2

> CFN Loop orchestration: gate checks, validation, consensus, Product Owner decisions. Use when orchestrating multi-agent workflows, managing iteration cycles, or coordinating Loop 2/Loop 3 dependencies.

- Skill: `masharratt/cfn-loop-orchestration-v2` (Agent Skill, multi-file: 24 files)
- Install (CLI): `npx skillmds@latest add masharratt/cfn-loop-orchestration-v2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/masharratt/cfn-loop-orchestration-v2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: masharratt (https://skillmd.com/u/masharratt)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/masharratt/cfn-loop-orchestration-v2

---


# Loop Orchestration Skill (Mega-Skill)

**Version:** 1.1.0
**Purpose:** CFN Loop orchestration: gate check, validation, consensus, decision
**Status:** Production
**Consolidates:** cfn-loop-orchestration, cfn-loop-output-processing, cfn-loop-validation, cfn-loop-decision

> Coordination patterns (chain/broadcast/mesh/consensus) live in the standalone `cfn-coordination` skill. This mega-skill calls those patterns; it does not own them.

---

## Overview

- **Orchestrator** - Main loop execution and gate checks
- **Output** - Agent output parsing and consensus calculation
- **Validation** - Multi-layer validation framework
- **Decision** - Product Owner PROCEED/ITERATE/ABORT logic

---

## Directory Structure

```
cfn-loop-orchestration-v2/
├── SKILL.md
├── cli/
│   ├── orchestrate.sh
│   ├── cfn-orchestrator.cjs
│   └── resolve-provider-model.cjs
└── lib/
    ├── orchestrator/   # Loop execution + gate checks
    ├── output/         # Agent output parsing, consensus
    ├── validation/     # Multi-layer validation
    └── decision/       # Product Owner decision logic
```

---

## Migration Paths

| Old Skill | New Location |
|----------|----------|
| cfn-loop-orchestration/ | cfn-loop-orchestration-v2/lib/orchestrator/ |
| cfn-loop-output-processing/ | cfn-loop-orchestration-v2/lib/output/ |
| cfn-loop-validation/ | cfn-loop-orchestration-v2/lib/validation/ |
| cfn-loop-decision/ | cfn-loop-orchestration-v2/lib/decision/ |

For coordination patterns (chain/broadcast/mesh/consensus), see `.claude/skills/cfn-coordination/SKILL.md`.

---

## Entry Point

```bash
$HOME/.claude/skills/cfn-loop-orchestration-v2/cli/orchestrate.sh
```

Use the `$HOME/.claude/...` form — it resolves via the global skills symlink in every project. The project-relative `.claude/...` form only works in claude-flow-novice.

---

## Version History

### 1.1.0 (2026-05-13)
- Corrected aspirational claim: cfn-coordination is a standalone skill, not consolidated here
- Added decision/ to structure (was missing)
- Updated entry point path

### 1.0.0 (2025-12-02)
- Consolidated 4 loop orchestration skills into mega-skill

