Superwall Editorのロゴ

Superwall Editor

組織
superwall
superwall-editor

LEGACY — drives the browser (visual) paywall editor over a pairing code. For any screen an agent builds, use superwall-framework instead (paywalls, onboarding, update-required, lifecycle prompts, announcements, offers and web flows, as React code); to move an existing editor paywall onto it, run `superwall migrate <paywall-id>`. Use this skill only when the user explicitly wants to edit inside the visual editor, or to read an editor paywall before migrating it. Covers attach/call/release, native sw-* elements and the editor tool surface.

概要

公開者superwall
リポジトリskills
スキル名superwall-editor
スター
31
フォーク
1
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    superwallがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSuperwall EditorをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/superwall/skills/tree/main/plugins/superwall/skills/superwall-editor
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/superwall/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/superwall/skills/superwall-editor .claude/skills/superwall-editor
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSuperwall Editorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSuperwall Editorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Superwall Editorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Superwall Paywall Editor

[!WARNING] LEGACY. For agents, the visual editor is the second choice. Any screen an agent builds (a paywall, an onboarding, an update-required screen, a lifecycle prompt, an announcement, an offer, a web flow) belongs in the superwall framework: a React mini-app in the user's repo, reviewed as code, localized from message files, previewed in the studio on every device, and shipped with superwall push / promote. Use the superwall-framework skill. If it isn't installed:

bash
npx skills add https://github.com/superwall/skills --skill superwall-framework --global --yes --agent claude-code universal --full-depth

The framework is in public beta and the CLI has its commands by default (an Unknown command: create means an older CLI: ask the user to run superwall upgrade).

An editor paywall moves over in one command:

bash
superwall migrate <paywall-id>

It scaffolds the paywall as code, briefs the rebuild (the framework skill's references/migrate-from-editor.md is the playbook), and shows the original beside the new one in the studio (Compare › Original). The original keeps serving until a campaign is switched to the new one, so nothing changes for users until then.

What to do here:

  • Asked to build any new screen: build it with the framework, not here.
  • Asked to change an editor paywall: offer the migration first, in one line, saying what it gains (code review, localization files, any component library, the same studio for every screen). If the user says no or wants a quick edit in place, continue with this skill.
  • Never migrate unprompted, and never refuse an explicit editor request.

Paywalls are built in a browser editor that exposes its tools over an authenticated relay. This skill drives the same surface used by the MCP gateway, so every tool 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.

For --agent-name, use your agent's recognized slug, such as codex, claude, or cursor. Use other for Grok Build, Muse Code, or any agent not listed in the CLI reference.

Preferred API launch flow:

  1. Create an auto-expose URL: scripts/sw-editor.sh expose --application-id <id> --paywall-id <id> --agent-name <agent> --open --wait
  2. Ask the user to complete browser authorization if prompted. The editor auto-exposes; do not ask them to click the expose button.
  3. Discover what is available right now: scripts/sw-editor.sh tools
  4. Invoke tools: scripts/sw-editor.sh call <tool-name> --args '<json>'

Fallback manual flow:

  1. Ask the user for the pairing code shown in the editor UI.
  2. Attach: scripts/sw-editor.sh attach <pairing-code> --agent-name <agent>
  3. Continue with tools and call.

Full CLI reference: references/cli.md.

How to build and edit

Orchestration rules

  • Always establish an attachment before editing. Use expose --open --wait when possible, otherwise use attach <pairing-code> --agent-name <agent>. tools, call, status, release all require an attached session.
  • Prefer expose --open --wait when you have SUPERWALL_API_KEY, an application id, and a paywall id. It uses the same relay as manual pairing but removes the human pairing-code step.
  • Before calling a tool you have not used this session, run tools to confirm it exists and to read the current parameter schema. Tools are defined in the browser bundle, so an updated editor can ship new or renamed tools without changing this skill.
  • Use get_screenshot (if present in the tool list) every two or three modifications to verify. Don't fly blind.
  • Prefer semantic tools (update_styles, set_text_content, set_dynamic_value, move_nodes) over re-running write_html on existing structure. See references/workflow.md.
  • Prefer native sw-* elements over hand-rolled <div> recreations whenever the UI represents a semantic control. See references/native-elements.md.
  • When parsing CLI output, use jq, not 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, so they must provide 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.

Report what's broken

When you confirm an editor tool misbehaves (wrong result, a crash, a schema that doesn't match tools, a doc here that's wrong) or lacks something the user needed, report it yourself without asking (Superwall's terms cover it), then tell the user in one line. Write it with every ID needed to reproduce it and what the user is trying to do in --use-case; Superwall merges duplicates, so don't search first. Strip secrets and customer data. The superwall skill's Feedback section has the rest.

bash
superwall feedback "Called X with Y; expected Z; got W." --title "..." \
  --kind bug --use-case "..." --command "sw-editor.sh call <tool>" --app <id> \
  --context paywall=<id> --file error.json --json

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Superwall Editor」では何ができますか?

LEGACY — drives the browser (visual) paywall editor over a pairing code. For any screen an agent builds, use superwall-framework instead (paywalls, onboarding, update-required, lifecycle prompts, announcements, offers and web flows, as React code); to move an existing editor paywall onto it, run `superwall migrate <paywall-id>`. Use this skill only when the user explicitly wants to edit inside the visual editor, or to read an editor paywall before migrating it. Covers attach/call/release, native sw-* elements and the editor tool surface.

TypingMindでSuperwall Editorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Superwall Editorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSuperwall Editorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/superwall/skills/tree/main/plugins/superwall/skills/superwall-editorを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Superwall Editorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Superwall Editorは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSuperwall Editorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Superwall Editor」は無料ですか?

はい。superwallがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇