with one click
js-hello-ops-skill
JS Eyes Skills 最小样例 — 读取任意标签页的标题。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
JS Eyes Skills 最小样例 — 读取任意标签页的标题。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Install, configure, verify, and troubleshoot JS Eyes browser automation for OpenClaw.
Bilibili 视频读取 skill,提供视频元数据与字幕读取能力。
GitHub 仓库与 Issues 只读 + 浏览器导航 skill(REST + PAGE_PROFILES + bridges)。
Hacker News 只读 + 浏览器导航 skill:首页 / 帖子评论 / 用户 / Algolia 搜索走 Firebase API + DOM 兜底,浏览器侧仅 location.assign 改 URL。
Reddit 内容只读 + 浏览器导航 skill:帖子详情 / subreddit 列表 / 搜索 / 用户主页 / 收件箱 / 主 feed,DOM/API 双模式(auto 默认 DOM 优先 fallback API),浏览器侧仅 location.assign 改 URL。
X.com (Twitter) 内容只读 + 浏览器导航 + 账号监控 skill:搜索 / 用户主页 / 推文详情 / 首页 Feed 走 X.com 内部 GraphQL 同源端点(DOM 兜底),浏览器侧仅 location.assign 改 URL;内置 monitor 子系统做定时监控 + webhook 通知;写操作(reply/post/quote/thread)保持 v2.0.1 透传,v3.1 将拆到专用工具。
| name | js-hello-ops-skill |
| description | JS Eyes Skills 最小样例 — 读取任意标签页的标题。 |
| version | 1.0.0 |
| metadata | {"openclaw":{"emoji":"👋","homepage":"https://github.com/imjszhang/js-eyes","requires":{"skills":["js-eyes"],"bins":["node"]}}} |
JS Eyes Skills 最小样例 — 一个工具、零副作用,用来演示 skill.contract.js 契约的最简形态。
js-eyes 插件并 tools.alsoAllow: ["js-eyes"]| 工具 | 说明 |
|---|---|
hello_get_title | 读取指定标签页的 title 与 url(底层调 BrowserAutomation.getPageInfo) |
const { BrowserAutomation } = require('./lib/js-eyes-client');
const { getTitle } = require('./scripts/hello');
const bot = new BrowserAutomation('ws://localhost:18080');
const { title, url } = await getTitle(bot, { tabId: 123 });
# 查看所有命令
node index.js --help
# 读取 tabId=123 的标题
node index.js title 123
# 指定浏览器
node index.js title 123 --target firefox
js-hello-ops-skill/
├── SKILL.md # 本文件(给 Agent 读)
├── package.json # 只依赖 ws
├── skill.contract.js # 契约入口:导出 hello_get_title
├── index.js # CLI 入口
├── cli/index.js # CLI 帮助文案
├── scripts/hello.js # 业务实现
└── lib/
├── js-eyes-client.js # 自包含 WebSocket 客户端(从 js-browser-ops-skill 复制)
└── runtimeConfig.js # 极简 serverUrl 解析(不依赖 @js-eyes/config)