Cfn Agent Spawning

Agent process spawning with provider configuration and execution

masharratt Updated

File contents

Agent Spawning Submodule

Parent Skill: cfn-agent-lifecycle Purpose: Spawn agent processes with proper environment and provider configuration

Components

  • spawn-agent.sh - Primary agent spawning script
  • spawn-worker.sh - Worker process spawning
  • spawn-agent-wrapper.sh - Wrapper for standardized spawning
  • spawn-templates.sh - Template-based spawning
  • execute-agent.sh - Agent execution handler
  • get-agent-provider-env.sh - Provider environment configuration
  • parse-agent-provider.sh - Provider parsing utilities
  • check-dependencies.sh - Dependency validation

Usage

# Spawn an agent
$HOME/.claude/skills/cfn-agent-lifecycle/lib/spawning/spawn-agent.sh \
  --agent-type backend-dev \
  --task-id "task-123" \
  --provider kimi

# Execute agent directly
$HOME/.claude/skills/cfn-agent-lifecycle/lib/spawning/execute-agent.sh \
  --agent-id "agent-123" \
  --task "implement feature"

masharratt/claude-flow-novice/tree/main/.claude/skills/cfn-agent-lifecycle/lib/spawning commit 039282a72e

Frequently asked questions

npx skillmds@latest add masharratt/cfn-agent-spawning