Move skills to .agent directory
Some checks failed
Build / build (push) Successful in 2m0s
OpenWiki Update / update (push) Has been cancelled

This commit is contained in:
Tim Krampitz
2026-10-04 22:13:19 +02:00
parent 8bccf66e84
commit ffb017568b
186 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
---
name: agent-ready-webmcp
description: >
Sub-skill de agent-ready-cloudflare: Implement WebMCP
---
# Implement WebMCP
Expose site tools to AI agents via the browser using the
[WebMCP API](https://webmachinelearning.github.io/webmcp/)
([Chrome blog](https://developer.chrome.com/blog/webmcp-epp)).
## Requirements
- Call `navigator.modelContext.registerTool()` for each tool you want to expose
- Each tool needs `name`, `description`, `inputSchema` (JSON Schema), and an `execute` callback
- Tools should expose your site's key actions (search, navigation, data retrieval)
- Use an `AbortController` signal to unregister tools when no longer needed
- The API is detected via browser rendering — ensure the script runs on page load
## Validate
```
POST https://isitagentready.com/api/scan
Content-Type: application/json
{"url": "https://YOUR-SITE.com"}
```
Check that `checks.discovery.webMcp.status` is `"pass"`.