Chuyển đến nội dung
Skillpedia
Agent40k · #7476

webmcpify

Skill này làm gì

Webmcpify biến một website hiện có thành công cụ cho agent AI. Nó làm việc này bằng cách mở các chức năng của website theo cách AI có thể dùng trực tiếp, thay vì phải đoán cách tương tác với trang.

Khi nào nên dùng

  • ✓Khi bạn muốn AI điều khiển website của mình.
  • ✓Để kết nối một website với các hệ thống AI tiên tiến hơn.
  • ✓Để các hành động của website dễ hiểu đối với agent AI.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/webmcpify/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm cho website thương mại điện tử của tôi để AI có thể thêm sản phẩm vào giỏ hàng và hoàn tất mua hàng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Webmcpify phân tích website của bạn, xác định các hành động người dùng có thể làm, và tạo một “manifest” mô tả các hành động này cho AI. Sau đó nó tích hợp các mô tả này vào website và kiểm tra xem AI có thể dùng đúng các chức năng hay không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

…

Câu hỏi thường gặp

WebMCP là gì?

WebMCP là một tiêu chuẩn đề xuất để website mô tả các chức năng của mình cho agent AI theo cách có cấu trúc.

Agent AI làm gì với thông tin này?

AI dùng “manifest” để hiểu những hành động nào có thể thực hiện trên website và cách thực hiện, từ đó điều khiển website hiệu quả hơn.

Điều gì xảy ra nếu AI cố làm điều không được phép?

Webmcpify có các cơ chế xác minh và tự phục hồi để đảm bảo AI chỉ thực hiện các hành động được phép và an toàn, đồng thời mã không liên quan không bị ảnh hưởng.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7476
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự