Skip to main content

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 Directory (👤):
  • 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

  1. Verification: Checks if agent exists
  2. Download: Fetches latest version from GitHub main branch
  3. Backup: Preserves existing agent (overwritten on success)
  4. Installation: Writes new agent file and executable
  5. 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:
No version numbers are tracked; updates always fetch the current main branch version.

Remove Global Agents

Remove an Agent

Delete a globally installed agent:

Examples

What Gets Removed

Deletion removes:
  1. System executable: /usr/local/bin/<agent-name> (if exists)
  2. User executable: ~/.claude-code-templates/bin/<agent-name> (if exists)
  3. 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:
Check agent file exists:

Update Fails

Check network connectivity:
Verify agent exists on GitHub: Visit: https://aitmpl.com/ and search for the agent. Try manual update:

Cannot Remove Agent

Check permissions:
Manual removal:

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:
Import agents:

System to User Migration

Move from system to user directory:

Next Steps