/super-gsd:sg-update No arguments needed.from super-gsd
Use this when GSD, Superpowers, or super-gsd may be outdated — checks each tool's installation status and installs or updates to the latest version.
Ships in super-gsd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
<execution_context> Self-contained. Uses Bash to run detection and install/update commands. </execution_context>
Run the following single bash block. All steps run in one shell process so variables persist through the summary.echo "Updating workflow tools..."
# Preflight: check for claude CLI
if ! command -v claude >/dev/null 2>&1; then
echo "Warning: 'claude' CLI not found on PATH. Plugin steps (superpowers, super-gsd) will be skipped."
CLAUDE_AVAILABLE=false
else
CLAUDE_AVAILABLE=true
fi
# GSD (@opengsd/get-shit-done-redux)
if command -v gsd-sdk >/dev/null 2>&1 || npm list -g --depth=0 @opengsd/get-shit-done-redux >/dev/null 2>&1; then
echo "Updating GSD..."
GSD_BEFORE=$(gsd-sdk --version 2>/dev/null || npm list -g --depth=0 @opengsd/get-shit-done-redux 2>/dev/null | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -1 || echo 'unknown')
NPM_OUT=$(npm install -g @opengsd/get-shit-done-redux@latest 2>&1)
NPM_EC=$?
echo "$NPM_OUT" | tail -3
if [ "$NPM_EC" -ne 0 ]; then
GSD_STATUS="failed (exit ${NPM_EC})"
else
GSD_AFTER=$(gsd-sdk --version 2>/dev/null || npm list -g --depth=0 @opengsd/get-shit-done-redux 2>/dev/null | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -1 || echo 'unknown')
GSD_STATUS="updated (${GSD_BEFORE} → ${GSD_AFTER})"
fi
else
echo "Installing GSD..."
NPM_OUT=$(npm install -g @opengsd/get-shit-done-redux@latest 2>&1)
NPM_EC=$?
echo "$NPM_OUT" | tail -3
if [ "$NPM_EC" -eq 0 ]; then
GSD_STATUS="installed"
else
GSD_STATUS="failed (exit ${NPM_EC})"
fi
fi
# superpowers
if [ "$CLAUDE_AVAILABLE" = "true" ]; then
if claude plugin list 2>&1 | grep -qiF 'superpowers'; then
echo "Updating superpowers..."
claude plugin install superpowers@claude-plugins-official 2>&1
PLUGIN_EC=$?
if [ "$PLUGIN_EC" -eq 0 ]; then
SUPERPOWERS_VER=$(claude plugin list 2>&1 | grep -i 'superpowers' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
if [ -n "$SUPERPOWERS_VER" ]; then
SUPERPOWERS_STATUS="updated (${SUPERPOWERS_VER})"
else
SUPERPOWERS_STATUS="updated"
fi
else
SUPERPOWERS_STATUS="failed (exit ${PLUGIN_EC})"
fi
else
echo "Installing superpowers..."
claude plugin install superpowers@claude-plugins-official 2>&1
PLUGIN_EC=$?
if [ "$PLUGIN_EC" -eq 0 ]; then
SUPERPOWERS_VER=$(claude plugin list 2>&1 | grep -i 'superpowers' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
if [ -n "$SUPERPOWERS_VER" ]; then
SUPERPOWERS_STATUS="installed (${SUPERPOWERS_VER})"
else
SUPERPOWERS_STATUS="installed"
fi
else
SUPERPOWERS_STATUS="failed (exit ${PLUGIN_EC})"
fi
fi
else
SUPERPOWERS_STATUS="skipped (claude not found)"
fi
# super-gsd
if [ "$CLAUDE_AVAILABLE" = "true" ]; then
if claude plugin list 2>&1 | grep -qiF 'super-gsd'; then
echo "Updating super-gsd..."
claude plugin install super-gsd@super-gsd 2>&1
PLUGIN_EC=$?
if [ "$PLUGIN_EC" -eq 0 ]; then
SUPERGSD_VER=$(claude plugin list 2>&1 | grep -i 'super-gsd' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
if [ -n "$SUPERGSD_VER" ]; then
SUPERGSD_STATUS="updated (${SUPERGSD_VER})"
else
SUPERGSD_STATUS="updated"
fi
else
SUPERGSD_STATUS="failed (exit ${PLUGIN_EC})"
fi
else
echo "Installing super-gsd..."
claude plugin install super-gsd@super-gsd 2>&1
PLUGIN_EC=$?
if [ "$PLUGIN_EC" -eq 0 ]; then
SUPERGSD_VER=$(claude plugin list 2>&1 | grep -i 'super-gsd' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)
if [ -n "$SUPERGSD_VER" ]; then
SUPERGSD_STATUS="installed (${SUPERGSD_VER})"
else
SUPERGSD_STATUS="installed"
fi
else
SUPERGSD_STATUS="failed (exit ${PLUGIN_EC})"
fi
fi
else
SUPERGSD_STATUS="skipped (claude not found)"
fi
echo ""
echo "Done."
echo ""
echo "Tools:"
echo "- GSD (@opengsd/get-shit-done-redux): ${GSD_STATUS}"
echo "- superpowers: ${SUPERPOWERS_STATUS}"
echo "- super-gsd: ${SUPERGSD_STATUS}"
echo ""
echo "Restart Claude Code to activate updated plugins."
After the bash block completes, relay its output to the user verbatim.
<success_criteria>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gyuha/super-gsd --plugin super-gsdOther plugins' skills for the same job
25 skills in this plugin
/sg-cleanupUse this to archive accumulated phase directories from completed milestones — delegates to gsd-cleanup, then displays a table of what was archived./sg-completeComplete a phase (bare number → delegates to sg-phase) or close a milestone (vX.Y, or the current milestone when no argument) via gsd-complete-milestone./sg-executeUse this when the phase plan is ready and implementation should begin — packages PLAN/REQ/SC and hands off to Superpowers via superpowers:executing-plans./sg-exploreUse this when you need a map of the current codebase structure — invokes gsd-map-codebase to analyse and document the project layout.