Skip to content

Add a skill from GitHub and update it ​

Last updated Nov 27, 2026 View as Markdown

Start from an agent project that pins the skill test-driven-development at the tag v4.0.0 of superpowers, as a project written before v7.0.2 came out does. Move the skill to that newer release, and add a second skill that follows its repository's default branch. The commands run in the agent project.

Move a skill to a new release ​

Add the skill again by the URL of the new release. Pandra updates its table in place and prints the change as a diff, the old value on a - line and the new one on a + line:

terminal
sh
pandra add https://github.com/obra/superpowers/tree/v7.0.2/skills/test-driven-development
text
Updated `[skills.test-driven-development]`
    source  https://github.com/obra/superpowers/skills/test-driven-development
  - ref     tag v4.0.0
  - commit  95c6e1633630
  + ref     tag v7.0.2
  + commit  22f0b463e7a5
Updated pandra.lock

Follow a branch ​

Without a ref, such as the tag v7.0.2 in the URL of step 1, a skill follows the repository's default branch, and pandra.lock pins the commit it found:

terminal
sh
pandra add github.com/obra/superpowers/skills/brainstorming
text
Added `[skills.brainstorming]` to pandra.toml and updated pandra.lock.
  pinned skill brainstorming from https://github.com/obra/superpowers/skills/brainstorming (commit 22f0b463e7a5)
pandra.toml
toml
[skills.brainstorming]
git = "https://github.com/obra/superpowers"
path = "skills/brainstorming"

Take the branch's newest commit ​

The pinned commit stays until you upgrade. pandra lock --upgrade moves every skill that follows a branch to the branch's newest commit, and pandra lock --upgrade brainstorming moves only that skill:

terminal
sh
pandra lock --upgrade

When the branch has moved, Pandra prints each pin it changed; <new commit> stands for the branch's newest commit:

text
Updated pandra.lock
  pinned again skill brainstorming
      source  https://github.com/obra/superpowers/skills/brainstorming
    - commit  22f0b463e7a5
    + commit  <new commit>

When nothing moved, it prints pandra.lock is up to date. Commit pandra.lock with pandra.toml, so others build the same skills.

Learn more about skills →

Released under the Apache License 2.0