context-injector-usage-guide

Coordinate container-based CFN Loop orchestration with Redis and GOAP decision logic.

14|2|Updated Sep 23, 2025
One-click install
npx skills add https://github.com/masharratt/claude-flow-novice --skill context-injector-usage-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-injector-usage-guide
Source: https://github.com/masharratt/claude-flow-novice/tree/main/.claude/cfn-loop-orchestration-v2/lib/orchestrator/src/helpers/CONTEXT_INJECTOR_USAGE_GUIDE.md
Command: npx skills add https://github.com/masharratt/claude-flow-novice --skill context-injector-usage-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Practical usage patterns for building and broadcasting contexts to CFN Loop agents.

Core Features & Use Cases

  • Pattern examples for single-agent, multi-agent, and iteration-aware contexts.
  • Guidance on formatting, validation, and broadcasting.

Quick Start

Read the guide to implement and extend patterns in your orchestration flow.

Frequently Asked Questions about context-injector-usage-guide

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

FAQPage Schema
How do I coordinate container-based CFN Loop orchestration for agent spawning and execution?

Container-based CFN Loop orchestration coordinates agent spawning, loop execution, and consensus flow using Redis for state management and GOAP-based decision logic. Use the orchestration toolchain—init, execute, spawn-loop3, monitor-loop3, gate-check, spawn-loop2, collect-consensus, trigger-po-decision—to manage iterative governance, task analysis, and robust error handling across Loop 3 implementers, Loop 2 validators, and Product Owner decision stages.

What context patterns should I use for single-agent, multi-agent, and iteration-aware CFN Loop agents?

Context patterns vary by agent scope: single-agent contexts isolate individual task execution, multi-agent contexts coordinate parallel spawning and consensus collection, and iteration-aware contexts track loop state across cycles. Format and validate contexts according to your agent count and whether monitoring or gate checks apply; broadcast formatted contexts to agents via the orchestration toolchain.

Do I need Redis and GOAP-based decision logic to run CFN Loop orchestration?

Yes. Redis manages state across container-based CFN Loop environments, while GOAP-based decision logic drives agent decision-making and consensus thresholding. Both are required to support iterative governance, monitoring, gate checks, and decision triggers in Loop 3 implementers, Loop 2 validators, and Product Owner workflows.

How do I validate and broadcast contexts to CFN Loop agents?

Validate context formatting against your agent pattern type, then broadcast using the orchestration toolchain's execute and spawn commands. Validation ensures contexts match single-agent, multi-agent, or iteration-aware schemas; broadcasting delivers formatted contexts to designated agent pools within your dockerized CFN Loop environment.

What happens if CFN Loop agent consensus or gate checks fail?

Failed consensus triggers collect-consensus and gate-check commands to re-evaluate thresholding logic and agent decisions. Robust error handling in the orchestration toolchain allows retry, reanalysis, or escalation to Product Owner decision triggers; monitor-loop3 provides visibility into failure points and agent state throughout recovery.