next-sdk-page-agent SKILL.md skillA
next-sdk-page-agent from opentiny/webmcp-sdk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add opentiny/webmcp-sdk/next-sdk-page-agent@git:20260909.46929f2Pins git:20260909.46929f2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- opentiny/webmcp-sdk
- Path
packages/next-sdk/skills/page-agent/SKILL.md- Versions recorded
- 6
- Latest version
- git:20260909.46929f2, committed Sep 9, 2026
- First version recorded
- Jul 22, 2026
- Size
- 4,383 bytes
- Repository stars
- 124
- License
- MIT
@opentiny/next-sdk 的 page-agent-tool / a11y / registerPageAgentTool 相关开发。 在修改 page-tools、无障碍配置、console-cloud 预设、runtime 注入时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# next-sdk Page Agent Skill
## 动手前(硬门禁)
先遵守根 [`AGENTS.md`](../../../../AGENTS.md)「任务分流」。修改下列任一内容前,**必须**先创建或更新 `packages/next-sdk/specs/REQ-YYYYMMDD-slug/`(仅当用户明确豁免时可例外):
- 公开 API / 类型(含 `A11yRoleRule`、`A11yConfig`、`PageAgentToolOptions` 等)
- `consoleCloudPageAgentToolOptions` 或其他默认/预设行为
- 无障碍树构建、剪枝、Static-Lift、序列化语义
- 需要更新 `docs/webmcp-sdk/page-agent-tool.md` 的行为说明
近期示例:[`specs/REQ-20260904-contenteditable-a11y-ref/`](../../specs/REQ-20260904-contenteditable-a11y-ref/)、[`specs/REQ-20260903-mask-cursor-lifecycle/`](../../specs/REQ-20260903-mask-cursor-lifecycle/)、[`specs/REQ-20260817-clipboard-handler/`](../../specs/REQ-20260817-clipboard-handler/)。
拿不准是否琐碎 → **先问用户**,不要默认开写。
## 何时使用
- 改 `packages/next-sdk/page-tools/**`
- 注册或配置 `registerPageAgentTool`
- 调整 `a11yConfig`、站点预设 `consoleCloudPageAgentToolOptions`
- 改 `runtime.ts` 挂载的 page-agent API
权威长文:[docs/webmcp-sdk/page-agent-tool.md](../../../../docs/webmcp-sdk/page-agent-tool.md)
## 入口
| 入口 | 用途 |
|---|---|
| `index.ts` | 完整浏览器侧导出 |
| `core.ts` | 无 DOM 精简入口(不含完整 page-agent API) |
| `runtime.ts` | CDN/IIFE:挂 API,**不**自动 `registerPageAgentTool` |
## 关键 API(符号级)
```ts
import {
registerPageAgentTool,
…Read the whole file at its exact version.
How to install
mdr add opentiny/webmcp-sdk/next-sdk-page-agent@sha256:19adc699f0b4529cThe line at the top of this page pins the label git:20260909.46929f2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_qloae5lisbffnagy)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 22, 2026 and Sep 9, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260909.46929f2 latest | 2026-09-09 | 46929f2 | 4,383 B | A | view · diff |
| git:20260907.bddb6e4 | 2026-09-07 | bddb6e4 | 4,073 B | A | view · diff |
| git:20260904.3c7564b | 2026-09-04 | 3c7564b | 3,721 B | A | view · diff |
| git:20260903.fb9fff3 | 2026-09-03 | fb9fff3 | 3,640 B | A | view · diff |
| git:20260818.bfc9cc6 | 2026-08-18 | bfc9cc6 | 3,170 B | A | view · diff |
| git:20260722.58db297 | 2026-07-22 | 58db297 | 2,918 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4383 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
opentiny/webmcp-sdk · 124 stars · license MIT · pushed 2026-11-03 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_qloae5lisbffnagy GET https://markdownregistry.com/api/v1/resolve?ref=opentiny/webmcp-sdk/next-sdk-page-agent GET https://markdownregistry.com/api/v1/blob/19adc699f0b4529c624a5b3b91af7b681d2dd63675f308daea6e15eaad82a226
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.