本文へスキップ
Skillpedia
エージェント40k · #7476

webmcpify

できること

Webmcpifyは、既存のWebサイトをAIエージェントが使えるツールに変換します。Webサイトの機能をAIが直接使える形で公開するため、AIがページの操作方法を推測する必要がなくなります。

使う場面

  • ✓AIにWebサイトを操作させたいとき。
  • ✓より高度なAIシステムとWebサイトを連携させたいとき。
  • ✓Webサイト上の操作をAIエージェントに理解させたいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/webmcpify/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/webmcpify/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のECサイトで、AIが商品をカートに追加して購入まで完了できるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

Webmcpifyはまずサイトを解析し、ユーザーが行える操作を特定します。次に、その操作を説明する「マニフェスト」をAI向けに作成します。その後、この説明文をWebサイトに組み込み、AIが機能を正しく使えるかを検証します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

webmcpify — make any web app agent-ready, verifiably

You are running the webmcpify pipeline. It takes an existing web application and exposes its user-facing functionality as WebMCP tools (document.modelContext — a proposed web standard incubated in the W3C Web Machine Learning Community Group, currently a Chrome origin trial), so browser AI agents can operate the app through structured tool calls instead of guessing at the DOM.

DETECT ──▶ INVENTORY ──▶ [HUMAN GATE: manifest approval] ──▶ INTEGRATE ──▶ VERIFY ──▶ HEAL ──▶ AUDIT
              ▲  loop            per-area batches on big apps    ▲  loop      ▲ loop    ▲ loop
              └── per area                                       └── per manifest entry ──┘

Everything you need ships inside this skill directory: phase guides in references/, and vendorable code in templates/ (runtime, ambient types, JS variant, React JSX typings, verification spec). Never assume files exist outside the skill dir.

Out of scope (stop and say so): backend-only MCP servers (that's classic MCP, not WebMCP), automating third-party sites you don't control, and generic SEO work.

Invocation modes

The user may pass an argument (/webmcpify <mode> or plain words):

Argument Run Stop at
(none) or full all phases, resuming from current manifest state done
inventory / map DETECT + INVENTORY loops only — zero code changes present the manifest table for review
integrate INTEGRATE loop only (requires approved tools in the manifest) integrated + built
verify VERIFY + HEAL loops on integrated/verified tools green/skipped report
status read .webmcpify/manifest.json — read-only report phase, per-status tool counts, and the recommended next command

Any other text is scoping guidance (e.g. "only the checkout area", "read-only tools only").

Ground rules (non-negotiable, enforce in every phase)

  1. Zero unrelated changes. Every diff hunk you produce must trace to a manifest entry or the recorded one-time setup. Never refactor, reformat, rename, or "improve" anything else — note problems in the report instead. Files that were already dirty at baseline (recorded in the manifest) are untouchable: never modify or revert them.
  2. Read-only tools first. Mutations are tri-state: mutating: false, "client" (browser-local only: prefs, localStorage), or "server" (data leaves the browser). Server-mutating tools require explicit per-tool human approval recorded in the manifest; client-mutating tools may be approved as a batch at the gate. Never expose destructive, irreversible, or payment actions in a first integration.
  3. The server is the only trust boundary. A tool's execute() may only call code paths the UI already uses (same endpoints, same validation, same auth). Never create new endpoints, never bypass existing checks, never put secrets in tools.
  4. Spec-shaped and dependency-free. Register via document.modelContext.registerTool() with AbortSignal lifecycle (feature-detect the deprecated navigator.modelContext fallback). No third-party WebMCP runtime dependencies. Everything feature-detected: the app behaves identically in browsers without WebMCP.
  5. Never toolautosubmit on state-changing forms — neither mutating: "client" nor "server". Only on pure read forms (search, filter, availability).
  6. State lives in files, not in your context. Read/write .webmcpify/ constantly; assume your context can be wiped between any two steps. Write the manifest atomically (write manifest.json.tmp, then rename over manifest.json).
  7. Commits are opt-in. Never commit unless the human chose a commit policy at the gate (see below). Without git or without permission, leave changes in the working tree and record progress in the manifest only.

Fresh, authoritative guidance

WebMCP is an evolving origin-trial API — the surface has already changed during the trial (testing API removed 2026-07; navigator → document). Before Phase 2, if network is available, pull Google's current official guides rather than relying on memory:

npx -y modern-web-guidance@latest retrieve "webmcp,agentic-forms,agentic-javascript-tools"

If offline, use references/integrate.md — but prefer the live guides when they conflict.

…

よくある質問

WebMCPとは何ですか?

WebMCPは、Webサイトが自身の機能を構造化された形でAIエージェントに説明するための、提案段階の標準規格です。

AIエージェントはこの情報をどのように使いますか?

AIは「マニフェスト」を使って、そのWebサイトでどのような操作が可能か、そしてどのように実行するかを理解します。これにより、より効果的にサイトを操作できるようになります。

AIが本来してはいけない操作をしようとした場合はどうなりますか?

Webmcpifyには検証と修復の仕組みがあり、AIが許可された安全な操作だけを行うように制御します。また、関係のないコードはそのまま変更されません。

詳細

作者による元の説明

Make a web app agent-ready — propose a WebMCP tool manifest, integrate, verify in a real browser, heal; unrelated code stays untouched. Use for "webmcpify", "add WebMCP", or "expose app actions to AI agents".

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7476
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル