Superwall Paywall Editor
Paywalls are built in a browser editor that exposes its tools over an authenticated relay. This skill drives that relay from the CLI — the exact same surface the MCP gateway uses — so every tool you invoke runs inside the live browser session the user has open.
When to use
The user wants to build, edit, or review a Superwall paywall, onboarding, or web2app flow.
The user pastes a pairing code and asks you to take over editing.
The user asks "what tools can you run right now?" — discover them via the browser, not from memory.
Start here: attach, then discover
Never assume a tool name or signature from memory. The browser is the source of truth and its tool set changes across releases.
Preferred API launch flow:
Create an auto-expose URL:
scripts/sw-editor.sh expose --application-id
superwall-editor
安装
npx skills add https://github.com/superwall/skills --skill superwall-editor
recreations whenever the UI represents a semantic control. See
references/native-elements.md
.
When parsing CLI output, use
jq
— never Python. Example:
sw-editor.sh call get_subtree --args '...' | jq -r '.content[0].text'
Release when the user is done:
scripts/sw-editor.sh release
.
When things go wrong
session_not_ready
: the browser disconnected or reloaded. Ask the user to bring the editor tab back, then re-attach (the pairing code rotates — they'll need to read you the new one).
session_locked
: another client is already attached. The user either attached from another MCP client, or a previous CLI attachment wasn't released. They can detach from the editor UI and you can retry.
unauthorized
: the controller token is stale — re-attach with a fresh pairing code.
attach_failed: provide a valid current pairingCode
: pairing codes expire after ~10 minutes and rotate on detach. Ask the user to show you the current one.
← 返回排行榜