update · diff
git:20260522.10751eb to git:20260522.d08768b
6 added, 30 removed. Audit A to A.
---
name: update
description: "Pull the latest flagrare skills from GitHub. Use when the user says 'update skills', 'refresh skills', 'pull latest skills', 'update flagrare', or 'sync skills'."
---
# Update
Pull the latest version of all flagrare skills from the remote repository.
## When to Use
- User says "update skills", "refresh skills", "pull latest skills", "update flagrare", "sync skills"
- User wants to get the newest version of a skill after a known push
## Procedure
- Run:
+ Run the update script:
```bash
- # Migration: older installs named the marketplace 'personal'.
- # Detect and clean that up before refreshing.
- if claude plugin marketplace list 2>/dev/null | grep -q "Flagrare/agent-skills"; then
- old_name=$(claude plugin marketplace list 2>/dev/null \
- | awk '/❯/{name=$2} /Flagrare\/agent-skills/{print name; exit}')
- if [ -n "$old_name" ] && [ "$old_name" != "flagrare-skills" ]; then
- echo "Migrating marketplace name: $old_name → flagrare-skills"
- claude plugin disable "flagrare@${old_name}" 2>/dev/null || true
- claude plugin marketplace remove "$old_name" 2>/dev/null || true
- if command -v python3 &>/dev/null; then
- python3 - "$HOME/.claude/settings.json" "$old_name" <<'PYEOF'
- import json, sys
- path, old = sys.argv[1], sys.argv[2]
- with open(path) as f:
- data = json.load(f)
- data.get("enabledPlugins", {}).pop(f"flagrare@{old}", None)
- with open(path, "w") as f:
- json.dump(data, f, indent=2)
- f.write("\n")
- PYEOF
- fi
- fi
- fi
+ bash "${CLAUDE_PLUGIN_ROOT}/../../update.sh"
+ ```
- # Refresh the marketplace cache if it exists; otherwise add it.
- # Either path leaves other plugins untouched.
- claude plugin marketplace update flagrare-skills 2>/dev/null \
- || claude plugin marketplace add Flagrare/agent-skills
+ If the script is not found at that path (e.g. running from a remote install with a stripped layout), fall back to one-shot:
- # Ensure flagrare is enabled (idempotent)
- claude plugin enable "flagrare@flagrare-skills" 2>/dev/null || true
+ ```bash
+ bash <(curl -sL https://raw.githubusercontent.com/Flagrare/agent-skills/main/update.sh)
```
After running, tell the user:
> Skills updated from GitHub. Run `/reload-plugins` or restart Claude Code to apply.