update-agentslisted
Install: claude install-skill kimgoetzke/coding-agent-configs
# Update Agents
Check for updates to locally installed agents by fetching the latest from `kimgoetzke/coding-agent-configs` on GitHub and comparing against the local agents directory for the current coding agent product.
## Configuration
- **Remote repo**: `https://github.com/kimgoetzke/coding-agent-configs.git`
- **Scripts location**: Bundled in this skill's `scripts/` directory
### Target directory by tool
| Tool | Default target directory |
| ----------- | ------------------------ |
| Claude Code | `~/.claude/agents` |
| Copilot | `~/.copilot/agents` |
| Pi | `~/.pi/agent/agents` |
If you cannot determine which tool you are, ask the user.
## Workflow
### 1. Determine the current tool and target directory
First determine which tool is currently running this skill:
- If you are Claude Code, set:
- `TARGET_DIR=~/.claude/agents`
- `SKILL_DIR=~/.claude/skills/update-agents`
- If you are Copilot, set:
- `TARGET_DIR=~/.copilot/agents`
- `SKILL_DIR=~/.copilot/skills/update-agents`
- If you are Pi, set:
- `TARGET_DIR=~/.pi/agent/agents`
- `SKILL_DIR=~/.pi/agent/skills/update-agents`
If you cannot determine which tool you are, ask the user before proceeding.
Only use the directory for the currently running tool. Do not check or update the other tool's agents directory.
### 2. Check for updates
Run the check script using the current tool's skill directory:
```bash
bash "$SKILL_DIR/scripts/check-updates.sh" "$TARGET_DIR"
``