@complexthings/superpowers-agent 9.1.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/docs/SUPERPOWERS.md +18 -23
- package/.agents/superpowers-agent +131 -131
- package/.agents/templates/AGENTS.md.template +29 -39
- package/.agents/templates/SUPERPOWERS.md.template +18 -23
- package/.github/copilot-instructions.md +109 -1
- package/AGENTS.md +27 -32
- package/README.md +10 -24
- package/package.json +1 -1
- package/skills/meta/using-superpowers/SKILL.md +36 -50
- package/.agents/templates/TOOLS.md.template +0 -15
|
@@ -5,51 +5,24 @@ Skills extend your capabilities with proven workflows.
|
|
|
5
5
|
### Discover Skills First
|
|
6
6
|
|
|
7
7
|
**Before starting any task**, check for relevant skills:
|
|
8
|
-
1. Use your native skill tool to list available skills
|
|
9
|
-
2. Review skill frontmatter
|
|
10
|
-
3. Run `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
8
|
+
1. Use your native skill tool to list available skills.
|
|
9
|
+
2. Review skill descriptions/frontmatter to identify relevant ones.
|
|
11
10
|
|
|
12
11
|
### Skill Loading Rules
|
|
13
12
|
|
|
14
|
-
- Load skills **JIT only** — never preload to "understand" them
|
|
15
|
-
- Follow skill instructions **exactly as written** — no skimming, no shortcuts
|
|
16
|
-
- If a skill has a checklist, create a todo for **each item** — no mental tracking
|
|
17
|
-
- Simple tasks benefit from skills as much as complex ones
|
|
13
|
+
- Load skills **JIT only** — never preload to "understand" them.
|
|
14
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts.
|
|
15
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking.
|
|
16
|
+
- Simple tasks benefit from skills as much as complex ones.
|
|
18
17
|
|
|
19
|
-
**Skill priority (highest to lowest):** Project → Personal
|
|
18
|
+
**Skill priority (highest to lowest):** Project → Personal
|
|
20
19
|
|
|
21
20
|
### Using Tools with Skills
|
|
22
21
|
|
|
23
|
-
1. **Native
|
|
24
|
-
2. **Symlinked
|
|
25
|
-
3. **Fallback** —
|
|
26
|
-
4. **Tool
|
|
27
|
-
|
|
28
|
-
| Skill References | Use Your Equivalent |
|
|
29
|
-
|---|---|
|
|
30
|
-
| File operations | Read / Write / Edit tools |
|
|
31
|
-
| Terminal commands | Bash / Shell tool |
|
|
32
|
-
| Search operations | Grep / Glob / Search tools |
|
|
33
|
-
| Task management | TodoWrite / TodoRead tools |
|
|
34
|
-
| Subagent dispatch | Task / Agent tool — or execute directly |
|
|
35
|
-
| Web fetching | WebFetch / Fetch tool |
|
|
36
|
-
|
|
37
|
-
### Version Check
|
|
38
|
-
|
|
39
|
-
**Bootstrapped Version:** `^^SAV:{{VERSION}}^^`
|
|
40
|
-
|
|
41
|
-
At conversation start:
|
|
42
|
-
1. Run a superpowers-agent command and note the version string `^^SAV:X.Y.Z^^` in output
|
|
43
|
-
2. Compare against bootstrapped version `^^SAV:{{VERSION}}^^`
|
|
44
|
-
3. If they differ, notify the user:
|
|
45
|
-
Your superpowers-agent may have updates. Run:
|
|
46
|
-
```sh
|
|
47
|
-
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
```sh
|
|
51
|
-
superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
52
|
-
```
|
|
22
|
+
1. **Native skill tool** — load skills via your platform's native skill tool.
|
|
23
|
+
2. **Symlinked skills** — Superpowers skills are symlinked into your platform's skills directory.
|
|
24
|
+
3. **Fallback** — if a skill isn't found via the native tool, run `superpowers-agent find-skills [PATTERN]`.
|
|
25
|
+
4. **Tool equivalence** — when a skill references a tool you don't have, substitute your equivalent.
|
|
53
26
|
|
|
54
27
|
### Why Skills Matter
|
|
55
28
|
|
|
@@ -57,4 +30,21 @@ Skills encode proven techniques that prevent mistakes. Not using them means repe
|
|
|
57
30
|
|
|
58
31
|
**If a skill exists for your task, you MUST use it.**
|
|
59
32
|
|
|
60
|
-
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Version Check
|
|
36
|
+
|
|
37
|
+
Periodically, e.g. once per day check the version of superpowers-agent:
|
|
38
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent` command and extract `X.Y.Z` from the `^^SAV:X.Y.Z^^` string in its output.
|
|
39
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
40
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.10.0` > `9.9.0`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
41
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
42
|
+
> ```sh
|
|
43
|
+
> npm install -g @complexthings/superpowers-agent
|
|
44
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
45
|
+
> ```
|
|
46
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
*Generated by Superpowers on {{DATE}}*
|
|
@@ -1,42 +1,37 @@
|
|
|
1
1
|
# SUPERPOWERS Reference Guide
|
|
2
2
|
|
|
3
|
-
You are an autonomous agent with access to the `superpowers-agent` system.
|
|
3
|
+
You are an autonomous agent with access to the `superpowers-agent` system.
|
|
4
4
|
|
|
5
|
-
>
|
|
6
|
-
> Load this file only when you need specific information not covered in AGENTS.md.
|
|
7
|
-
|
|
8
|
-
**Bootstrapped Version:** `^^SAV:{{VERSION}}^^`
|
|
5
|
+
> Loaded at conversation start. `AGENTS.md` is the primary reference; this guide is the detailed supplement.
|
|
9
6
|
|
|
10
7
|
---
|
|
11
8
|
|
|
12
9
|
## Installation
|
|
13
10
|
|
|
14
|
-
If `superpowers-agent` is not available, install it:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install -g @complexthings/superpowers-agent
|
|
18
|
-
```
|
|
11
|
+
If `superpowers-agent` is not available, install it: `npm install -g @complexthings/superpowers-agent`
|
|
19
12
|
|
|
20
13
|
---
|
|
21
14
|
|
|
22
15
|
## Version Check
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
1.
|
|
26
|
-
2.
|
|
27
|
-
3. If
|
|
28
|
-
Your superpowers-agent
|
|
29
|
-
```sh
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
Periodically, e.g. once per day check the version of superpowers-agent:
|
|
18
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent version` command and extract `X.Y.Z` from the `X.Y.Z` string in its output.
|
|
19
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
20
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.10.0` > `9.9.0`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
21
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
22
|
+
> ```sh
|
|
23
|
+
> npm install -g @complexthings/superpowers-agent
|
|
24
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
25
|
+
> ```
|
|
26
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
32
27
|
|
|
33
28
|
---
|
|
34
29
|
|
|
35
30
|
## Skill Loading Rules
|
|
36
31
|
|
|
37
|
-
- Load skills **JIT only** — never preload to "understand" them
|
|
38
|
-
- Follow skill instructions **exactly as written** — no skimming, no shortcuts
|
|
39
|
-
- If a skill has a checklist, create a todo for **each item** — no mental tracking
|
|
40
|
-
- Simple tasks benefit from skills as much as complex ones
|
|
32
|
+
- Load skills **JIT only** — never preload to "understand" them.
|
|
33
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts.
|
|
34
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking.
|
|
35
|
+
- Simple tasks benefit from skills as much as complex ones.
|
|
41
36
|
|
|
42
|
-
**Skill priority (highest to lowest):** Project → Personal → Superpowers
|
|
37
|
+
**Skill priority (highest to lowest):** Project → Personal → Superpowers
|
|
@@ -1,3 +1,111 @@
|
|
|
1
1
|
<!-- SUPERPOWERS_-_INSTRUCTIONS_START -->
|
|
2
|
-
|
|
2
|
+
---
|
|
3
|
+
name: using-superpowers
|
|
4
|
+
description: "Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions. CRITICAL: this skill is already loaded in your context — do NOT invoke it again. It defines the foundational rule: if a skill might apply, you must invoke it first."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Using Superpowers
|
|
8
|
+
|
|
9
|
+
Superpowers is a skills system that gives you access to proven workflows, encoded as SKILL.md files. Skills prevent you from reinventing solved problems and repeating known mistakes. This skill establishes the foundational rule for how to use the entire system.
|
|
10
|
+
|
|
11
|
+
## The Core Rule
|
|
12
|
+
|
|
13
|
+
**Before any response or action, check whether a skill applies — then invoke it.**
|
|
14
|
+
|
|
15
|
+
This means BEFORE writing code, BEFORE asking clarifying questions, BEFORE exploring files. Even a 1% chance a skill might apply means you invoke it to check. If the invoked skill turns out not to fit the situation, you don't need to follow it — but you must check.
|
|
16
|
+
|
|
17
|
+
Why this matters: skills encode hard-won workflows for tasks like debugging, TDD, and brainstorming. Skipping the check means you may skip a workflow that would have prevented a costly mistake.
|
|
18
|
+
|
|
19
|
+
## How to Discover and Invoke Skills
|
|
20
|
+
|
|
21
|
+
Skills appear in your context as an available-skills list — scan it at the start of every task. That list is the same workflow library no matter which agent platform you run on (Claude Code, Copilot, OpenCode, Pi, or anything else); only the tools around it differ.
|
|
22
|
+
|
|
23
|
+
To load a skill's full instructions:
|
|
24
|
+
|
|
25
|
+
- **If your platform has a native skill-loading tool**, call it with the skill's name.
|
|
26
|
+
- **If it doesn't**, load the skill the way you'd open any file: read its SKILL.md directly with your file-read tool. Find the path in the skills list, or via the CLI fallback below.
|
|
27
|
+
|
|
28
|
+
Either path has the same result — the skill's content enters your context and you follow it directly. Don't assume a native tool exists; if you can't find one, read the file. The point is to get the skill's content in front of you, not to use any particular mechanism.
|
|
29
|
+
|
|
30
|
+
**CLI fallback** (use when the skills list isn't already in your context):
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
superpowers-agent find-skills # list all skills
|
|
34
|
+
superpowers-agent find-skills | grep test # filter by topic
|
|
35
|
+
superpowers-agent execute <skill-name> # print a skill to load and follow
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Announce when using a skill:**
|
|
39
|
+
> "Using Skill: [name] to [purpose]"
|
|
40
|
+
|
|
41
|
+
This keeps the conversation clear and lets the user know which workflow you're following.
|
|
42
|
+
|
|
43
|
+
## Skill Priority
|
|
44
|
+
|
|
45
|
+
When several skills could apply, load them in order of how much each reframes the problem — broadest understanding first, narrowest execution last. Loading a skill is cheap (you are only reading); committing to the wrong workflow is expensive.
|
|
46
|
+
|
|
47
|
+
1. **Domain / context skills first.** A skill about the specific technology or domain you are working in teaches you the territory — and often tells you which approach fits, or that a generic workflow does not. Read it before you commit to a process, and before you brainstorm or plan: knowing the territory makes the brainstorm sharper and can rule a planning skill in or out. A domain skill outranks even an intent-gathering skill like brainstorming.
|
|
48
|
+
2. **Process / approach skills next.** brainstorming, planning, systematic-debugging, test-driven-development — chosen *informed by* what the domain skill told you.
|
|
49
|
+
3. **Implementation skills last.** Step-by-step execution guides, once the approach is set.
|
|
50
|
+
|
|
51
|
+
Why this order: if you lock into a planning or process workflow before reading the domain skill, you may follow steps that do not fit the problem — and by the time you read the domain skill you are already mid-workflow and cannot switch cleanly. Read first, the domain skill can still redirect you to the right process, or tell you to skip one.
|
|
52
|
+
|
|
53
|
+
**Worked example** — "Let's build a subscription checkout on Stripe," with a Stripe domain skill, a payment-flow planning skill, and a Stripe-checkout implementation skill available:
|
|
54
|
+
|
|
55
|
+
→ `stripe-payments-domain` (learn the territory; it may change how you plan) → `planning-payment-flows` (map states and failure modes) → `implementing-stripe-checkout` (execute).
|
|
56
|
+
|
|
57
|
+
When no domain skill applies, the leading process skill comes first: "Fix this bug" → `systematic-debugging`, then any domain or implementation skill it points you to.
|
|
58
|
+
|
|
59
|
+
The first skill you load may change the rest of the plan — reassess after each one rather than committing to the whole sequence up front.
|
|
60
|
+
|
|
61
|
+
## Mapping Skill Instructions to Your Tools
|
|
62
|
+
|
|
63
|
+
A skill may name a tool using one platform's vocabulary — a todo tracker, a subagent dispatcher, a file editor, a shell, a search tool, a web fetcher. Map each to the closest equivalent your environment provides and use it. If your platform has no equivalent for something a skill calls for, perform the action inline yourself. The skill's intent is what matters, not the specific tool name it happens to use.
|
|
64
|
+
|
|
65
|
+
## Red Flags — You're Rationalizing
|
|
66
|
+
|
|
67
|
+
These thoughts mean STOP and check for a skill first:
|
|
68
|
+
|
|
69
|
+
| Thought | Reality |
|
|
70
|
+
|---------|---------|
|
|
71
|
+
| "This is just a simple question" | Questions are tasks. Check for skills. |
|
|
72
|
+
| "I need more context first" | Skill check comes BEFORE clarifying questions. |
|
|
73
|
+
| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
|
|
74
|
+
| "I can check git/files quickly" | Files lack conversation context. Check for skills. |
|
|
75
|
+
| "Let me gather information first" | Skills tell you HOW to gather information. |
|
|
76
|
+
| "This doesn't need a formal skill" | If a skill exists, use it. |
|
|
77
|
+
| "I remember this skill" | Skills evolve. Read current version. |
|
|
78
|
+
| "This doesn't count as a task" | Action = task. Check for skills. |
|
|
79
|
+
| "The skill is overkill" | Simple things become complex. Use it. |
|
|
80
|
+
| "I'll just do this one thing first" | Check BEFORE doing anything. |
|
|
81
|
+
| "This feels productive" | Undisciplined action wastes time. Skills prevent this. |
|
|
82
|
+
| "I know what that means" | Knowing the concept ≠ using the skill. Invoke it. |
|
|
83
|
+
|
|
84
|
+
## Skill Types
|
|
85
|
+
|
|
86
|
+
**Rigid skills** (TDD, systematic-debugging): Follow exactly. The structure is the value — adapting away the discipline defeats the purpose.
|
|
87
|
+
|
|
88
|
+
**Flexible skills** (patterns, guides): Adapt principles to context. The skill itself will indicate when flexibility is appropriate.
|
|
89
|
+
|
|
90
|
+
## Checklists
|
|
91
|
+
|
|
92
|
+
If a skill contains a checklist, create a task or todo entry for each item using your platform's task-tracking tool. Mental tracking causes steps to get skipped. Every time.
|
|
93
|
+
|
|
94
|
+
## User Instructions
|
|
95
|
+
|
|
96
|
+
Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows. A specific instruction is when skill discipline matters most.
|
|
97
|
+
|
|
98
|
+
## Version Monitoring
|
|
99
|
+
|
|
100
|
+
At conversation start (periodically thereafter, e.g. once per day), check your version:
|
|
101
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent version` command and extract `X.Y.Z` from the `X.Y.Z` string in its output.
|
|
102
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
103
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.2.1` > `9.0.1`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
104
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
105
|
+
> ```sh
|
|
106
|
+
> npm install -g @complexthings/superpowers-agent
|
|
107
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
108
|
+
> ```
|
|
109
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
110
|
+
|
|
3
111
|
<!-- SUPERPOWERS_-_INSTRUCTIONS_END -->
|
package/AGENTS.md
CHANGED
|
@@ -8,41 +8,24 @@ Skills extend your capabilities with proven workflows.
|
|
|
8
8
|
### Discover Skills First
|
|
9
9
|
|
|
10
10
|
**Before starting any task**, check for relevant skills:
|
|
11
|
-
1. Use your native skill tool to list available skills
|
|
12
|
-
2. Review skill frontmatter
|
|
13
|
-
3. `superpowers-agent find-skills [PATTERN]` for superpowers skills
|
|
11
|
+
1. Use your native skill tool to list available skills.
|
|
12
|
+
2. Review skill descriptions/frontmatter to identify relevant ones.
|
|
14
13
|
|
|
15
|
-
###
|
|
14
|
+
### Skill Loading Rules
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
- Load skills **JIT only** — never preload to "understand" them.
|
|
17
|
+
- Follow skill instructions **exactly as written** — no skimming, no shortcuts.
|
|
18
|
+
- If a skill has a checklist, create a todo for **each item** — no mental tracking.
|
|
19
|
+
- Simple tasks benefit from skills as much as complex ones.
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
**1. Native Skill Tool:** Use your platform's native skill tool for loading skills.
|
|
25
|
-
|
|
26
|
-
**2. Symlinked Skills:** Superpowers skills are symlinked to your platform's skills directory.
|
|
27
|
-
|
|
28
|
-
**3. Fallback:** If a skill isn't found via native tool, use `superpowers-agent find-skills [PATTERN]`
|
|
29
|
-
|
|
30
|
-
**4. Tool Equivalence:** When skills reference tools you don't have, use your equivalent:
|
|
31
|
-
- File operations -> your Read/Write/Edit tools
|
|
32
|
-
- Terminal commands -> your Bash/Shell tool
|
|
33
|
-
- Search operations -> your Grep/Glob/Search tools
|
|
34
|
-
- Task management -> your TodoWrite/TodoRead tools
|
|
35
|
-
- Subagent dispatch -> your Task/Agent tool (or execute the work yourself)
|
|
36
|
-
- Web fetching -> your WebFetch/Fetch tool
|
|
37
|
-
|
|
38
|
-
### Version Monitoring
|
|
21
|
+
**Skill priority (highest to lowest):** Project → Personal
|
|
39
22
|
|
|
40
|
-
|
|
23
|
+
### Using Tools with Skills
|
|
41
24
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
25
|
+
1. **Native skill tool** — load skills via your platform's native skill tool.
|
|
26
|
+
2. **Symlinked skills** — Superpowers skills are symlinked into your platform's skills directory.
|
|
27
|
+
3. **Fallback** — if a skill isn't found via the native tool, run `superpowers-agent find-skills [PATTERN]`.
|
|
28
|
+
4. **Tool equivalence** — when a skill references a tool you don't have, substitute your equivalent.
|
|
46
29
|
|
|
47
30
|
### Why Skills Matter
|
|
48
31
|
|
|
@@ -52,10 +35,22 @@ Skills encode proven techniques that prevent mistakes. Not using them means repe
|
|
|
52
35
|
|
|
53
36
|
---
|
|
54
37
|
|
|
55
|
-
|
|
38
|
+
## Version Check
|
|
56
39
|
|
|
57
|
-
|
|
40
|
+
Periodically, e.g. once per day check the version of superpowers-agent:
|
|
41
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent` command and extract `X.Y.Z` from the `^^SAV:X.Y.Z^^` string in its output.
|
|
42
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
43
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.10.0` > `9.9.0`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
44
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
45
|
+
> ```sh
|
|
46
|
+
> npm install -g @complexthings/superpowers-agent
|
|
47
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
48
|
+
> ```
|
|
49
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
50
|
+
|
|
51
|
+
---
|
|
58
52
|
|
|
53
|
+
*Generated by Superpowers on 2026-06-01*
|
|
59
54
|
<!-- SUPERPOWERS_SKILLS_END -->
|
|
60
55
|
|
|
61
56
|
## What This Project Is
|
package/README.md
CHANGED
|
@@ -6,6 +6,14 @@ A comprehensive skills library of proven techniques, patterns, and workflows for
|
|
|
6
6
|
|
|
7
7
|
## What's New
|
|
8
8
|
|
|
9
|
+
**v9.2.1 (June 1, 2026):**
|
|
10
|
+
|
|
11
|
+
- **GitHub agents now reach the Copilot CLI** — `add` and `pull` now also symlink GitHub agents (`.github/agents/<name>.agent.md`) into `~/.copilot/agents/`, alongside the existing VS Code `prompts/` install, so the same agents are usable by the GitHub Copilot CLI. `rm` cleans up both locations.
|
|
12
|
+
- **npm-based version monitoring** — the `using-superpowers` skill and `AGENTS.md` template now check for updates by querying the npm registry (`npm view @complexthings/superpowers-agent version`) and comparing by semver precedence, prompting you to update only when npm is actually newer (replaces the old bundled-version-string comparison).
|
|
13
|
+
- **Smarter skill-priority guidance** — `using-superpowers` now tells agents to load domain/context skills first, then process skills (brainstorming, planning, debugging, TDD), then implementation skills, so the domain skill can shape which process fits.
|
|
14
|
+
- **`leveraging-cli-tools` nudge broadened** — the session-start context now also points agents at the skill whenever a task involves using Bash.
|
|
15
|
+
- **Template cleanup** — removed `TOOLS.md.template` and the `{{TOOL_MAPPINGS}}` bootstrap placeholder; tool-equivalence guidance now lives inline in the refreshed `AGENTS.md`/`SUPERPOWERS.md` templates. `AGENTS.md` skill priority simplified to Project → Personal.
|
|
16
|
+
|
|
9
17
|
**v9.1.0 (May 30, 2026):**
|
|
10
18
|
|
|
11
19
|
- **Session-start hooks installed by `bootstrap`** — `bootstrap` now installs a Claude Code `SessionStart` hook into `~/.claude/settings.json` and a GitHub Copilot CLI `sessionStart` hook at `~/.copilot/hooks/superpowers.json`, so the Superpowers context is injected at the start of every session. The Claude merge is idempotent and preserves your other hooks/settings. (This replaces the old Claude Code plugin hook, which has been removed.)
|
|
@@ -51,29 +59,6 @@ A comprehensive skills library of proven techniques, patterns, and workflows for
|
|
|
51
59
|
- 📋 **Smart Copilot Instructions** - `bootstrap` and `update` now process `~/.github/copilot-instructions.md` as a template, injecting the `using-superpowers` skill content and supporting marker-based idempotent updates with automatic backups
|
|
52
60
|
- 📊 **Mermaid Flowcharts** - Replaced DOT-format flowcharts with Mermaid syntax across 8 skills for better rendering in GitHub, VS Code, and agent contexts
|
|
53
61
|
|
|
54
|
-
**v6.5.0 (January 24, 2026):**
|
|
55
|
-
|
|
56
|
-
- 🔄 **Upstream Sync** - Ported advanced features from Jesse Vincent's [obra/superpowers](https://github.com/obra/superpowers) v4.1.1:
|
|
57
|
-
- **OpenCode Plugin** (`.opencode/plugins/superpowers-agent.js`) - Session bootstrap injection via system prompt transform
|
|
58
|
-
- **using-superpowers Skill** - Behavioral enforcement with Red Flags rationalization table (12 anti-patterns)
|
|
59
|
-
- **Two-Stage Code Review** - Spec compliance review + code quality review workflow
|
|
60
|
-
- **Test Infrastructure** (`tests/`) - Agent-agnostic test scripts for skill triggering
|
|
61
|
-
|
|
62
|
-
- 🔌 **OpenCode Plugin** - Native plugin for OpenCode that injects superpowers context at every session start using `experimental.chat.system.transform` hook
|
|
63
|
-
|
|
64
|
-
- 📋 **Two-Stage Review Process** - Updated `subagent-driven-development` skill with spec reviewer and code quality reviewer prompts for comprehensive code review
|
|
65
|
-
|
|
66
|
-
**v6.4.x (January 23-24, 2026):**
|
|
67
|
-
|
|
68
|
-
- 📐 **Context Optimization** - Reduced AGENTS.md context size by ~60-70% with separate SUPERPOWERS.md reference file
|
|
69
|
-
- 🔗 **Project-Level Symlinks** - `setup-skills` now creates symlinks from agent directories to `.agents/skills`
|
|
70
|
-
|
|
71
|
-
**Previous Releases:**
|
|
72
|
-
|
|
73
|
-
- **v6.3.x** - Codex platform support, native skill tools, extended symlinks for OpenCode/Cursor/Gemini
|
|
74
|
-
- **v6.0.0** - Complete codebase modernization with 90% bundle reduction
|
|
75
|
-
- **v5.4.0** - Dynamic tool mappings, automated platform detection
|
|
76
|
-
|
|
77
62
|
**Key Features:**
|
|
78
63
|
|
|
79
64
|
- 🎯 **Smart Skill Matching** - Just type `superpowers execute brainstorming` instead of full paths
|
|
@@ -272,8 +257,9 @@ Repositories can include an `agents.json` manifest to automatically install AI a
|
|
|
272
257
|
|
|
273
258
|
| Platform | Source Directory | Destination |
|
|
274
259
|
|----------|----------------|-------------|
|
|
275
|
-
| `github` | `.github/agents/<name>.agent.md` | VS Code `prompts/` directory |
|
|
260
|
+
| `github` | `.github/agents/<name>.agent.md` | VS Code `prompts/` directory **and** `~/.copilot/agents/` (GitHub Copilot CLI) |
|
|
276
261
|
| `opencode` | `.opencode/agents/<name>.md` | `~/.config/opencode/agents/` |
|
|
262
|
+
| `claude` | `.claude/agents/<name>.md` | `~/.claude/agents/` |
|
|
277
263
|
|
|
278
264
|
**How it works:**
|
|
279
265
|
1. After skills are installed, the system checks for `agents.json` at the repository root
|
package/package.json
CHANGED
|
@@ -15,62 +15,51 @@ This means BEFORE writing code, BEFORE asking clarifying questions, BEFORE explo
|
|
|
15
15
|
|
|
16
16
|
Why this matters: skills encode hard-won workflows for tasks like debugging, TDD, and brainstorming. Skipping the check means you may skip a workflow that would have prevented a costly mistake.
|
|
17
17
|
|
|
18
|
-
## How to Invoke Skills
|
|
18
|
+
## How to Discover and Invoke Skills
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Skills appear in your context as an available-skills list — scan it at the start of every task. That list is the same workflow library no matter which agent platform you run on (Claude Code, Copilot, OpenCode, Pi, or anything else); only the tools around it differ.
|
|
21
21
|
|
|
22
|
-
To load a skill
|
|
22
|
+
To load a skill's full instructions:
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
skill
|
|
26
|
-
skill("systematic-debugging")
|
|
27
|
-
skill("test-driven-development")
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
When a skill is invoked, its full content is loaded into context. Follow it directly.
|
|
31
|
-
|
|
32
|
-
**Announce when using a skill:**
|
|
33
|
-
> "Using Skill: [name] to [purpose]"
|
|
34
|
-
|
|
35
|
-
This keeps the conversation clear and lets the user know which workflow you're following.
|
|
24
|
+
- **If your platform has a native skill-loading tool**, call it with the skill's name.
|
|
25
|
+
- **If it doesn't**, load the skill the way you'd open any file: read its SKILL.md directly with your file-read tool. Find the path in the skills list, or via the CLI fallback below.
|
|
36
26
|
|
|
37
|
-
|
|
27
|
+
Either path has the same result — the skill's content enters your context and you follow it directly. Don't assume a native tool exists; if you can't find one, read the file. The point is to get the skill's content in front of you, not to use any particular mechanism.
|
|
38
28
|
|
|
39
|
-
**
|
|
29
|
+
**CLI fallback** (use when the skills list isn't already in your context):
|
|
40
30
|
|
|
41
|
-
**CLI fallback:**
|
|
42
31
|
```bash
|
|
43
32
|
superpowers-agent find-skills # list all skills
|
|
44
33
|
superpowers-agent find-skills | grep test # filter by topic
|
|
45
|
-
superpowers-agent execute <skill-name> # load and follow
|
|
34
|
+
superpowers-agent execute <skill-name> # print a skill to load and follow
|
|
46
35
|
```
|
|
47
36
|
|
|
37
|
+
**Announce when using a skill:**
|
|
38
|
+
> "Using Skill: [name] to [purpose]"
|
|
39
|
+
|
|
40
|
+
This keeps the conversation clear and lets the user know which workflow you're following.
|
|
41
|
+
|
|
48
42
|
## Skill Priority
|
|
49
43
|
|
|
50
|
-
When
|
|
44
|
+
When several skills could apply, load them in order of how much each reframes the problem — broadest understanding first, narrowest execution last. Loading a skill is cheap (you are only reading); committing to the wrong workflow is expensive.
|
|
45
|
+
|
|
46
|
+
1. **Domain / context skills first.** A skill about the specific technology or domain you are working in teaches you the territory — and often tells you which approach fits, or that a generic workflow does not. Read it before you commit to a process, and before you brainstorm or plan: knowing the territory makes the brainstorm sharper and can rule a planning skill in or out. A domain skill outranks even an intent-gathering skill like brainstorming.
|
|
47
|
+
2. **Process / approach skills next.** brainstorming, planning, systematic-debugging, test-driven-development — chosen *informed by* what the domain skill told you.
|
|
48
|
+
3. **Implementation skills last.** Step-by-step execution guides, once the approach is set.
|
|
49
|
+
|
|
50
|
+
Why this order: if you lock into a planning or process workflow before reading the domain skill, you may follow steps that do not fit the problem — and by the time you read the domain skill you are already mid-workflow and cannot switch cleanly. Read first, the domain skill can still redirect you to the right process, or tell you to skip one.
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
2. **Implementation skills second** (domain-specific guides) — these guide execution
|
|
52
|
+
**Worked example** — "Let's build a subscription checkout on Stripe," with a Stripe domain skill, a payment-flow planning skill, and a Stripe-checkout implementation skill available:
|
|
54
53
|
|
|
55
|
-
|
|
56
|
-
- "Let's build X" → invoke `brainstorming` first, then domain implementation skills
|
|
57
|
-
- "Fix this bug" → invoke `systematic-debugging` first, then domain-specific skills
|
|
54
|
+
→ `stripe-payments-domain` (learn the territory; it may change how you plan) → `planning-payment-flows` (map states and failure modes) → `implementing-stripe-checkout` (execute).
|
|
58
55
|
|
|
59
|
-
|
|
56
|
+
When no domain skill applies, the leading process skill comes first: "Fix this bug" → `systematic-debugging`, then any domain or implementation skill it points you to.
|
|
60
57
|
|
|
61
|
-
|
|
58
|
+
The first skill you load may change the rest of the plan — reassess after each one rather than committing to the whole sequence up front.
|
|
62
59
|
|
|
63
|
-
|
|
64
|
-
|-------------------|---------------|
|
|
65
|
-
| `TodoWrite` / task list | Your platform's todo or task-tracking tool |
|
|
66
|
-
| `Task` / subagent dispatch | Your subagent or agent-spawning tool |
|
|
67
|
-
| `Skill` tool | Your platform's native skill-loading tool |
|
|
68
|
-
| File read/write/edit | Your file read, write, and edit tools |
|
|
69
|
-
| Terminal / shell commands | Your bash or shell execution tool |
|
|
70
|
-
| Search | Your grep, glob, or search tools |
|
|
71
|
-
| Web fetching | Your web fetch or browser tool |
|
|
60
|
+
## Mapping Skill Instructions to Your Tools
|
|
72
61
|
|
|
73
|
-
|
|
62
|
+
A skill may name a tool using one platform's vocabulary — a todo tracker, a subagent dispatcher, a file editor, a shell, a search tool, a web fetcher. Map each to the closest equivalent your environment provides and use it. If your platform has no equivalent for something a skill calls for, perform the action inline yourself. The skill's intent is what matters, not the specific tool name it happens to use.
|
|
74
63
|
|
|
75
64
|
## Red Flags — You're Rationalizing
|
|
76
65
|
|
|
@@ -107,16 +96,13 @@ Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
|
|
|
107
96
|
|
|
108
97
|
## Version Monitoring
|
|
109
98
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
superpowers-agent
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
- **using-a-skill** — How to load and apply a specific skill by name
|
|
121
|
-
- **brainstorming** — Required before any creative work or feature implementation
|
|
122
|
-
- **writing-skills** — How to create new skills using TDD
|
|
99
|
+
At conversation start (periodically thereafter, e.g. once per day), check your version:
|
|
100
|
+
1. **CURRENT_VERSION** — run a `superpowers-agent version` command and extract `X.Y.Z` from the `X.Y.Z` string in its output.
|
|
101
|
+
2. **NPM_LATEST_VERSION** — run `npm view @complexthings/superpowers-agent version`.
|
|
102
|
+
3. Compare by **semver precedence, not string comparison** (e.g. `9.2.1` > `9.0.1`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
|
|
103
|
+
> Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
|
|
104
|
+
> ```sh
|
|
105
|
+
> npm install -g @complexthings/superpowers-agent
|
|
106
|
+
> superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
|
|
107
|
+
> ```
|
|
108
|
+
If versions match, or either lookup fails (e.g. no network), continue silently.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
### Using Tools with Skills
|
|
2
|
-
|
|
3
|
-
**1. Native Skill Tool:** Use your platform's native skill tool for loading skills.
|
|
4
|
-
|
|
5
|
-
**2. Symlinked Skills:** Superpowers skills are symlinked to your platform's skills directory.
|
|
6
|
-
|
|
7
|
-
**3. Fallback:** If a skill isn't found via native tool, use `superpowers-agent find-skills [PATTERN]`
|
|
8
|
-
|
|
9
|
-
**4. Tool Equivalence:** When skills reference tools you don't have, use your equivalent:
|
|
10
|
-
- File operations -> your Read/Write/Edit tools
|
|
11
|
-
- Terminal commands -> your Bash/Shell tool
|
|
12
|
-
- Search operations -> your Grep/Glob/Search tools
|
|
13
|
-
- Task management -> your TodoWrite/TodoRead tools
|
|
14
|
-
- Subagent dispatch -> your Task/Agent tool (or execute the work yourself)
|
|
15
|
-
- Web fetching -> your WebFetch/Fetch tool
|