wright
/wright
Aktualizuje pluginy marketplace Claude Code z poziomu sesji, wszystkie naraz albo jeden wskazany po przybliżonej nazwie.
- Autor
- slamb2k ↗
- Repozytorium
- mad-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 03.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 03.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/update-plugins.py, scripts/update-plugins.test.js
Co robi i kiedy
Aktualizuje pluginy marketplace Claude Code z poziomu sesji, wszystkie naraz albo jeden wskazany po przybliżonej nazwie.
Argumenty
/wright <plugin-name>, --dry-run (both optional)
Oryginalny opis (EN)
Update Claude Code marketplace plugins from inside a session — all of them, or one by fuzzy name. Use when the user wants to update plugins, refresh a plugin, or asks how to update mad-skills / superpowers / a specific plugin without the interactive picker.
Jak działa
- Output Formatting
- Argument
- Pre-flight
- Flow
- Notes
- Report to User
Podgląd SKILL.md
---
name: wright
description: Update Claude Code marketplace plugins from inside a session — all of them, or one by fuzzy name. Use when the user wants to update plugins, refresh a plugin, or asks how to update mad-skills / superpowers / a specific plugin without the interactive picker.
argument-hint: <plugin-name>, --dry-run (both optional)
allowed-tools: Bash
---
# Wright - Plugin Updater
When this skill is invoked, IMMEDIATELY output the banner below before doing anything else.
Pick ONE tagline at random — vary your choice each time.
CRITICAL: Reproduce the banner EXACTLY character-for-character, including the diagonal `/` glyph before the name.
```
{tagline}
/$$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$$
/$$/| $$ /$ | $$| $$__ $$|_ $$_/ /$$__ $$| $$ | $$|__ $$__/
/$$/ | $$ /$$$| $$| $$ \ $$ | $$ | $$ \__/| $$ | $$ | $$
/$$/ | $$/$$ $$ $$| $$$$$$$/ | $$ | $$ /$$$$| $$$$$$$$ | $$
/$$/ | $$$$_ $$$$| $$__ $$ | $$ | $$|_ $$| $$__ $$ | $$
/$$/ | $$$/ \ $$$| $$ \ $$ | $$ | $$ \ $$| $$ | $$ | $$
/$$/ | $$/ \ $$| $$ | $$ /$$$$$$| $$$$$$/| $$ | $$ | $$
|__/ |__/ \__/|__/ |__/|______/ \______/ |__/ |__/ |__/
```
Taglines:
- 🔧 Tightening every bolt in the toolbox...
- 🛠️ The wright is in — fixing up your plugins!
- ⚙️ Refitting the fleet, one plugin at a time...
- 🪚 A little maintenance never hurt anybody!
- 🧰 Checking the workshop for stale tools...
- 🔩 Bringing everything up to spec!
- 🏗️ Overhaul in progress...
- 📐 Measure twice, update once!
---
## Output Formatting
After the banner, display parsed input:
```
┌─ Input ────────────────────────────────────────
│ Target: {plugin name or "all installed"}
│ Flags: {parsed flags or "none"}
└────────────────────────────────────────────────
```
Pre-flight results:
```
── Pre-flight ───────────────────────────────────
✅ {dep} {version or "found"}
⚠️ {dep} not found → {fallback detail}
❌ {dep} missing → stopping
──────────────────────────────────────────────────
```
Status icons: ✅ done · ❌ failed · ⚠️ degraded · ⏳ working · ⏭️ skipped
---
Update installed Claude Code plugins by orchestrating the `claude plugin`
CLI — the CLI does the real work (refreshing marketplace sources, including
the GCS-backed official one, resolving versions, populating the cache); this
skill adds only what the CLI itself lacks on its own: updating everything in
one call, and targeting one plugin by fuzzy name instead of its exact
`plugin@marketplace` id.
## Argument
Parse the optional argument and flag from the request:
- *(empty)* — target every installed plugin
- `<name>` — fuzzy-matched against installed plugins (e.g. `super` → `superpowers`)
- `--dry-run` — resolve targets and print what would run, without executing
anything. The CLI has no check/preview mode of its own, so this can only
list targets and their current versions, not the versions available.
## Pre-flight
| Dependency | Type | Check | Required | Resolution | Detail |
|-----------|------|-------|----------|------------|--------|
| claude | cli | `claude --version` | yes | stop | This skill runs inside a Claude Code session — if the CLI itself isn't on PATH something is very wrong; stop and report |
| python3 | cli | `python3 --version` | yes | url | Install from https://www.python.org/downloads/ — the engine script is Python (reuses `difflib` for fuzzy name matching rather than reimplementing it) |
For each row, in order:
1. Run the Check command
2. If found: continue silently
3. If missing: apply Resolution strategy
- **stop**: notify user with Detail, halt execution
- **url**: notify user with Detail (install link), halt execution
4. After all checks: summarize what's available
## Flow
Engine: `skills/wright/scripts/update-plugins.py`. Runs the updates by
default; `--dry-run` previews only. Run via Bash, resolving the skill root
the same way every other skill in this plugin does:
```bash
for SKILL_ROOT in \
"${CLAUDE_PLUGIN_ROOT:-}" \
"$HOME/.claude/plugins/marketplaces/slamb2k" \
"$(dirname "$(readlink -f "$0")")/.."
do
[ -f "$SKILL_ROOT/skills/wright/scripts/update-plugins.py" ] && break
done
python3 "$SKILL_ROOT/skills/wright/scripts/update-plugins.py" [<query>] [--dry-run]
```
1. **Update (default).** Runs `claude plugin marketplace update` (every
marketplace, or just the one marketplace for a single fuzzy-matched
target), then `claude plugin update <id>` per target, and reports a
`PLUGIN / BEFORE / AFTER / STATUS` table by diffing `claude plugin list`
before and after. The final line is
`WRIGHT_RESULT applied=true updated=<n> names=<…> failed=<n> failed_names=<…> marketplaces_failed=<…>`.
**One failure never stops the run:**
- If the bulk refresh fails, each needed marketplace is refreshed on its own.
- Plugins whose marketplace still can't be refreshed are **skipped**.
- A plugin whose `claude plugin update` fails is recorded as **failed**.
- Every other plugin is still updated. The script exits `0` when everything
succeeded and `2` when the run was partial, and prints each failure with
its reason plus a retry hint for each unreachable marketplace.
2. **Preview (`--dry-run`).** Resolves and lists the targets and their
current versions without touching anything, ending with
`WRIGHT_RESULT applied=false targets=<n>`.
3. **No installed plugins:** the script exits non-zero with
`no installed plugins found` on stderr — relay that directly.
4. **Unmatched query:** the script only matches an exact base name or a
substring (unique, or narrowed by closeness among genuine substring
candidates) — it deliberately has no catch-all fuzzy fallback across the
whole install list, because that tier used to match clearly-unrelated
queries (e.g. `nonexistent-xyz` → `context7`) often enough to be worse
than admitting no match. On a miss it exits non-zero with
`no installed plugin matches '<query>' — installed: <comma-separated
names>` on stderr. **Use that list yourself**: if the intended plugin is
reasonably inferable from context (a near-miss spelling, a name you
recognize from the conversation), say which one you picked and why, then
re-run with the exact name; if it's genuinely ambiguous, ask the user
rather than guessing.
Fuzzy matching (exact base name → unique/closest-among-candidates substring)
is the entire reason this is Python rather than bash: reusing `difflib`
beats hand-rolling string-distance matching in shell.
`ponytail: no dry-run version-delta preview — the CLI has no check mode, so
--dry-run can only show current versions, not what's available. Upgrade path:
none needed unless the claude CLI itself grows a preview mode to build on.`
**Restart to apply.** The CLI updates the install on disk, but this running
session keeps the old code until it restarts — tell the user to restart the
session (or their client) so the new versions actually load, naming what
changed from the `names=` list.
## Notes
- Superpowers and the other `claude-plugins-official` plugins are covered
the same way as any other plugin here: `claude plugin marketplace update`
refreshes the GCS-backed manifest their marketplace lives in.
- Fuzzy match is exact-base → unique-substring → closest; an ambiguous or
absent query stops with a clear message rather than guessing wrong.
- `scripts/update-plugins.test.js` runs the engine against a fake `claude`
CLI on `PATH` to cover the partial-failure paths (bad marketplace, failed
plugin update, bulk-only refresh failure, single target);
`tests/evals.json` covers the skill-level behavior.
## Report to User
```
┌─ Wright · Report ──────────────────────────────
│
│ ✅ Update complete (⚠️ Partial update — exit 2)
│
│ 🔧 Target: {plugin name or "all installed"}
│
│ 📊 Plugin Before After Status
│ {name} {version} {version} ↑ updated
│ {name} {version} {version} = current
│ {name} {version} {version} ⏭ skipped
│ {name} {version} {version} ✗ failed
│
│ ❌ Not updated (only when failed > 0)
│ • {name}: {reason}
│ • hint: {retry hint for each failed marketplace}
│
│ ⚡ {n} updated — restart your session to apply {names}
│ (or: "All already current. Nothing to restart.")
│
└─────────────────────────────────────────────────
```
Status is always shown as symbol **and** word — never colour alone. On a
partial run, keep the list of updated plugins, and put the failures with their
reasons in the report; don't retry them unasked. If a marketplace fails with a
git error, the hint's `git -C ~/.claude/plugins/marketplaces/<m> pull --ff-only`
is a safe fix to offer — it only fast-forwards that marketplace's clone.
If `--dry-run`, replace the report with the script's target list and note
that nothing was executed — no report box needed for a preview.
Pliki w paczce (4)
- SKILL.md 10 KB
- scripts/update-plugins.py 8 KB
- scripts/update-plugins.test.js 5 KB
- tests/evals.json 3 KB
Wersje
W bazie nie ma innych skilli o nazwie wright.
Migawka bazy z 13.11.2026 · wersja paczki 80f8fdfc347b (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100update-plugins
Sprawdza nieaktualne marketplace i wtyczki Claude Code w różnych zakresach i aktualizuje po potwierdzeniu użytkownika. - 100claude-plugins
Opisuje, jak budować i rozpowszechniać wtyczki Claude Code: plugin.json, marketplace.json, polecenia, agenci, skille i hooki. - 100import-plugins
Przenosi pluginy zainstalowane w Claude Code lub Codex do Kiro albo importuje plugin prosto z adresu GitHub marketplace. - 95plugin-writer
Tworzy od zera wtyczki Claude Code z odpowiednią strukturą katalogów i metadanymi, konfiguruje serwery MCP i dopisuje je do marketplace.json. - 100plugin-marketplace
Prowadzi tworzenie i zarządzanie marketplace'ami pluginów Claude Code, walidację marketplace.json i dystrybucję pluginów. - 100plugin-marketplace-creator
Tworzy i konfiguruje marketplace'y wtyczek Claude Code hostowane na GitHubie: nowe repozytorium, dodawanie wtyczek, ustawienia dystrybucji dla zespołu i rozwiązywanie problemów.