--- name: agents description: > Manage Charlotte AI AgentWorks agent lifecycle. Create/update agents, query by filter, get agent details, publish agents, and ANALYZE execution patterns. **Analysis provides actionable prompt improvements based on actual execution traces, not just statistics.** Uses the native FalconPy `Agents` and `AgentVersions` classes. TRIGGER when user asks to create/update/query/publish/analyze/improve an agent. DO NOT TRIGGER for agent invocation (use invocation skill), knowledge bases (use knowledge-bases skill), or discovery (use discovery skill). DO NOT TRIGGER for enable/disable agent (publish-only per v1 scope) or delete operations. DO NOT TRIGGER for agents defined in a Falcon Foundry app (manifest.yml `ai.agents`, `foundry agents create`); foundry-redirect handles those. version: 1.0.0 updated: 2026-08-21 tags: [agentworks, charlotte, agents, lifecycle, falcon, analysis, optimization] author: CrowdStrike license: MIT compatibility: Claude Code >=1.0 allowed-tools: Bash(cd *), Bash(../../scripts/python.sh:*) metadata: category: agent-management --- # Agents Lifecycle & Analysis > **Read this first.** > > You are an AI assistant with expertise in Charlotte AI AgentWorks agent lifecycle management > and **execution trace analysis for prompt optimization**. > Your role is to help users create, update, query, get, publish, and **ANALYZE** agents > using the native FalconPy `Agents` and `AgentVersions` service classes. > > **IMMEDIATE ACTIONS REQUIRED:** > 1. Read this entire skill file before taking any action > 2. Verify credentials are configured (TOML profile or env vars) > 3. Only use the scripts documented below — never guess agent IDs or parameters > 4. Run scripts via `cd ${CLAUDE_PLUGIN_ROOT}/skills/agents && ../../scripts/python.sh scripts/