Agent skill · Security

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Version: 2.0.0
Path: skills/agent/cfn-agent-lifecycle/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 │ │ ├──

What's inside
Steps it walks through
  1. Overview
  2. Directory Structure
  3. Quick Start
  4. 1. Select Agents for a Task
  5. 2. Spawn Agents
  6. 3. Track Lifecycle Events
  7. Module Details
  8. Selection Module (lib/selection/)
  9. Spawning Module (lib/spawning/)
  10. Output Module (lib/output/)
  11. Audit Module (lib/audit/)
  12. Integration with CFN Loop
  13. Migration from Individual Skills
  14. Old Paths → New Paths
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going