-
-
Notifications
You must be signed in to change notification settings - Fork 785
[WIP] Claude Code for Web compatibility #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[WIP] Claude Code for Web compatibility #152
Conversation
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
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ 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 |
- 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
|
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) |
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.
…y-01Gi9hmpR3ktjfzoYXDEr3xs
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
Checklist
Additional context
This is a work in progress. I'll be adding commits to get this in shape as I have time.