MCPInstall

pulling updates from skills repository

by obra

Sync local skills repository with upstream changes from obra/superpowers-skills

Installs
499
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/obra/superpowers-skills --skill pulling-updates-from-skills-repository
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads pulling updates from skills repository automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Updating Skills from Upstream

Overview

Pull and merge upstream changes from obra/superpowers-skills into your local skills repository while preserving your personal modifications.

Announce at start: "I'm using the Updating Skills skill to sync with upstream."

Prerequisites

Your skills repo must have a tracking branch configured. The plugin sets this up automatically (either as a fork with origin remote, or with an upstream remote).

The Process

Step 1: Check Current Status

Run:

cd ~/.config/superpowers/skills
git status

If working directory is dirty: Proceed to Step 2 (stash changes) If clean: Skip to Step 3

Step 2: Stash Uncommitted Changes (if needed)

Run:

git stash push -m "Temporary stash before upstream update"

Record: Whether changes were stashed (you'll need to unstash later)

Step 3: Determine Tracking Remote and Fetch

First, detect which remote to use:

TRACKING_REMOTE=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null | cut -d'/' -f1 || echo "")

Then fetch from the appropriate remote:

if [ -n "$TRACKING_REMOTE" ]; then
    git fetch "$TRACKING_REMOTE" 2>/dev/null || true
else
    git fetch upstream 2>/dev/null || git fetch origin 2>/dev/null || true
fi

Expected: Fetches latest commits from the tracking remote (or falls back to upstream/origin)

Step 4: Check What's New

Run:

git log HEAD..@{u} --oneline

Show user: List of new commits being pulled

Note: @{u} refers to the upstream tracking branch for your current branch

Step 5: Merge Changes

First, try a fast-forward merge (cleanest option):

git merge --ff-only @{u}

If fast-forward succeeds: Skip to Step 7 (no conflicts possible with fast-forward) If fast-forward fails: Your branch has diverged. Try regular merge:

git merge @{u}

If merge succeeds cleanly: Proceed to Step 7 If conflicts occur: Proceed to conflict resolution

Step 6: Handle Merge Conflicts (if any)

If conflicts:

  1. Run git status to see conflicted files
  2. For each conflict, explain to user what changed in both versions
  3. Ask user which version to keep or how to merge
  4. Edit files to resolve
  5. Run git add <resolved-file> for each
  6. Run git commit to complete merge

Step 7: Unstash Changes (if stashed in Step 2)

If you stashed changes:

git stash pop

If conflicts with unstashed changes: Help user resolve them

Step 8: Verify Everything Works

Run:

${SUPERPOWERS_SKILLS_ROOT}/skills/using-skills/find-skills

Expected: Skills list displays correctly

Step 9: Announce Completion

Tell user:

  • How many new commits were merged
  • Whether any conflicts were resolved
  • Whether their stashed changes were restored
  • That skills are now up to date

Common Issues

"Already up to date": Your local repo is current, no action needed

"fatal: no upstream configured": Your branch isn't tracking a remote branch. Check git remote -v to see available remotes, then set tracking with git branch --set-upstream-to=<remote>/<branch>

Detached HEAD: You're not on a branch. Ask user if they want to create a branch or check out main.

Fast-forward fails, diverged branches: Your local branch has commits that aren't in the remote. Regular merge will be needed, which may cause conflicts.

Remember

  • Always stash uncommitted work before merging
  • Explain conflicts clearly to user
  • Test that skills work after update
  • User's local commits/branches are preserved

FAQ

What does the pulling updates from skills repository skill do?

Sync local skills repository with upstream changes from obra/superpowers-skills

How do I install pulling updates from skills repository?

Run npx skills add https://github.com/obra/superpowers-skills --skill pulling-updates-from-skills-repository in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/pulling-updates-from-skills-repository/ (personal) or .claude/skills/pulling-updates-from-skills-repository/ (project).

Which AI agents can use pulling updates from skills repository?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is pulling updates from skills repository safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains pulling updates from skills repository?

It is published by obra in obra/superpowers-skills. It has 499 recorded installs.

More from obra/superpowers-skills

View all →

getting started with skills

obra/superpowers-skills

Skills wiki intro - mandatory workflows, search tool, brainstorming triggers

949 installs

collision-zone thinking

obra/superpowers-skills

Force unrelated concepts together to discover emergent properties - "What if we treated X like Y?"

580 installs

brainstorming ideas into designs

obra/superpowers-skills

Interactive idea refinement using Socratic method to develop fully-formed designs

567 installs

test-driven development (tdd)

obra/superpowers-skills

Write the test first, watch it fail, write minimal code to pass

Testing & QA563 installs

systematic debugging

obra/superpowers-skills

Four-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions.

root cause tracing

obra/superpowers-skills

Systematically trace bugs backward through call stack to find original trigger

557 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs

caveman-help

juliusbrussee/caveman

Quick-reference card for the three caveman skills and their commands. Trigger: /caveman-help or "caveman help".

404K installs