Skip to content

Conversation

@purp
Copy link

@purp purp commented Dec 8, 2025

Seeking to give superpowers to Claude Code for Web (addresses #148)

Motivation and Context

I would like to use Superpowers with Claude Code for Web (CC4W) so I can easily use Claude Code from an iPad.

Claude Code for Web seems incapable of installing plugins; using the given command causes it to twiddle for a while then silently get lost in infinite navel gazing. It is, however, quite happy to follow the install instructions for Codex or OpenCode.

How Has This Been Tested?

Empirically by me, using Claude Code for Web as my experimental subject.

Breaking Changes

Should be none.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This is a work in progress. I'll be adding commits to get this in shape as I have time.

The standard plugin installation doesn't work for Claude Code for Web because:
- /plugin commands only exist in CLI version
- Shell hooks (session-start.sh) can't execute in browser
- No local filesystem access for plugin installation

This adds URL-based installation using WebFetch:
- bootstrap.md: Core instructions Claude fetches at session start
- skills-list.md: Catalog of all skills with GitHub URLs
- INSTALL.md: User-facing installation guide
- README.md: Compatibility analysis and limitations
Replace static skills-list.md with dynamic discovery using:
https://api.github.com/repos/obra/superpowers/contents/skills

This eliminates manual maintenance - new skills added to the
repository are automatically discoverable without updating
any files in .claude-code-for-web/
Changed from URL-based fetching to local installation:
- Skills are written to ~/.claude/skills/superpowers/<name>/SKILL.md
- Persists across sessions
- Aligns with CLI's personal skills directory structure
- Read from local files instead of fetching each time
Single entry point: users now fetch INSTALL.md which contains both
human-readable instructions and the <EXTREMELY_IMPORTANT> block
that Claude follows to install skills.

Matches the pattern used by .codex/INSTALL.md and .opencode/INSTALL.md
- INSTALL.md: Human-readable guide, directs Claude to bootstrap.md
- bootstrap.md: <EXTREMELY_IMPORTANT> block with installation instructions

Matches pattern used by .codex/INSTALL.md
@coderabbitai
Copy link

coderabbitai bot commented Dec 8, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

purp and others added 4 commits December 8, 2025 12:21
- INSTALL.md: Simple git clone + session activation steps
- bootstrap.md: Updated paths to ~/.claude/skills/superpowers/skills/
- README.md: Updated directory structure and workflow docs
- Updating via git pull instead of re-fetching from API
* Notice that Claude Code for Web has its own `~/.claude/skills` directory with a `session-start-hook` skill in it
* Ignore Claude's lies about Claude Code for Web not having hooks
* Explore the existing `session-start-hook` skill
* Read online docs on hooks
* Rework to use a `SessionStart` hook
@obra
Copy link
Owner

obra commented Dec 9, 2025

Neat! You might be able to get away with the bootstrap being a pointer to the using-superpowers skill. (Also, I've gotta believe plugins are coming to cc on the web. But that shouldn't stop us from having something good before that)

purp added 7 commits December 10, 2025 16:18
Seems like Claude misled me in saying that it had user-level skills that persist across sessions and projects, even though it clearly has user-level skills.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants