Token导航 LogoToken导航

Agent Skill · 研究检索

page-js-operation-en(页面 js 操作 en)

page-js-operation-en 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

page-js-operation-en 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 17,213。

总安装 6,732周安装 275GitHub Stars 公开资料未说明下载 2,178核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:page-js-operation-en(页面 js 操作 en)
来源仓库:https://github.com/tangjing/page-js-operation-en
安装命令:
openclaw skills install page-js-operation-en
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install page-js-operation-en

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过CDP和Page JS扩展操作网页元素,节省95% Token(仅用于UI自动化测试,不适用于网页浏览工具)

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install page-js-operation-en;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

page-js-operation-en 怎么安装?

在终端执行 openclaw skills install page-js-operation-en。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

page-js-operation-en 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

page-js-operation-en 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

page-js-operation-en 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

page-js-operation-en 用的人多吗?

公开数据是累计安装 6,732 次,近一周安装 275 次,下载 2,178 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

page-js-operation-en 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
page-js-operation-en

页面 js 操作 en · 本页

6,732—操作浏览器MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
page_js_operation
description
Operate web page elements via CDP and Page JS Extension, save 95% Token (for UI automation testing ONLY, NOT a web browsing tool)
tools

Page JS CDP Web Operation Skill

⚠️ Important Notice

This Skill is designed EXCLUSIVELY for browser automation testing scenarios.

This is NOT a tool for daily website browsing or general web access.

🎯 Purpose & Scope

✅ Designed for:

  • Automation testing environments (CI/CD pipelines)
  • UI test script development and validation
  • Page function verification during development
  • Automated regression testing
  • Web scraping of PUBLIC information only

❌ NOT Designed for:

  • ❌ Daily website browsing
  • ❌ Personal web automation assistant
  • ❌ Handling personal accounts or credentials
  • ❌ Automating personal workflows on websites
  • ❌ Any production use involving real user data

🔒 Privacy Field Policy

Strict Rules for Sensitive Fields (password, hidden, file):

ActionAllowed?Condition
Read value❌ NEVERExtension code skips these fields during collection
Write value⚠️ User instruction ONLYRequires EXPLICIT user command, never auto-collected

Technical Guarantee:

// In collectAllElements() - sensitive fields are NEVER collected
const sensitiveTypes = ['password', 'hidden', 'file'];
if (element.tagName === 'INPUT' && sensitiveTypes.includes(element.type)) {
  return;  // Skipped - not indexed, not searchable
}

What this means:

  • Password/hidden/file fields cannot be discovered via searchElementsByKey()
  • They can only be operated via direct DOM commands with explicit user instruction
  • Example: document.querySelector('input[type="password"]').value = 'xxx' requires user-provided selector
  • The extension never proactively reads these fields

Dependencies

This Skill must be used with the following components:

  1. Page JS Extension - Chrome Extension (manual installation required)

- GitHub: https://github.com/TangJing/openclaw_access_web_page_js - Please download and review source code before installation - Installation: chrome://extensions/ → Developer mode → Load unpacked

  1. CDP Environment - Chrome DevTools Protocol access

- Local: http://127.0.0.1:9222 - Or automation frameworks like Puppeteer/Playwright


Workflow

  1. Check Extension → Verify ElementCollector is injected (first time only)
  2. Get Element Index → Call exportData() to get element key list (non-sensitive)
  3. AI Analysis → Identify target elements by keys (buttons, inputs, etc.)
  4. Execute Operation → Perform click/input operations via CDP

⚠️ Security Restrictions

Prohibited Page Types

DO NOT use this Skill on:

  • 🔒 Banking/financial websites
  • 🔒 Login/registration pages (involving passwords)
  • 🔒 Payment pages
  • 🔒 Healthcare/medical websites
  • 🔒 Government/ID-related websites
  • 🔒 Any pages containing personal sensitive information

Prohibited Data Types

DO NOT read or modify:

  • Password input fields (type="password")
  • Credit card number inputs
  • National ID number inputs
  • Other sensitive personal data fields

Recommended Operation Scenarios

This Skill is suitable for:

  • ✅ Web operations with public information
  • ✅ Automation testing environments
  • ✅ Non-sensitive form filling (e.g., search boxes)
  • ✅ Button click operations
  • ✅ Dropdown selection operations

Operation Templates

Check Extension Availability (First Launch)

typeof ElementCollector !== 'undefined'
// Returns true if extension is installed

Get Page Element Index (Non-sensitive)

ElementCollector.exportData()
// Returns: { elements: [...keys], keywords: [...], elementCount: N }
// Note: Only returns element key list, not actual DOM content

Click Button

const results = ElementCollector.searchElementsByKey('{button-keyword}');
const element = Object.values(results)[0];
if (element) element.click();

Fill Regular Input (Non-sensitive)

const inputs = ElementCollector.searchElementsByKey('{search-box/input}');
const input = Object.values(inputs)[0];
if (input) {
  input.value = '{value}';
  input.dispatchEvent(new Event('input', { bubbles: true }));
}

Select Dropdown Option

const selects = ElementCollector.searchElementsByKey('{selector-keyword}');
const select = Object.values(selects)[0];
if (select) {
  select.value = '{option-value}';
  select.dispatchEvent(new Event('change', { bubbles: true }));
}

CDP Command Reference

OperationCDP Runtime.evaluate Expression
Check extensiontypeof ElementCollector !== 'undefined'
Get indexElementCollector.exportData()
ClickElementCollector.searchElementsByKey('btn')[0].click()
FillElementCollector.searchElementsByKey('input')[0].value = 'text'
SelectElementCollector.searchElementsByKey('select')[0].value = 'option'

Common Keywords

OperationRecommended Keywords
Search'搜索', 'search'
Submit'提交', 'submit'
Cancel'取消', 'cancel'
Confirm'确定', 'confirm'
Delete'删除', 'delete'
Edit'编辑', 'edit'
Save'保存', 'save'

⚠️ Privacy & Data Flow

Data Flow

Browser DOM → ElementCollector (Memory Index) → CDP → Local AI Agent
                     ↑
              (Key list only, no sensitive content)

Privacy Notice

  1. Extension Level:

- ✅ Page JS Extension runs entirely in browser locally - ✅ Does not proactively send data to external servers - ✅ Data stored in memory, cleared when page closes

  1. Agent Level:

- ⚠️ AI Agent may send element data to LLM services - ⚠️ Element keys may contain page text content (button labels, input labels) - ⚠️ Ensure your AI Agent configuration meets privacy requirements

  1. User Responsibility:

- ⚠️ Users must review extension source code themselves - ⚠️ Users must ensure AI Agent won't send sensitive data to untrusted services - ⚠️ Users must avoid using this Skill on sensitive pages

Data Scope

Data TypeCollectedOperableDescription
Element id✅ Yes-For indexing
Element class✅ Yes-For indexing
Element title✅ Yes-For indexing
Element innerText✅ Yes-For indexing (max 100 chars)
Regular inputs✅ Yes✅ Read/WriteSearchable, fillable, readable
Password fields❌ Not collected⚠️ Write via explicit user command ONLYNever indexed, never readable, can only write with explicit user DOM command
Hidden fields❌ Not collected⚠️ Write via explicit user command ONLYNever indexed, never readable, can only write with explicit user DOM command
File uploads❌ Not collected⚠️ Write via explicit user command ONLYNever indexed, never readable, can only write with explicit user DOM command
Cookie/Storage❌ No❌ InaccessibleExtension has no such permission

Key Points:

  1. Sensitive fields are NEVER collected - They don't appear in exportData() results
  2. Sensitive fields are NEVER readable - No API exists to read their values
  3. Writing requires explicit user command - User must provide exact DOM selector
  4. This extension does NOT auto-fill sensitive fields - No credential handling

Technical Implementation:

// Automatically skip sensitive fields in collectAllElements()
const sensitiveTypes = ['password', 'hidden', 'file'];
if (element.tagName === 'INPUT' && sensitiveTypes.includes(element.type)) {
  return;  // Not collected to index, cannot search via searchElementsByKey
}

Note: Sensitive fields are not indexed but can still be operated via native DOM API with explicit user command (e.g., document.querySelector('input[type="password"]').value = 'xxx'). This extension does not proactively read values from these fields.


Installation Steps

Step 1: Install Page JS Extension

# 1. Download source code
git clone https://github.com/TangJing/openclaw_access_web_page_js.git
cd openclaw_access_web_page_js

# 2. Review source code (recommended)
# Check for:
# - Network request code
# - Data exfiltration logic
# - manifest.json permissions

# 3. Install extension
# Open chrome://extensions/
# Enable "Developer mode"
# Click "Load unpacked", select project directory

Step 2: Install OpenClaw Skill

# 1. Create Skill directory
mkdir -p ~/.openclaw/workspace/skills/page-js-operation

# 2. Save this SKILL.md to the directory
# Path: ~/.openclaw/workspace/skills/page-js-operation/SKILL.md

# 3. Refresh Skills
openclaw agent --message "refresh skills"

Usage Examples

Safe Scenario: Search Operation

# On search engine page
openclaw agent --message "use page_js_operation to fill search box with 'keyword'"
openclaw agent --message "use page_js_operation to click search button"

Safe Scenario: Navigation Operation

# On content page
openclaw agent --message "use page_js_operation to click next page button"
openclaw agent --message "use page_js_operation to select category from dropdown"

❌ Prohibited Scenario: Login Operation

# DO NOT use on login pages
# openclaw agent --message "fill username and password and click login"
# Reason: Involves password fields

Security Best Practices

  1. Use Dedicated Browser Profile

- Create separate Chrome user profile for automation testing - Do not save any real account credentials in test profile

  1. Limit Accessible Domains

- Restrict accessible domains in extension settings - Only allow test environments or public websites

  1. User Confirmation Mechanism

- Require user confirmation before sensitive operations - E.g., form submissions, deletions

  1. Regular Review

- Periodically review extension code for updates - Check Skill execution logs


Technical Notes

ElementCollector Working Principle

// Collection phase
elementMap = Map<key, Element>  // key → DOM reference
keywordMap = Map<keyword, Set<keys>>  // keyword → key set

// key format: id|class|title|innerText
// Example: "login-btn|btn primary||Login"

Why Token Savings

  • Traditional: Send complete HTML (5000-20000 tokens)
  • This Extension: Send element key list only (100-500 tokens)
  • Savings: ~95%+

Disclaimer

By using this Skill, you agree:

  1. You have reviewed and trust the Page JS Extension source code
  2. You understand this Skill is for automation testing ONLY, NOT for daily web browsing
  3. You understand AI Agent may send element data to LLM services
  4. You will not use this Skill on pages involving sensitive information
  5. You understand sensitive fields (password/hidden/file) are NEVER collected or readable
  6. You understand writing to sensitive fields requires explicit user command
  7. You assume all risks of using this Skill
  8. The Skill author is not liable for any data breaches or losses

Intended Use: This Skill is designed exclusively for automated UI testing in development and CI/CD environments. It is NOT a general-purpose web automation tool for personal use.


Links

平台分布

OpenClaw

98.12%
按下载量换算2,137

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills