List and Manage Agents
Manage your globally installed agents with listing, updating, and removal commands.List Global Agents
View All Installed Agents
Display all globally installed agents:Output Format
The listing shows:Installation Locations
Agents can be installed in two locations: System Directory (🌍):- Immediately available
- No PATH configuration required
- Requires write permissions
- User-specific installation
- Requires PATH configuration
- Works without sudo/admin rights
Information Displayed
For each agent:string
The agent’s command name
string
Installation directory (system or user)
boolean
Whether the agent is executable (✅ or ❌)
string
Example command to invoke the agent
date
Installation date
Update Global Agents
Update an Agent
Update an agent to the latest version from GitHub:Examples
What Happens During Update
- Verification: Checks if agent exists
- Download: Fetches latest version from GitHub main branch
- Backup: Preserves existing agent (overwritten on success)
- Installation: Writes new agent file and executable
- Confirmation: Displays success message
Update Output
When to Update
Update agents when:- New features are added to the agent
- Bug fixes are released
- System prompts are improved
- You want the latest capabilities
Version Tracking
Agents are always updated to the latest version from:Remove Global Agents
Remove an Agent
Delete a globally installed agent:Examples
What Gets Removed
Deletion removes:- System executable:
/usr/local/bin/<agent-name>(if exists) - User executable:
~/.claude-code-templates/bin/<agent-name>(if exists) - Agent file:
~/.claude-code-templates/agents/<agent-name>.md
Removal Output
Agent Not Found
If the agent doesn’t exist:Safety
Removal is immediate and cannot be undone. To restore:Managing Multiple Agents
Bulk Updates
Update multiple agents with a script:Bulk Removal
Remove multiple agents:Inventory Management
Export installed agents list:Troubleshooting
Agent Shows as Not Executable (❌)
Fix permissions:Agent Not Appearing in List
Verify installation:Update Fails
Check network connectivity:Cannot Remove Agent
Check permissions:Duplicate Agents
If agent exists in both system and user directories:Best Practices
Regular Updates
Update agents monthly or when new features are announced:Documentation
Document your installed agents:Team Synchronization
Share agent configurations across teams:Cleanup Unused Agents
Regularly review and remove unused agents:Backup Agent Files
Backup agent configurations:Advanced Management
Custom Agent Registry
Maintain a custom registry:Automated Updates
Schedule automatic updates with cron:Health Check
Verify all agents are functional:Migration
Moving Between Machines
Export agents:System to User Migration
Move from system to user directory:Next Steps
- Create Global Agents - Create new global agents
- Install Components - Install project agents
- CLI Flags Reference - All CLI flags
- Configuration Guide - Configuration files