Conversation
📝 WalkthroughWalkthroughThree documentation files added to introduce OpenClaw integration for Superpowers. Includes installation workflow, setup instructions, comprehensive usage guide, and a README reference link. No code or logic changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@docs/README.openclaw.md`:
- Around line 13-15: The install instruction currently fetches from an unpinned
ref "refs/heads/main"; update the quick-install URL in the README.openclaw.md to
reference a specific, versioned ref (a released tag or commit SHA) instead of
"refs/heads/main" so installs are reproducible and avoid unreviewed
changes—replace the URL string
"https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md"
with one that uses a concrete tag or commit SHA and add a short note beside it
indicating the chosen tag/sha and how to update it for newer releases.
In `@README.md`:
- Around line 69-77: Update the OpenClaw install instruction to reference a
specific release tag or commit SHA instead of the mutable refs/heads/main URL;
locate the README section under the "OpenClaw" heading and replace the fetch URL
string
"https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md"
with a versioned URL that includes either a release tag (e.g., refs/tags/vX.Y.Z)
or a commit SHA so the INSTALL.md fetched is immutable and reproducible.
🧹 Nitpick comments (1)
.openclaw/INSTALL.md (1)
30-32: Add a safety guard beforerm -rf.Since this is a copy-paste script, it’s worth preventing accidental deletes if variables are empty or altered.
🔒 Safer shell guard
mkdir -p "$WORKSPACE_SKILLS_DIR" -rm -rf "$TARGET_DIR" +case "$TARGET_DIR" in + "$WORKSPACE_SKILLS_DIR"/*) rm -rf "$TARGET_DIR" ;; + *) echo "Refusing to remove unexpected path: $TARGET_DIR" >&2; exit 1 ;; +esac
| ``` | ||
| Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md | ||
| ``` |
There was a problem hiding this comment.
Prefer a versioned install URL instead of main.
Using refs/heads/main makes the instructions non-reproducible and exposes users to unreviewed changes. Use a tag/commit SHA in the quick-install snippet.
✅ Suggested doc tweak
-Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md
+Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/tags/<release>/.openclaw/INSTALL.md🤖 Prompt for AI Agents
In `@docs/README.openclaw.md` around lines 13 - 15, The install instruction
currently fetches from an unpinned ref "refs/heads/main"; update the
quick-install URL in the README.openclaw.md to reference a specific, versioned
ref (a released tag or commit SHA) instead of "refs/heads/main" so installs are
reproducible and avoid unreviewed changes—replace the URL string
"https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md"
with one that uses a concrete tag or commit SHA and add a short note beside it
indicating the chosen tag/sha and how to update it for newer releases.
| ### OpenClaw | ||
|
|
||
| Tell OpenClaw: | ||
|
|
||
| ``` | ||
| Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md | ||
| ``` | ||
|
|
||
| **Detailed docs:** [docs/README.openclaw.md](docs/README.openclaw.md) |
There was a problem hiding this comment.
Pin the install instructions to a release tag/commit.
The fetch URL points at refs/heads/main, which can change over time and weakens reproducibility/security. Prefer a versioned tag or commit SHA in the docs, then update the tag as part of releases.
✅ Suggested doc tweak
-Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md
+Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/tags/<release>/.openclaw/INSTALL.md📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| ### OpenClaw | |
| Tell OpenClaw: | |
| ``` | |
| Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md | |
| ``` | |
| **Detailed docs:** [docs/README.openclaw.md](docs/README.openclaw.md) | |
| ### OpenClaw | |
| Tell OpenClaw: | |
🤖 Prompt for AI Agents
In `@README.md` around lines 69 - 77, Update the OpenClaw install instruction to
reference a specific release tag or commit SHA instead of the mutable
refs/heads/main URL; locate the README section under the "OpenClaw" heading and
replace the fetch URL string
"https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.openclaw/INSTALL.md"
with a versioned URL that includes either a release tag (e.g., refs/tags/vX.Y.Z)
or a commit SHA so the INSTALL.md fetched is immutable and reproducible.
Summary
This PR adds OpenClaw platform support for
obra/superpowersby introducing an OpenClaw-specific installation entrypoint and documentation.Scope
.openclaw/INSTALL.mdwith OpenClaw install instructions and an automated install script (clone + symlink/copy into OpenClaw workspaceskills/).docs/README.openclaw.mdwith full OpenClaw usage and platform-specific behavior notes.README.mdInstallation section to include OpenClaw alongside Codex and OpenCode.skills/.About OpenClaw
OpenClaw is a local-first assistant runtime with native tools, skill discovery, and session orchestration. It is designed to run agentic workflows with explicit control and can be used across desktop/server environments.
Testing
Validated in an OpenClaw environment that 13 superpowers skills can be discovered, loaded, and triggered via the OpenClaw skill system.
Summary by CodeRabbit