cfn-agent-lifecycle
Unified agent management from selection through completion - spawning, execution, output processing. Use when selecting agents for tasks, spawning agents with dependency validation, processing agent outputs, or tracking agent lifecycle events with audit trails.
npx skills add majiayu000/claude-skill-registry --skill cfn-agent-lifecycle --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Lifecycle Management Skill (Mega-Skill) **Version:** 2.0.0 **Purpose:** Unified agent management from selection through completion **Status:** Production **Consolidates:** cfn-agent-selector, cfn-agent-selection-with-fallback, cfn-agent-spawning, cfn-agent-output-processing, cfn-agent-execution --- ## Overview This mega-skill provides complete agent lifecycle management: - **Selection** - Task classification and agent selection with fallback - **Spawning** - Agent deployment with dependency validation - **Output** - Structured output parsing and validation - **Audit** - SQLite lifecycle tracking for audit trails --- ## Directory Structure ``` agent-lifecycle/ ├── SKILL.md # This file ├── lib/ │ ├── selection/ # Agent selection (from cfn-agent-selector + cfn-agent-selection-with-fallback) │ │ ├── select-agents.sh # Basic agent selection │ │ ├── select-agents-with-fallback.sh # Enhanced with fallback (recommended) │ │ ├── task-classifier.sh # Task classification │ │ ├── agent-mappings.json # Agent category mappings │ │ ├── src/ # TypeScript implementation │ │ │ ├── agent-selector.ts │ │ │ ├── cli.ts │ │ │ └── agent-selector.test.ts │ │ └── dist/ # Compiled TypeScript │ │ ├──
- Overview
- Directory Structure
- Quick Start
- 1. Select Agents for a Task
- 2. Spawn Agents
- 3. Track Lifecycle Events
- Module Details
- Selection Module (lib/selection/)
- Spawning Module (lib/spawning/)
- Output Module (lib/output/)
- Audit Module (lib/audit/)
- Integration with CFN Loop
- Migration from Individual Skills
- Old Paths → New Paths
Output (JSON): Register agent spawn Update confidence Mark completion Use TypeScript version export USE_TYPESCRIPT=true Or call directly node ./lib/selection/dist/cli.cjs "Implement auth" Test selection Test spawning dependencies
What does the cfn-agent-lifecycle skill do?
Unified agent management from selection through completion - spawning, execution, output processing. Use when selecting agents for tasks, spawning agents with dependency validation, processing agent outputs, or tracking agent lifecycle events with audit trails.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill cfn-agent-lifecycle --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
