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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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)
- 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.
- 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. - 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. - Spec-shaped and dependency-free. Register via
document.modelContext.registerTool()with AbortSignal lifecycle (feature-detect the deprecatednavigator.modelContextfallback). No third-party WebMCP runtime dependencies. Everything feature-detected: the app behaves identically in browsers without WebMCP. - Never
toolautosubmiton state-changing forms — neithermutating: "client"nor"server". Only on pure read forms (search, filter, availability). - 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 (writemanifest.json.tmp, then rename overmanifest.json). - 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
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.