From superpowers-plus
Updates superpowers-plus to latest, reruns install cascade (superpowers-core fork → superpowers-plus → overlays), verifies with sp-doctor. Supports --branch for main, staging, dev branches.
npx claudepluginhub bordenet/superpowers-plus --plugin superpowers-plusThis skill uses the workspace's default tool permissions.
Pulls latest from all superpowers source repos, runs the cascading install, and heals any drift via sp-doctor.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Pulls latest from all superpowers source repos, runs the cascading install, and heals any drift via sp-doctor.
Override: Organization-specific overlays may override this skill with additional repos and install targets. This base version covers the core chain only.
sp-update operates on the currently checked-out superpowers-plus branch. The user can specify which branch to update:
sp-update --branch staging — update and checkout the staging branchsp-update --branch dev — update and checkout the dev branchsp-update (no branch) — update the current branchsp-update --branch main — update and checkout mainValid branches: main, staging, dev. The three-tier flow is dev → staging → main.
When the user specifies a branch, sp-update will fetch, checkout, and update that branch. After the update, the superpowers-plus checkout remains on the specified branch until changed explicitly.
Run each step in order. Failure handling varies by step — see rules below.
Parse the user's request for a --branch parameter. If not specified, sp-update operates on the currently checked-out branch.
sp-update --branch staging → update the staging branchsp-update --branch dev → update the dev branchsp-update --branch main → update the main branchsp-update (no branch) → update the current branchUse sp-update to update superpowers-plus and cascade the install.
# Specify branch if needed, otherwise operates on current branch
sp-update --branch main --verbose
# or just:
sp-update --verbose
What sp-update does:
install.sh --upgrade to cascade the install
install.sh updates superpowers-core (bordenet/superpowers fork) from origin mainRules:
sp-update automatically runs the cascading install. The flow is:
install.sh --upgrade updates obra/superpowersAll skills are installed to ~/.codex/skills/. If you need to re-run the install manually:
cd ~/.codex/superpowers-plus && bash install.sh --upgrade --verbose
This is normally not needed — sp-update handles it automatically.
sp-doctor
This runs all diagnostic checks on the installed skills. sp-doctor REPORTS (does not fix) issues like:
Handling:
To auto-fix safe issues (file endings, CRLF), use sp-doctor --fix-safe or run the full auto-fixer: bash ~/.codex/superpowers-plus/tools/doctor-checks.sh --fix --yes
node ~/.codex/superpowers-augment/superpowers-augment.js bootstrap
Confirm skills load successfully. Report the skill count to the user.
When the user says "update my superpowers" or "sp-update":
--branch <name> — if specified, use it; otherwise sp-update uses current branchsp-update --branch <branch> --verbose (if branch specified) or sp-update --verbose (if not)sp-doctor to verify installation healthcd ~/.codex/superpowers-plus && git restore .
install.sh sets execute bits on tools/doctor-modules/*.sh and tools/tests/*.sh that the repo tracks as non-executable; this leaves the worktree dirty after every updategit restore . reverts the permission changes without losing any content; the scripts remain functionalnode ~/.codex/superpowers-augment/superpowers-augment.js bootstrap to confirm skills loadKey behaviors:
--fix-safe or doctor-checks.sh --fix for auto-fixes)| Mode | Symptom | Recovery |
|---|---|---|
| Fetch fails (network/auth) | git fetch error, sp-update exits | Resolve network/auth, re-run sp-update |
| Branch doesn't exist on remote | git checkout fails with "no upstream tracking" | Verify branch exists: git branch -r |
| Dirty worktree blocks checkout | git checkout refuses to switch branches | git status, commit or stash changes, re-run |
| Fast-forward merge fails | Non-FF history, sp-update auto-resets | sp-update force-resets to remote (intentional safety) |
| install.sh fails | Install exits with error, skills not deployed | Check error message, may need manual install.sh --upgrade --verbose |
| sp-doctor reports errors | Content drift, version mismatches, divergence | Investigate each error; use doctor-checks.sh --fix for safe auto-fixes |
| Uncommitted changes after update | install.sh sets execute bits on tools/doctor-modules/*.sh and tools/tests/*.sh that the repo tracks as 100644; sp-doctor flags this as uncommitted changes | cd ~/.codex/superpowers-plus && git restore . — reverts permission-only changes, no content lost |