@complexthings/superpowers-agent 9.2.1 → 10.0.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.
Files changed (193) hide show
  1. package/.agents/skills/claude-handoff/SKILL.md +18 -0
  2. package/.agents/skills/code-review/SKILL.md +89 -0
  3. package/.agents/skills/{improve-codebase-architecture → codebase-design}/DEEPENING.md +1 -1
  4. package/.agents/skills/{improve-codebase-architecture/INTERFACE-DESIGN.md → codebase-design/DESIGN-IT-TWICE.md} +3 -3
  5. package/.agents/skills/codebase-design/SKILL.md +114 -0
  6. package/.agents/skills/design-an-interface/SKILL.md +94 -0
  7. package/.agents/skills/{diagnose → diagnosing-bugs}/SKILL.md +29 -12
  8. package/.agents/skills/{grill-with-docs → domain-modeling}/CONTEXT-FORMAT.md +1 -4
  9. package/.agents/skills/domain-modeling/SKILL.md +74 -0
  10. package/.agents/skills/fable-mode/SKILL.md +95 -0
  11. package/.agents/skills/git-guardrails-claude-code/SKILL.md +95 -0
  12. package/.agents/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh +25 -0
  13. package/.agents/skills/grill-me/SKILL.md +7 -0
  14. package/.agents/skills/grill-with-docs/SKILL.md +3 -86
  15. package/.agents/skills/grilling/SKILL.md +14 -0
  16. package/.agents/skills/handoff/SKILL.md +2 -1
  17. package/.agents/skills/i-have-adhd/SKILL.md +120 -0
  18. package/.agents/skills/implement/SKILL.md +11 -0
  19. package/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +3 -3
  20. package/.agents/skills/improve-codebase-architecture/SKILL.md +13 -28
  21. package/.agents/skills/loop-me/SKILL.md +32 -0
  22. package/.agents/skills/prototype/SKILL.md +1 -1
  23. package/.agents/skills/qa/SKILL.md +130 -0
  24. package/.agents/skills/request-refactor-plan/SKILL.md +68 -0
  25. package/.agents/skills/research/SKILL.md +12 -0
  26. package/.agents/skills/resolving-merge-conflicts/SKILL.md +14 -0
  27. package/.agents/skills/scaffold-exercises/SKILL.md +106 -0
  28. package/.agents/skills/setup-matt-pocock-skills/SKILL.md +11 -9
  29. package/.agents/skills/setup-matt-pocock-skills/domain.md +2 -2
  30. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +23 -0
  31. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +23 -0
  32. package/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +11 -0
  33. package/.agents/skills/skill-creator/LICENSE.txt +202 -0
  34. package/.agents/skills/skill-creator/SKILL.md +485 -0
  35. package/.agents/skills/skill-creator/agents/analyzer.md +274 -0
  36. package/.agents/skills/skill-creator/agents/comparator.md +202 -0
  37. package/.agents/skills/skill-creator/agents/grader.md +223 -0
  38. package/.agents/skills/skill-creator/assets/eval_review.html +146 -0
  39. package/.agents/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  40. package/.agents/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  41. package/.agents/skills/skill-creator/references/schemas.md +430 -0
  42. package/.agents/skills/skill-creator/scripts/__init__.py +0 -0
  43. package/.agents/skills/skill-creator/scripts/__pycache__/__init__.cpython-314.pyc +0 -0
  44. package/.agents/skills/skill-creator/scripts/__pycache__/run_eval.cpython-314.pyc +0 -0
  45. package/.agents/skills/skill-creator/scripts/__pycache__/utils.cpython-314.pyc +0 -0
  46. package/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  47. package/.agents/skills/skill-creator/scripts/generate_report.py +326 -0
  48. package/.agents/skills/skill-creator/scripts/improve_description.py +247 -0
  49. package/.agents/skills/skill-creator/scripts/package_skill.py +136 -0
  50. package/.agents/skills/skill-creator/scripts/quick_validate.py +103 -0
  51. package/.agents/skills/skill-creator/scripts/run_eval.py +310 -0
  52. package/.agents/skills/skill-creator/scripts/run_loop.py +328 -0
  53. package/.agents/skills/skill-creator/scripts/utils.py +47 -0
  54. package/.agents/skills/tdd/SKILL.md +17 -90
  55. package/.agents/skills/tdd/tests.md +16 -0
  56. package/.agents/skills/teach/GLOSSARY-FORMAT.md +35 -0
  57. package/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  58. package/.agents/skills/teach/MISSION-FORMAT.md +31 -0
  59. package/.agents/skills/teach/RESOURCES-FORMAT.md +32 -0
  60. package/.agents/skills/teach/SKILL.md +140 -0
  61. package/.agents/skills/{to-prd → to-spec}/SKILL.md +11 -12
  62. package/.agents/skills/to-tickets/SKILL.md +114 -0
  63. package/.agents/skills/triage/AGENT-BRIEF.md +40 -1
  64. package/.agents/skills/triage/OUT-OF-SCOPE.md +5 -1
  65. package/.agents/skills/triage/SKILL.md +20 -11
  66. package/.agents/skills/wayfinder/SKILL.md +127 -0
  67. package/.agents/skills/writing-great-skills/GLOSSARY.md +201 -0
  68. package/.agents/skills/writing-great-skills/SKILL.md +83 -0
  69. package/.agents/superpowers-agent +103 -222
  70. package/.agents/superpowers-bootstrap.md +3 -3
  71. package/.agents/templates/AGENTS.md.template +11 -34
  72. package/.agents/templates/SUPERPOWERS.md.template +4 -4
  73. package/.github/copilot-instructions.md +23 -99
  74. package/.github/hooks/rtk-rewrite.json +22 -0
  75. package/AGENTS.md +7 -6
  76. package/README.md +53 -174
  77. package/package.json +2 -2
  78. package/skills/collaboration/brainstorming/SKILL.md +39 -139
  79. package/skills/collaboration/brainstorming/skill.json +2 -2
  80. package/skills/collaboration/leveraging-cli-tools/SKILL.md +70 -71
  81. package/skills/collaboration/leveraging-cli-tools/references/copilot-instructions.md +30 -0
  82. package/skills/collaboration/leveraging-cli-tools/scripts/setup-ponytail.sh +185 -0
  83. package/skills/collaboration/leveraging-cli-tools/scripts/setup-rtk.sh +217 -0
  84. package/skills/collaboration/leveraging-cli-tools/skill.json +1 -1
  85. package/skills/meta/create-skill-json/SKILL.md +4 -4
  86. package/skills/meta/create-skill-json/skill.json +1 -1
  87. package/skills/meta/create-skill-json/test-scenarios.md +1 -1
  88. package/skills/setup-skills/SKILL.md +18 -11
  89. package/skills/setup-skills/skill.json +8 -0
  90. package/.agents/skills/caveman/SKILL.md +0 -49
  91. package/.agents/skills/improve-codebase-architecture/LANGUAGE.md +0 -53
  92. package/.agents/skills/karpathy-guidelines/SKILL.md +0 -75
  93. package/.agents/skills/review/SKILL.md +0 -78
  94. package/.agents/skills/tdd/deep-modules.md +0 -33
  95. package/.agents/skills/tdd/interface-design.md +0 -31
  96. package/.agents/skills/tdd/refactoring.md +0 -10
  97. package/.agents/skills/to-issues/SKILL.md +0 -83
  98. package/.agents/skills/zoom-out/SKILL.md +0 -7
  99. package/skills/architecture/ABOUT.md +0 -20
  100. package/skills/architecture/preserving-productive-tensions/SKILL.md +0 -146
  101. package/skills/architecture/preserving-productive-tensions/skill.json +0 -9
  102. package/skills/collaboration/brainstorming/spec-document-reviewer-prompt.md +0 -50
  103. package/skills/collaboration/brainstorming/visual-companion.md +0 -277
  104. package/skills/collaboration/dispatching-parallel-agents/SKILL.md +0 -174
  105. package/skills/collaboration/dispatching-parallel-agents/skill.json +0 -9
  106. package/skills/collaboration/executing-plans/SKILL.md +0 -130
  107. package/skills/collaboration/executing-plans/skill.json +0 -9
  108. package/skills/collaboration/finishing-a-development-branch/SKILL.md +0 -261
  109. package/skills/collaboration/finishing-a-development-branch/skill.json +0 -9
  110. package/skills/collaboration/leveraging-cli-tools/scripts/slim.py +0 -167
  111. package/skills/collaboration/receiving-code-review/SKILL.md +0 -233
  112. package/skills/collaboration/receiving-code-review/skill.json +0 -9
  113. package/skills/collaboration/requesting-code-review/SKILL.md +0 -110
  114. package/skills/collaboration/requesting-code-review/code-reviewer.md +0 -146
  115. package/skills/collaboration/requesting-code-review/skill.json +0 -12
  116. package/skills/collaboration/subagent-driven-development/SKILL.md +0 -255
  117. package/skills/collaboration/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
  118. package/skills/collaboration/subagent-driven-development/implementer-prompt.md +0 -113
  119. package/skills/collaboration/subagent-driven-development/skill.json +0 -15
  120. package/skills/collaboration/subagent-driven-development/spec-reviewer-prompt.md +0 -61
  121. package/skills/collaboration/using-git-worktrees/SKILL.md +0 -366
  122. package/skills/collaboration/using-git-worktrees/skill.json +0 -9
  123. package/skills/collaboration/writing-plans/SKILL.md +0 -121
  124. package/skills/collaboration/writing-plans/plan-document-reviewer-prompt.md +0 -52
  125. package/skills/collaboration/writing-plans/skill.json +0 -9
  126. package/skills/debugging/defense-in-depth/SKILL.md +0 -380
  127. package/skills/debugging/defense-in-depth/skill.json +0 -9
  128. package/skills/debugging/root-cause-tracing/SKILL.md +0 -361
  129. package/skills/debugging/root-cause-tracing/find-polluter.sh +0 -63
  130. package/skills/debugging/root-cause-tracing/skill.json +0 -12
  131. package/skills/debugging/systematic-debugging/SKILL.md +0 -299
  132. package/skills/debugging/systematic-debugging/condition-based-waiting-example.ts +0 -158
  133. package/skills/debugging/systematic-debugging/condition-based-waiting.md +0 -115
  134. package/skills/debugging/systematic-debugging/defense-in-depth.md +0 -122
  135. package/skills/debugging/systematic-debugging/find-polluter.sh +0 -63
  136. package/skills/debugging/systematic-debugging/root-cause-tracing.md +0 -169
  137. package/skills/debugging/systematic-debugging/skill.json +0 -9
  138. package/skills/debugging/systematic-debugging/test-academic.md +0 -14
  139. package/skills/debugging/systematic-debugging/test-pressure-1.md +0 -58
  140. package/skills/debugging/systematic-debugging/test-pressure-2.md +0 -68
  141. package/skills/debugging/systematic-debugging/test-pressure-3.md +0 -69
  142. package/skills/debugging/verification-before-completion/SKILL.md +0 -143
  143. package/skills/debugging/verification-before-completion/skill.json +0 -9
  144. package/skills/finding-skills/SKILL.md +0 -101
  145. package/skills/finding-skills/skill.json +0 -8
  146. package/skills/meta/create-agents-md/SKILL.md +0 -182
  147. package/skills/meta/create-agents-md/skill.json +0 -9
  148. package/skills/meta/creating-prompts/SKILL.md +0 -349
  149. package/skills/meta/creating-prompts/examples/do-example.md +0 -65
  150. package/skills/meta/creating-prompts/examples/plan-example.md +0 -75
  151. package/skills/meta/creating-prompts/examples/refine-example.md +0 -65
  152. package/skills/meta/creating-prompts/examples/research-example.md +0 -63
  153. package/skills/meta/creating-prompts/scripts/get-next-number.sh +0 -27
  154. package/skills/meta/creating-prompts/skill.json +0 -20
  155. package/skills/meta/creating-prompts/templates/do-template.md +0 -59
  156. package/skills/meta/creating-prompts/templates/plan-template.md +0 -58
  157. package/skills/meta/creating-prompts/templates/refine-template.md +0 -54
  158. package/skills/meta/creating-prompts/templates/research-template.md +0 -56
  159. package/skills/meta/using-superpowers/SKILL.md +0 -108
  160. package/skills/meta/using-superpowers/skill.json +0 -5
  161. package/skills/meta/writing-prompts/SKILL.md +0 -122
  162. package/skills/meta/writing-prompts/references/platforms.md +0 -114
  163. package/skills/meta/writing-prompts/skill.json +0 -9
  164. package/skills/problem-solving/ABOUT.md +0 -40
  165. package/skills/problem-solving/collision-zone-thinking/SKILL.md +0 -188
  166. package/skills/problem-solving/collision-zone-thinking/references/historical-examples.md +0 -393
  167. package/skills/problem-solving/collision-zone-thinking/skill.json +0 -9
  168. package/skills/problem-solving/inversion-exercise/SKILL.md +0 -174
  169. package/skills/problem-solving/inversion-exercise/skill.json +0 -9
  170. package/skills/problem-solving/meta-pattern-recognition/SKILL.md +0 -116
  171. package/skills/problem-solving/meta-pattern-recognition/skill.json +0 -9
  172. package/skills/problem-solving/scale-game/SKILL.md +0 -222
  173. package/skills/problem-solving/scale-game/skill.json +0 -9
  174. package/skills/problem-solving/simplification-cascades/SKILL.md +0 -113
  175. package/skills/problem-solving/simplification-cascades/skill.json +0 -9
  176. package/skills/problem-solving/when-stuck/SKILL.md +0 -69
  177. package/skills/problem-solving/when-stuck/skill.json +0 -9
  178. package/skills/research/ABOUT.md +0 -20
  179. package/skills/research/tracing-knowledge-lineages/SKILL.md +0 -241
  180. package/skills/research/tracing-knowledge-lineages/skill.json +0 -9
  181. package/skills/testing/condition-based-waiting/SKILL.md +0 -359
  182. package/skills/testing/condition-based-waiting/example.ts +0 -158
  183. package/skills/testing/condition-based-waiting/skill.json +0 -12
  184. package/skills/testing/test-driven-development/SKILL.md +0 -434
  185. package/skills/testing/test-driven-development/skill.json +0 -9
  186. package/skills/testing/testing-anti-patterns/SKILL.md +0 -298
  187. package/skills/testing/testing-anti-patterns/skill.json +0 -9
  188. package/skills/testing/verification-before-completion/SKILL.md +0 -246
  189. package/skills/testing/verification-before-completion/skill.json +0 -10
  190. package/skills/using-a-skill/SKILL.md +0 -101
  191. package/skills/using-a-skill/skill.json +0 -8
  192. /package/.agents/skills/{diagnose → diagnosing-bugs}/scripts/hitl-loop.template.sh +0 -0
  193. /package/.agents/skills/{grill-with-docs → domain-modeling}/ADR-FORMAT.md +0 -0
@@ -4,7 +4,7 @@
4
4
  You have superpowers. Superpowers teach you new skills and capabilities.
5
5
 
6
6
  **Tool for running skills:**
7
- - `superpowers-agent execute <skill-name>`
7
+ - Use your platform's native skill tool, or read the skill's `SKILL.md` directly.
8
8
 
9
9
  **Platform-specific tool mappings:**
10
10
  Tool mappings for your detected platforms are automatically included in your platform-specific configuration files:
@@ -26,8 +26,8 @@ Project skills override Claude skills, which override personal skills, which ove
26
26
 
27
27
  **Critical Rules:**
28
28
  - Before ANY task, review the skills list (shown at bootstrap)
29
- - If a relevant skill exists, you MUST use `superpowers-agent execute` to load it and follow instructions.
30
- - YOU MUST USE YOUR `Read` TOOL TO READ THE SKILL FILE FROM THE PATH SHOWN. YOU MUST NOT `cat` the file or `print` it to yourself.
29
+ - If a relevant skill exists, you MUST load it with your platform's native skill tool and follow its instructions.
30
+ - YOU MUST USE YOUR `Read` TOOL TO READ THE SKILL FILE. YOU MUST NOT `cat` or print it to yourself.
31
31
  - Announce: "I've read the [Skill Name] skill and I'm using it to [purpose]"
32
32
  - Skills with checklists require `manage_todo_list` todos for each item (or manual tracking if unavailable)
33
33
  - NEVER skip mandatory workflows (brainstorming before coding, TDD, systematic debugging)
@@ -1,50 +1,27 @@
1
1
  ## 🎯 SKILLS
2
2
 
3
- Skills extend your capabilities with proven workflows.
3
+ [superpowers-agent Docs](.agents/docs/SUPERPOWERS.md)
4
4
 
5
- ### Discover Skills First
6
-
7
- **Before starting any task**, check for relevant skills:
8
- 1. Use your native skill tool to list available skills.
9
- 2. Review skill descriptions/frontmatter to identify relevant ones.
10
-
11
- ### Skill Loading Rules
12
-
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.
17
-
18
- **Skill priority (highest to lowest):** Project → Personal
19
-
20
- ### Using Tools with Skills
21
-
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.
26
-
27
- ### Why Skills Matter
28
-
29
- Skills encode proven techniques that prevent mistakes. Not using them means repeating solved problems and missing edge cases.
30
-
31
- **If a skill exists for your task, you MUST use it.**
5
+ - Skills encode proven techniques that prevent mistakes.
6
+ - Not using them means repeating solved problems and missing edge cases.
7
+ - If a skill exists for your task, you MUST use it.
8
+ - **Before starting any task**, check for relevant skills, use your native skill tool to do so.
9
+ - Review skill descriptions/frontmatter to identify relevant ones.
10
+ — when a skill references a tool you don't have, substitute your equivalent.
32
11
 
33
12
  ---
34
13
 
35
14
  ## Version Check
36
15
 
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.
16
+ Once per day, check for updates:
17
+ 1. **CURRENT_VERSION** — run any `superpowers-agent` command, extract `X.Y.Z` from `^^SAV:X.Y.Z^^` in the output.
39
18
  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:
19
+ 3. Compare by semver, not string order (`9.10.0` > `9.9.0`). If newer, tell the user — don't run these yourself:
41
20
  > Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
42
21
  > ```sh
43
22
  > npm install -g @complexthings/superpowers-agent
44
23
  > superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
45
24
  > ```
46
- If versions match, or either lookup fails (e.g. no network), continue silently.
25
+ Match, or a lookup fails stay silent.
47
26
 
48
27
  ---
49
-
50
- *Generated by Superpowers on {{DATE}}*
@@ -14,16 +14,16 @@ If `superpowers-agent` is not available, install it: `npm install -g @complexthi
14
14
 
15
15
  ## Version Check
16
16
 
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.
17
+ Once per day, check for updates:
18
+ 1. **CURRENT_VERSION** — run `superpowers-agent version`, extract `X.Y.Z` from the output.
19
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:
20
+ 3. Compare by semver, not string order (`9.10.0` > `9.9.0`). If newer, tell the user — don't run these yourself:
21
21
  > Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
22
22
  > ```sh
23
23
  > npm install -g @complexthings/superpowers-agent
24
24
  > superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
25
25
  > ```
26
- If versions match, or either lookup fails (e.g. no network), continue silently.
26
+ Match, or a lookup fails stay silent.
27
27
 
28
28
  ---
29
29
 
@@ -1,111 +1,35 @@
1
1
  <!-- SUPERPOWERS_-_INSTRUCTIONS_START -->
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
- ---
2
+ # Superpowers Skills
6
3
 
7
- # Using Superpowers
4
+ [superpowers-agent Docs](../.agents/docs/SUPERPOWERS.md)
8
5
 
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.
6
+ Use your platform's native skill tool to discover and load installed skills relevant to the task. If no native tool is available, inspect the configured skill directories and read the needed `SKILL.md` file.
7
+ <!-- SUPERPOWERS_-_INSTRUCTIONS_END -->
22
8
 
23
- To load a skill's full instructions:
9
+ <!-- rtk-instructions v2 -->
10
+ # RTK — Token-Optimized CLI
24
11
 
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.
12
+ **rtk** is a CLI proxy that filters and compresses command outputs, saving 60-90% tokens.
27
13
 
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.
14
+ ## Rule
29
15
 
30
- **CLI fallback** (use when the skills list isn't already in your context):
16
+ Always prefix shell commands with `rtk`:
31
17
 
32
18
  ```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
19
+ # Instead of: Use:
20
+ git status rtk git status
21
+ git log -10 rtk git log -10
22
+ cargo test rtk cargo test
23
+ docker ps rtk docker ps
24
+ kubectl get pods rtk kubectl pods
36
25
  ```
37
26
 
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
27
+ ## Meta commands (use directly)
62
28
 
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
-
111
- <!-- SUPERPOWERS_-_INSTRUCTIONS_END -->
29
+ ```bash
30
+ rtk gain # Token savings dashboard
31
+ rtk gain --history # Per-command savings history
32
+ rtk discover # Find missed rtk opportunities
33
+ rtk proxy <cmd> # Run raw (no filtering) but track usage
34
+ ```
35
+ <!-- /rtk-instructions -->
@@ -0,0 +1,22 @@
1
+ {
2
+ "version": 1,
3
+ "hooks": {
4
+ "PreToolUse": [
5
+ {
6
+ "type": "command",
7
+ "command": "rtk hook copilot",
8
+ "cwd": ".",
9
+ "timeout": 5
10
+ }
11
+ ],
12
+ "preToolUse": [
13
+ {
14
+ "type": "command",
15
+ "bash": "rtk hook copilot",
16
+ "powershell": "rtk hook copilot",
17
+ "cwd": ".",
18
+ "timeoutSec": 5
19
+ }
20
+ ]
21
+ }
22
+ }
package/AGENTS.md CHANGED
@@ -24,7 +24,7 @@ Skills extend your capabilities with proven workflows.
24
24
 
25
25
  1. **Native skill tool** — load skills via your platform's native skill tool.
26
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]`.
27
+ 3. **Fallback** — if a skill isn't found via the native tool, inspect the configured skill directories and read its `SKILL.md` directly.
28
28
  4. **Tool equivalence** — when a skill references a tool you don't have, substitute your equivalent.
29
29
 
30
30
  ### Why Skills Matter
@@ -50,7 +50,7 @@ Periodically, e.g. once per day check the version of superpowers-agent:
50
50
 
51
51
  ---
52
52
 
53
- *Generated by Superpowers on 2026-06-01*
53
+ *Generated by Superpowers on 2026-07-12*
54
54
  <!-- SUPERPOWERS_SKILLS_END -->
55
55
 
56
56
  ## What This Project Is
@@ -76,7 +76,7 @@ The CLI has **no runtime dependencies** (pure Node.js/Bun built-ins). The only d
76
76
 
77
77
  ## Testing
78
78
 
79
- There is **no automated test runner** and no `test` script. Verification is manual: run the CLI commands directly, or drive the saved prompt scenarios in `.agents/prompts/`. State this plainly rather than inventing a test command.
79
+ Run the automated test suite from `.agents` with `bun test`. There is no root-level test script; run CLI commands directly for manual acceptance checks.
80
80
 
81
81
  ## Architecture
82
82
 
@@ -104,15 +104,14 @@ From `.agents/src/cli.js` dispatch table:
104
104
 
105
105
  - **Core:** `bootstrap [--no-update] [--force]`, `version`, `check-updates`, `update [--no-reinstall]`
106
106
  - **Config:** `config-get`, `config-set <key> <value>`
107
- - **Skills:** `setup-skills`, `find-skills [pattern]`, `use-skill <name>`, `execute <name>`, `dir <name>`, `path <name>`, `get-helpers <skill> <search-term>`
107
+ - **Skills:** `setup-skills`, `session-context [--format=claude|copilot|raw]`
108
108
  - **Install/manage skills:** `add <url-or-path|@alias> [path]`, `add-repository <git-url> [--as=@alias]`, `list-repositories`, `pull <url-or-path|@alias>`, `rm <url-or-path|@alias>`
109
109
  - **Integrations:** `install-cursor-hooks`, `install-aliases`
110
110
 
111
111
  ### Key Flows
112
112
 
113
113
  - **`bootstrap`** → detects installed AI platforms → symlinks skills into each platform's skills dir → writes platform config files
114
- - **`find-skills [pattern]`**searches all three skill tiers returns name/path/description
115
- - **`execute <skill-name>`** → locates skill → outputs SKILL.md content for the agent to follow
114
+ - **Native skill tools** discover and load skills from their configured directories
116
115
  - **`add <url-or-path|@alias>`** → clones a git repo or copies a local path → installs skills into `~/.agents/superpowers/skills/`
117
116
  - **`update`** → checks the npm registry for a newer version → reports if an update is available
118
117
 
@@ -150,3 +149,5 @@ The five canonical triage roles use their default label strings (`needs-triage`,
150
149
  ### Domain docs
151
150
 
152
151
  Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root (created lazily). See `docs/agents/domain.md`.
152
+
153
+ @RTK.md