Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

webmcp-adapter-creatorwebmcp 适配器创建者

Agent Skill

webmcp-adapter-creator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

26

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:webmcp-adapter-creator(webmcp 适配器创建者)
来源仓库:https://github.com/holon-run/webmcp-bridge
仓库路径:skills/webmcp-adapter-creator
安装命令:
npx skills add https://github.com/holon-run/webmcp-bridge --skill webmcp-adapter-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/holon-run/webmcp-bridge --skill webmcp-adapter-creator

简介

webmcp-adapter-creator 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

WebMCP Adapter Creator

Use this skill to create or update a fallback SiteAdapter for @webmcp-bridge/local-mcp.

When To Use

Use this skill when:

  • the target site does not expose native navigator.modelContext
  • an existing adapter does not exist yet
  • an existing adapter needs new tools, pagination, or request-template refresh
  • a site requires browser-side request execution instead of DOM-only scraping

If the user only needs to connect to an existing site through the bridge, use $webmcp-bridge instead.

Prerequisites

  • The target site URL is known.
  • The user can authenticate in the browser profile if the site requires login.
  • pnpm is installed for local package work.
  • npx playwright install has already been run in the current environment when Playwright browsers are not present.

Core Workflow

  1. Confirm the site really needs a fallback adapter:

- check whether native navigator.modelContext already exists - if native WebMCP exists, stop and use $webmcp-bridge instead of writing an adapter

  1. Scaffold a new adapter package when starting from scratch:

- skills/webmcp-adapter-creator/scripts/scaffold-adapter.sh --name <site> --host <host> --url <url>

  1. Fix the contract first:

- implement manifest - implement createAdapter() - keep all payloads JSON-serializable

  1. Design the tool surface before coding extraction logic:

- use stable product names such as tweet.get, timeline.home.list, user.get - put parameter details in schema field descriptions, not only in tool descriptions

  1. Prefer browser-side request execution over server-side credential replay:

- run requests in the page context so the site's own auth/session state is reused - do not move cookies or bearer tokens into local-mcp

  1. Discover stable request templates from real page behavior:

- trigger the target action in the page - observe the network request shape - extract a reusable request template with placeholders for ids, cursors, queries, or feature flags

  1. Implement fallback layers explicitly:

- first try browser-side network/template execution - for assistant/chat products, prefer intercepting the product's real request/response path over reading rendered text - if network execution is unavailable or the template is missing, fall back to DOM extraction when safe - include source and reason fields so callers can see which path ran - when a helper is cross-site and not product-specific, prefer putting it in a shared adapter utility package instead of copying it into one adapter - for long prompts, prefer one-shot DOM insertion into the real composer and use incremental type() or fill() only as a fallback - when waiting for chat/image completion, use activity-aware idle deadlines instead of a fixed wall-clock timeout - activity signals may include stop controls, response fingerprint changes, feedback buttons, or generated image count changes - compare against a normalized snapshot of the previous response before declaring a new answer ready - do not reset or reopen the page during fallback confirmation if that would lose the current conversation/session context

  1. Add contract and integration coverage:

- package-local unit tests for tool behavior and validation - local-mcp integration tests for full bridge execution - cover long prompt insertion, long-thinking waits, stale-response misdetection, and session-preserving fallback paths

Guardrails

  • Keep site logic inside the adapter package only.
  • Fail closed on ambiguous upstream states such as AUTH_REQUIRED, UPSTREAM_CHANGED, and CHALLENGE_REQUIRED.
  • Prefer stable request templates over brittle DOM-only scraping for authenticated data reads.
  • Do not add credential vaulting, secret replay, or auth bypass logic.
  • The browser page is the execution environment for privileged site actions.

References

  • End-to-end adapter creation flow:

- references/workflow.md

  • How to discover requests from page behavior:

- references/network-discovery.md

  • How to turn captured requests into reusable templates:

- references/request-template-patterns.md

  • Runtime patterns for streamed responses, request interception, and session-aware tools:

- references/adapter-runtime-patterns.md

  • Testing expectations for adapter packages:

- references/testing.md

  • Adapter scaffold helper:

- scripts/scaffold-adapter.sh

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.86%
按下载量换算26

Claude

26.52%
按下载量换算19

Cursor

18.87%
按下载量换算13

Gemini CLI

9.13%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills