Skip to main content
ClaudeWave
Skill196 estrellas del repoactualizado 3d ago

woz-update

The woz-update skill upgrades the WOZCODE plugin to its latest version by updating the marketplace entry, installing the newest plugin version, and clearing the update flag. Use this skill when WOZCODE has an available update or to ensure the plugin is running the most recent codebase with latest features and fixes.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/WithWoz/wozcode-plugin /tmp/woz-update && cp -r /tmp/woz-update/skills/woz-update ~/.claude/skills/woz-update
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Update WOZCODE Plugin

Update the WOZCODE plugin to the latest version.

Run these steps in sequence. After each bash command, check the exit code before proceeding.

## Step 1: Update marketplace

Try the update first:

```bash
claude plugin marketplace update wozcode-marketplace
```

If this fails (e.g. git/SSH auth error), fall back to adding via HTTPS, then removing the old entry:

```bash
claude plugin marketplace add https://github.com/WithWoz/wozcode-plugin.git
```

If the add succeeded, remove the old SSH-based entry:

```bash
claude plugin marketplace remove wozcode-marketplace
```

If the add failed, do NOT run remove — the old marketplace entry is still needed. Tell the user: "Marketplace update failed. Check your network connection and try again."

## Step 2: Update plugin to latest version

```bash
claude plugin update woz@wozcode-marketplace
```

`update` force-upgrades an already-installed plugin. `install` is a no-op when an entry already exists in `installed_plugins.json`, so it will not upgrade.

If `update` fails, fall back to:

```bash
claude plugin install woz@wozcode-marketplace
```

If both fail, tell the user: "Plugin update failed. Please report this issue at https://github.com/WithWoz/wozcode-plugin/issues"

## Step 3: Clear update flag and confirm

```bash
rm -f "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/wozcode/update-available.json"
```

After all steps succeed, tell the user:
- ✅ WOZCODE updated successfully
- Run `/reload-plugins` to apply the update or restart Claude Code