summaryrefslogtreecommitdiff
path: root/.openclaw
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-04-28 16:56:39 -0700
committerDrew Ritter <drew@primeradiant.com>2026-04-28 16:56:39 -0700
commitdc6082d7ff9dcfd15d16c71a883ae6cf51fb51cf (patch)
tree01cba0738c4ce7732248f05e506cf052c5d6b944 /.openclaw
parent772332a4765331f202f5cb87bcbe4e7e1db9deed (diff)
Add native OpenClaw plugin supportcodex/openclaw-native-plugin
Diffstat (limited to '.openclaw')
-rw-r--r--.openclaw/index.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/.openclaw/index.js b/.openclaw/index.js
new file mode 100644
index 0000000..0956b3d
--- /dev/null
+++ b/.openclaw/index.js
@@ -0,0 +1,23 @@
+const SUPERPOWERS_GUIDANCE = `## Superpowers
+
+You have access to the Superpowers skill framework through OpenClaw's native skill system.
+Before responding to software development work, check whether one of those skills applies.
+If a Superpowers skill fits the task, invoke it before proceeding.
+
+Start with \`using-superpowers\` when you need the overall workflow. Common follow-on
+skills include \`brainstorming\`, \`writing-plans\`, \`test-driven-development\`,
+\`systematic-debugging\`, \`dispatching-parallel-agents\`, and
+\`verification-before-completion\`.
+
+When Superpowers instructions mention generic tools, use the closest native OpenClaw
+tool or workflow.`;
+
+export default {
+ id: "superpowers-openclaw",
+ name: "Superpowers for OpenClaw",
+ description: "Expose the Superpowers skill pack through OpenClaw's native plugin skill discovery.",
+
+ register(api) {
+ api.on("before_prompt_build", async () => ({ prependSystemContext: SUPERPOWERS_GUIDANCE }));
+ },
+};