---
url: /examples/skills-from-a-plugin.md
---
# Take some skills from a plugin

A [plugin](/build/components.md#plugins) is a set of skills that someone else maintains, such as the Claude Code plugin [superpowers](https://github.com/obra/superpowers). Take its skills into your agent, pinned at the release `v7.0.2`, except two that you do not need: `diagnosing-superpowers`, which reports problems with superpowers itself, and `writing-skills`, which helps write new skills. The command runs in the agent project.

## 1. Choose the skills

On a terminal, name the plugin's release:

```sh
pandra add --plugin https://github.com/obra/superpowers/tree/v7.0.2
```

Pandra lists the plugin's skills, and every one starts checked. The arrow keys move, Space unchecks or checks a skill, and Enter takes the checked ones. Uncheck `diagnosing-superpowers` and `writing-skills`, then press Enter. In this sample, `...` stands for rows left out:

```text
? Which skills of the plugin `superpowers` to take? (arrows move, space toggles,
enter confirms, q cancels)
      NAME
  [x] superpowers:brainstorming
  [ ] superpowers:diagnosing-superpowers
  [x] superpowers:dispatching-parallel-agents
  ...
  [x] superpowers:verification-before-completion
  [x] superpowers:writing-plans
> [ ] superpowers:writing-skills
```

Pandra then prints the skills it took and the parts of the plugin it left out. The plugin's hooks stay out, because they run commands the agent does not declare.

::: details What `pandra add --plugin` prints after your choice

```text
✓ Which skills of the plugin `superpowers` to take? superpowers:brainstorming,
superpowers:dispatching-parallel-agents, superpowers:executing-plans,
superpowers:finishing-a-development-branch, superpowers:receiving-code-review,
superpowers:requesting-c...[457 bytes in all]
✓ Fetched https://github.com/obra/superpowers · 0.4s
Added `[plugins.superpowers]` to pandra.toml and updated pandra.lock.
  pinned plugin superpowers from https://github.com/obra/superpowers (commit 22f0b463e7a5)

Plugin superpowers 7.0.2 (tag v7.0.2, commit 22f0b463e7a5)
  skills (13): superpowers:brainstorming, superpowers:dispatching-parallel-agents, superpowers:executing-plans, superpowers:finishing-a-development-branch, superpowers:receiving-code-review, superpowers:requesting-code-review, superpowers:subagent-driven-development, superpowers:systematic-debugging, superpowers:test-driven-development, superpowers:using-git-worktrees, superpowers:using-superpowers, superpowers:verification-before-completion, superpowers:writing-plans
  left out by exclude-skills: superpowers:diagnosing-superpowers, superpowers:writing-skills

Pandra takes only the skills of a plugin. These parts of superpowers are not in the agent:
  hooks    hooks/hooks-cursor.json, hooks/hooks.json, hooks/run-hook.cmd, hooks/session-start

These skills refer to files outside their own directory, which are not in the agent:
  superpowers:executing-plans              SKILL.md:245                   ../requesting-code-review/code-reviewer.md
  superpowers:subagent-driven-development  references/final-review.md:14  ../../requesting-code-review/code-reviewer.md
    Copy such a file into the skill, or name it by its path from the repository root.
```

:::

To make the same choice without questions, as in a script, name each skill to leave out with `--exclude-skill`:

```sh
pandra add --plugin https://github.com/obra/superpowers/tree/v7.0.2 \
    --exclude-skill diagnosing-superpowers --exclude-skill writing-skills
```

## 2. See what it wrote

The skills you unchecked became `exclude-skills`:

```toml
# pandra.toml
[plugins.superpowers]
git = "https://github.com/obra/superpowers"
tag = "v7.0.2"
exclude-skills = ["diagnosing-superpowers", "writing-skills"]
```

With `exclude-skills`, a skill that a later release of the plugin adds arrives when you move the plugin to that release. To take only the skills you name instead, give each with `--skill`: `--skill brainstorming --skill writing-plans` writes `skills = ["brainstorming", "writing-plans"]`, and with `skills`, the agent keeps only the skills you named.

[Learn more about plugins →](/build/components.md#plugins)
