webmcp-cli-skill SKILL.md skillA

webmcp-cli-skill from opentiny/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add opentiny/agent-skills/webmcp-cli-skill@v1.2.0

Pins v1.2.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
opentiny/agent-skills
Path
skills/webmcp-cli-skill/SKILL.md
Versions recorded
1
Latest version
v1.2.0, committed Aug 18, 2026
Size
24,161 bytes
Repository stars
19
License
none declared

面向第三方 AI Agent 的安装与执行指南:如何使用 webmcp-cli 与浏览器页面交互。包含已注入 WebMCP 工具的页面领域专用工具说明。.

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

# WebMCP CLI Skill

本 Skill 为第三方 AI Agent 提供完整说明,介绍如何通过 Model Context Protocol(MCP)使用 `webmcp-cli` 与浏览器页面交互。

## 何时使用

- 需要与网页交互(点击元素、填写表单、滚动页面)时。
- 需要读取当前 DOM 结构并识别可交互元素时。
- 在已注入领域专用工具的页面上操作时(例如 Excalidraw 绘图工具)。

## 安装

用户环境通常都已经安装好 `webmcp-cli` 工具,当shell终端提示找不到工具时,才进行下面的安装:

```bash
npm install -g @opentiny/webmcp-cli
```

## 命令

### 1. 管理浏览器标签页 `webmcp-cli tabs`

所有子级命令如下:

```bash
webmcp-cli tabs open https://excalidraw.com    # 打开新网页
webmcp-cli tabs close <tabid>                  # 关闭指定标签页
webmcp-cli tabs switch <tabid>                 # 切换到指定标签页
webmcp-cli tabs back                           # 当前标签页后退
webmcp-cli tabs back <tabid>                   # 指定标签页后退
webmcp-cli tabs forward                        # 当前标签页前进
webmcp-cli tabs forward <tabid>                # 指定标签页前进
```

### 2. 查询浏览器当前状态 `webmcp-cli state`

它返回当前浏览器的**导航元数据**(url、title、activeTabid、webmcpTools、所有已打开页签),是确认当前页面有哪些可用工具(`webmcpTools`)的唯一方式。

> **注意**:`state` 不返回页面 DOM 内容(没有 `content` 字段)。需要获取可交互元素或页面信息状态时,请显式调用 `page-agent-tool` 的 `browserState` 或 `searchTree` 动作。

```bash
webmcp-cli state
webmcp-cli state -t <targetId>   # target a specific tab by its real Chrome target ID
```

**输出示例:**

```json
{
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add opentiny/agent-skills/webmcp-cli-skill@sha256:dbd6fd9e1ecc55a0

The line at the top of this page pins the label v1.2.0, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4gafjyaba2ocpksy.svg)](https://markdownregistry.com/a/art_4gafjyaba2ocpksy)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 18, 2026.

versioncommittedcommitsizeaudit
v1.2.0 latest2026-08-18 caeaf04 24,161 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (24161 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

GitHub

opentiny/agent-skills · 19 stars · license none declared · pushed 2026-09-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4gafjyaba2ocpksy
GET https://markdownregistry.com/api/v1/resolve?ref=opentiny/agent-skills/webmcp-cli-skill
GET https://markdownregistry.com/api/v1/blob/dbd6fd9e1ecc55a098976695af501d763c728a1804ff1af6d82c24ab1e896c35

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.

More from opentiny/agent-skills

opentiny-next-app-integration SKILL.md skill
opentiny/agent-skills · skills/opentiny-next-app-integration/SKILL.md · Use when an existing Vue 3 + Vite app needs OpenTiny TinyRobot Chat, GenUI, business WebMCP, business Skill, or…
v1.0.0 · audit A · 19 stars
tiny-robot-skill SKILL.md skill
opentiny/agent-skills · skills/tiny-robot-skill/SKILL.md · Guides TinyRobot Vue AI chat UI implementation, setup, and code generation. Use when the user mentions TinyRobot…
v1.0.0 · audit A · 19 stars
tiny-vue-skill SKILL.md skill
opentiny/agent-skills · skills/tiny-vue-skill/SKILL.md · 当使用 TinyVue 组件库(@opentiny/vue)进行开发时或者配置 TinyVue 工程的国际化,主题配置,表单校验说明,自动导入组件等,一定要阅读本技能。本技能提供严格的 API 文档和示例,以及如何查找流程以及代码规范。
v3.30.0 · audit A · 19 stars
webmcp-sdk-skill SKILL.md skill
opentiny/agent-skills · skills/webmcp-sdk-skill/SKILL.md · 指导如何使用 WebMCP SDK库去开发WebAgent的技能包,将前端应用快速智能化。它包含 TinyRemoter,WebMcpServer,WebMcpClient,createRemoter,…
v1.0.0 · audit A · 19 stars

Every file in opentiny/agent-skills

Browse by kind, by grade A, or by owner.