跳到主内容
智客 ZICQ

技能库 智客分类:设计创意 superwall-editor

Superwall Editor

构建,编辑,或审查Superwall付费墙,登上,和Web2app流出自本地有终端接入的编码代理. 通过本地的 CLI 启动浏览器编辑器会话,或者附加到一个带有对接代码的会话上,然后发现它目前的工具. 包括原生sw-*元素,设计标准,以及附着/调用/释放生命周期.

3630 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

构建,编辑,或审查Superwall付费墙,登上,和Web2app流出自本地有终端接入的编码代理. 通过本地的 CLI 启动浏览器编辑器会话,或者附加到一个带有对接代码的会话上,然后发现它目前的工具. 包括原生sw-*元素,设计标准,以及附着/调用/释放生命周期.

何时用

- 说吧 用户想要构建、编辑或审查超墙付费墙、登入或Web2app流量

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Superwall Paywall Editor、When to use、Start here: attach, then discover、How to build and edit、Orchestration rules、When things go wrong。

文件分析

文件分析:除 SKILL.md 外,正文引用了 references/cli.md、scripts/sw-editor.sh、references/workflow.md、references/native-elements.md、references/design.md,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Build, edit, or review Superwall paywall, onboarding, and web2app flows from a local coding agent with terminal access. Launch a browser editor session through the local CLI or attach to one with a pairing code, then discover its current tools. Covers native sw-* elements, design standards, and the attach/call/release lifecycle.

Superwall Paywall EditorWhen to useStart here: attach, then discoverHow to build and editOrchestration rulesWhen things go wrong

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
superwall-editor
description
Build, edit, or review Superwall paywall, onboarding, and web2app flows from a local coding agent with terminal access. Launch a browser editor session through the local CLI or attach to one with a pairing code, then discover its current tools. Covers native sw-* elements, design standards, and the attach/call/release lifecycle.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 5
  • references/cli.md
  • scripts/sw-editor.sh
  • references/workflow.md
  • references/native-elements.md
  • references/design.md

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「superwall-editor」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-d954c1bddd395331-%E8%B6%85%E5%A2%99%E7%BC%96%E8%BE%91%E5%99%A8.html
请存为 .cursor/skills/superwall-editor/SKILL.md 或 .claude/skills/superwall-editor/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/superwall/skills 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/superwall/skills' --list

npx skills add 'https://github.com/superwall/skills' --skill 'superwall-editor'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: superwall-editor description: Build, edit, or review Superwall paywall, onboarding, and web2app flows from a local coding agent with terminal access. Launch a browser editor session through the local CLI or attach to one with a pairing code, then discover its current tools. Covers native sw-* elements, design standards, and the attach/call/release lifecycle. --- # Superwall Paywall Editor 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](references/cli.md#agent-identity). Preferred API launch flow: 1. Create an auto-expose URL: `scripts/sw-editor.sh expose --application-id --paywall-id --agent-name --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 --args ''` Fallback manual flow: 1. Ask the user for the **pairing code** shown in the editor UI. 2. Attach: `scripts/sw-editor.sh attach --agent-name ` 3. Continue with `tools` and `call`. Full CLI reference: [references/cli.md](references/cli.md). ## How to build and edit - Workflow, build order, and when to use which tool: [references/workflow.md](references/workflow.md) - Native `sw-*` elements (multiple-choice, indicator, drawer, picker, lottie, navigation): [references/native-elements.md](references/native-elements.md) - Design standards, review checkpoints, typography, and conversion principles: [references/design.md](references/design.md) ## Orchestration rules - Always establish an attachment before editing. Use `expose --open --wait` when possible, otherwise use `attach --agent-name `. `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 `
` 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.

相关技能

设计创意

Automation Workflows

设计和实施自动化工作流程,以节省时间和规模化操作作为独家. 用于识别重复任务实现自动化,构建跨工具的工作流程,设置触发器和行动,或优化现有自动化. 包括自动化机会识别,工作流程设计,工具选择(Zapier,Make,n8n),测试,和维护. 触发"自动","自动","工作流程自动…

设计创意

Ui Ux Pro Max

UI/UX设计智能及建筑抛光接口实施指导. 当用户要求UI设计,UX流量,信息架构,视觉风格方向,设计系统/托盘,组件规格,副本/显微镜,可访问性,或生成/critique/refine前端UI(HTML/CSS/JS,React,Next.js,Vue,Svelte,Tailw…

设计创意

Frontend Design

创建美丽现代UI的专家前端设计指南. 在构建起落架页面,仪表板,或任何用户界面时使用.

设计创意

N8n Workflow Automation

设计和输出 n8n 工作流程 JSON 有强力触发器, idempotency, 错误处理, 记录, 重试, 以及 人入"一站"审查队列. 当您需要可审计的自动化时使用.