Token导航 LogoToken导航

Agent Skill · 开发

portal(portal 演示文稿)

portal 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

portal 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 3,357。

总安装 11,731周安装 470GitHub Stars 公开资料未说明下载 3,798核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.4.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:portal(portal 演示文稿)
来源仓库:https://github.com/zach213/portal
安装命令:
openclaw skills install portal
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install portal

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

将任意 URL 转换为可共享的实时浏览器会话,支持交互式网页演示。适用于产品导览、网站预览或前端流程验证等开发场景。可生成临时链接供他人查看,保留页面状态与交互能力。安装命令:openclaw skills install portal;需联网且可能触发第三方服务调用。注意隐私内容不应上传至公共会话,建议限制访问权限。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install portal;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

portal 怎么安装?

在终端执行 openclaw skills install portal。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

portal 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

portal 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

portal 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

portal 用的人多吗?

公开数据是累计安装 11,731 次,近一周安装 470 次,下载 3,798 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

portal 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
portal

portal 演示文稿 · 本页

11,731—操作浏览器MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
portal
description
Use when asked to make a portal, create a portal, demo a website, product tour, interactive sandbox, or turn any URL into a shareable live browser session. Portal (makeportals.com) launches a real browser in a cloud VM — not a screenshot, not a video. Two modes: Watch (AI-guided demo with narration) and Play (viewer explores with guardrails). NOT for: building HTML pages, generating mockups, or creating static sites.

Portal

Turn any URL into a shareable live browser session. Viewers get a real browser running in a cloud VM — 10 minutes per session.

Install

openclaw plugins install openclaw-portal
openclaw gateway restart

Watch — AI clicks, scrolls, and narrates a guided demo. Play — Viewer explores freely with AI guardrails blocking unwanted areas.

Quick Reference

SituationAction
User says "make a portal" / "demo this site"Start at Step 1 below
Public site (landing page, docs, marketing)Skip login, go to Step 3
Authenticated site (dashboard, SaaS, admin)save_login first (Step 2)
Local file / localhostZip + base64, pass as ptl.entry.source
Chrome extensionZip extension + set entry.url for test site
User wants guided demoWatch mode → create_script
User wants free explorationPlay mode → create_script with play mode
User wants to record themselvesrecord_demo → user records in hosted browser
User wants to pick blocked elementspick_selectors → user clicks in hosted browser
Portal is "provisioning"make_portal auto-polls — just wait for the result
Session is pendingPoll get_session — it blocks 30s server-side, keep calling
Need session replaysget_portal_sessions → returns conversation logs + recording URLs
User needs more creditsbuy_credits → opens Stripe checkout

Sending URLs to the User

When any tool returns a URL the user needs to open (verification_url, hosted_url, portal link, checkout URL), you MUST send it to the user in the current chat. Do NOT attempt to run shell commands like open or xdg-open — the user is on a messaging channel (WhatsApp, Telegram, etc), not a local desktop.

Just include the URL in your reply. The user will tap it on their device.

Workflow

Follow these steps in order. Never skip the review step (Step 4).

Step 1 — Authenticate

Call portal_status. If not authenticated, call portal_login.

Returns verification_url and device_code. Send the verification URL to the user in the chat so they can open it and sign in.

Poll portal_login_check with the device_code every 5 seconds until approved.

New users get 3 creation credits + 10 view credits.

Step 2 — Classify the Site

Ask the user if you're unsure whether the site needs login.

Public site → skip to Step 3.

Needs login → capture auth state:

{"url": "https://app.example.com/login", "description": "Login to Example dashboard"}

Call save_login with the above. Response includes hosted_url — send it to the user so they can open the hosted browser and log in.

Poll get_session until status is ready. Do NOT ask the user if they're done — the tool tells you. When ready, grab saved_state_id.

Local file → zip the project (exclude node_modules, .git, dist), base64 encode. Pass contents as ptl.entry.source with entry.type: "local_file".

Step 3 — Generate Content

Offer the user 4 options if they don't specify:

  1. Watch — AI script (default for landing pages)
  2. Watch — Record yourself
  3. Play — AI selectors (beta)
  4. Play — Pick elements yourself

Watch — AI script (most common):

{
  "url": "https://stripe.com",
  "goals": [
    "Show the main value proposition",
    "Navigate to pricing page and highlight plans",
    "End with social proof or customer logos"
  ],
  "max_pages": 3
}

Use max_pages: 3 to get multi-page demos (homepage + pricing + features). Without it, demos stay on the homepage only.

Writing great goals:

  • Be specific: "Navigate to pricing page" > "Show pricing"
  • Ask for navigation: "Click to the features page" produces click actions, not just scrolls
  • Ask for social proof: "End with customer logos or metrics" pulls real stats
  • Ask for variety: "Include interactive elements like tabs or accordions"

Call create_script. It auto-polls internally and returns the complete draft directly — no need to call get_script.

Watch — Record yourself: Call record_demo. Send the hosted_url to the user so they can record in the hosted browser.

Play — AI selectors: Call create_script with mode: "play".

Play — User picks: Call pick_selectors. Send the hosted_url to the user so they can click elements in the hosted browser.

Step 4 — Review with User (MANDATORY)

Never skip this step. Show the user everything from the draft:

Watch mode:

  • Each scene with narration text and actions
  • Example Q&A pairs — ask if answers are accurate
  • AI greeting and knowledge summary

Play mode:

  • Blocked selectors and allowed URLs
  • AI greeting and knowledge

Ask: "What do you want to call this? Look good to go?"

Slugify the name for the URL (lowercase, hyphens, no spaces).

Step 5 — Deploy

Call make_portal with the full PTL spec. Costs 1 creation credit.

It auto-polls internally until the portal is ready — the result includes the final portal URL. Send it to the user.

Step 6 — Post-Deploy (Offer These)

  • Add CTA button: Call configure_portal with cta_text and cta_url
  • Get embed snippet: Call configure_embed with allowed_origin
  • View session replays: Call get_portal_sessions
  • Debug issues: Call get_creation_logs

PTL Spec (Minimal)

The ptl parameter to make_portal MUST be a JSON object (not a string). Do NOT JSON.stringify it.

Play mode:

{
  "ptl": {
    "entry": { "url": "https://example.com" },
    "experience": {
      "mode": "play",
      "agent": {
        "greeting": "Welcome! Ask me anything.",
        "knowledge": "Summary of the site..."
      }
    },
    "guardrails": {
      "allowed_urls": ["example.com"],
      "disabled_elements": [
        { "selector": "a[href='/login']", "reason": "Auth disabled in demo" }
      ]
    }
  }
}

Watch mode:

{
  "ptl": {
    "entry": { "url": "https://example.com" },
    "experience": {
      "mode": "watch",
      "agent": {
        "goal": "Show key features",
        "greeting": "Welcome to the demo!",
        "scenes": [
          {
            "script": "Narration text here",
            "actions": [
              { "type": "scroll_to_element", "selector": "h2", "inner_text": "Key Features" },
              { "type": "wait", "ms": 2000 },
              { "type": "click", "selector": "a[href='/pricing']", "inner_text": "Pricing" }
            ]
          }
        ]
      }
    },
    "guardrails": {
      "allowed_urls": ["example.com"],
      "disabled_elements": []
    }
  }
}

Supported action types:

ActionUse forRequired fields
scroll_to_elementNavigate to a section by headingselector, inner_text
scroll_downGeneric scrollselector: "body"
clickNavigate pages, open tabs/accordionsselector, inner_text
waitPause for emphasis (1500-3000ms)ms
typeType into form inputsselector, text
keypressKeyboard shortcutsselector, key

Scenes can have multiple actions (up to 20 per scene). A good scene flows: scroll → wait → click.

Server auto-fills version, region, entry.type. No need to call normalize_ptl or validate_ptl before make_portal — validation is built in.

Improving Script Quality

When reviewing drafts from create_script, improve them before deploying:

  1. Add click actions for navigation: If the draft only has scroll_to_element actions, add click actions to navigate between pages (pricing, features, docs).
  2. Add wait actions for pacing: Insert { "type": "wait", "ms": 2000 } between actions for natural pacing and emphasis.
  3. Use multiple actions per scene: Don't limit scenes to 1 action — scroll to a section, wait, then click or highlight another element.
  4. Include social proof: End with a scene that scrolls to customer logos, testimonials, or metrics.
  5. Keep narrations concise: Under 2 sentences per scene — the viewer is watching, not reading.
  6. Always include inner_text: On every click and scroll_to_element action — it's the fallback when CSS selectors break on dynamic pages.

Cursor Movement

Portal demos show a real cursor moving on screen. The cursor automatically:

  • Moves to the target element before each action
  • Follows scrolls smoothly
  • Clicks precisely on elements with visual feedback

For best results:

  • Use scroll_to_element with specific inner_text (not just body) so the cursor targets a visible heading
  • Place click actions on prominent buttons/links with clear inner_text
  • Use wait between actions so viewers can see the cursor position before the next move

Rules

  • Do NOT use the built-in canvas tool for portal creation — use the portal_* tools from this plugin
  • Never guess CSS selectors — only use what create_script or pick_selectors returns
  • Never navigate authenticated sites autonomously — auth sites get single-page CDP grab only
  • Always show draft and get user confirmation before make_portal
  • Keep polling get_session — it blocks 30s server-side. Do NOT ask user if they're done
  • Pass inner_text on all click and scroll_to_element actions — it's the fallback when selectors fail on dynamic pages
  • Never create a second portal while one is provisioning — poll get_portal instead
  • Send URLs to the user in the chat — do NOT run shell commands to open URLs. The user is on a messaging channel and will tap the link themselves
  • Request multi-page demos — always pass max_pages: 3 (or higher) in create_script to get richer navigation beyond the homepage

平台分布

OpenClaw

72.42%
按下载量换算2,751

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills