Interactive installer (interactive-install-claude.sh):
- Add fetch_latest_agents() function to check GitHub for updates
- Clone latest agents from contains-studio/agents before installing
- Update local agents directory with upstream changes
- Gracefully fallback to local agents if GitHub fetch fails
- Call fetch_latest_agents() before install_agents() in main flow
Sync script (sync-agents.sh):
- Add REPO_AGENTS_DIR environment variable support
- Automatically update repository agents directory when syncing
- Keep installer agents in sync with Claude Code agents
This ensures users always get the latest agents from upstream GitHub
while maintaining customizations in the local repository.
- agent-updater.md: Special agent for syncing agents from GitHub
- sync-agents.sh: Automated script to update local agents from upstream
and push to Gitea for backup