Логотип 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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем superwall. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Superwall Editor у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/superwall/skills/tree/main/plugins/superwall/skills/superwall-editor
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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

Увімкніть навичку Superwall Editor в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Superwall Editor, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Superwall Editor не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл 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

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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 Editor у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Superwall Editor — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Superwall Editor у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/superwall/skills/tree/main/plugins/superwall/skills/superwall-editor. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Superwall Editor?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Superwall Editor?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Superwall Editor — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Superwall Editor?

Так. Навичку опубліковано на GitHub: superwall, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇