Updates agent files to align with the latest template structure and applies any specified changes while preserving unique agent characteristics.
Updates agent files to align with the latest template structure while preserving unique agent characteristics and personality. Use this when agents need template compliance updates or when you want to apply specific changes across multiple agents without affecting their core identity.
/plugin marketplace add alvis/.claude/plugin install governance@alvisUpdates agent files to align with the latest template structure and applies any specified changes while preserving unique agent characteristics.
This command systematically updates agent files to maintain consistency with the current template while preserving each agent's unique personality, expertise, and collaboration networks.
What this command does NOT do:
/create-agent instead)When to REJECT:
/agents directorytemplate:agent is missing or invalidultrathink: you'd perform the following steps
Output Format:
[✅/❌] Command: update-agent $ARGUMENTS
## Summary
- Agents processed: [count/total]
- Successfully updated: [count]
- Failed updates: [count]
- Template compliance: [PASS/FAIL]
## Actions Taken
1. [Batch processing of agents with results]
2. [Template alignment changes applied]
3. [Custom changes applied (if any)]
## Workflows Applied
- Update Agent Workflow: [Status]
## Updated Agents
- [agent-name]: [Changes applied]
- [agent-name]: [Changes applied]
## Issues Found (if any)
- **Agent**: [agent-name]
**Issue**: [Description of problem]
**Resolution**: [Applied fix or manual intervention needed]
/update-agent
# Updates all agents in /agents directory to latest template
# Preserves unique characteristics while ensuring template compliance
/update-agent "priya-sharma"
# Updates only the priya-sharma agent file
# Aligns with template while preserving role-specific content
/update-agent "*frontend*"
# Updates all agents with 'frontend' in their filename
# Useful for updating agents with similar roles or expertise
/update-agent --change="Add new security compliance gate"
# Updates all agents and applies additional changes
# Template alignment plus specified modifications
/update-agent "james-mitchell" --change="Update collaboration network to include new DevOps role"
# Updates specific agent with both template alignment and custom changes
# Preserves agent identity while making requested modifications
/update-agent "*-engineer*" --change="Update tool permissions for new security standards"
# Updates all engineer-type agents with security updates
# Efficient for role-based mass updates
/update-agent "non-existent-agent"
# Error: Agent file not found
# Suggestion: Use 'ls agents/' to see available agents
# Alternative: Use '/update-agent' to update all agents
/update-agent --verify
# Validates all agents against current template without making changes
# Reports compliance status and suggests improvements