Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add imjszhang/js-eyes --skill js-hello-ops-skillgit clone --depth 1 https://github.com/imjszhang/js-eyesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/imjszhang/js-eyes/js-hello-ops-skill)<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-hello-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-hello-ops-skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-hello-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-hello-ops-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00651 |
| Opus 5.5 | $0.00010 | $0.00260 |
| Sonnet 5.5 | $0.00005 | $0.00130 |
| Haiku 4.5 | $0.00003 | $0.00065 |
Grade A, and why
js-hello-ops-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
js-hello-ops-skill
JS Eyes Skills 最小 V2 样例 — 一个工具、零副作用,演示
skill.manifest.json + skill.definition.js + skill.entry.js 的最简形态。
依赖
- JS Eyes Server 已运行
- 浏览器已装 JS Eyes 扩展并连上服务器
- Node.js >= 22
- (可选)OpenClaw 加载
js-eyes插件并tools.alsoAllow: ["js-eyes"]
提供的 AI 工具
| 工具 | 说明 |
|---|---|
hello_get_title |
读取指定标签页的 title 与 url(底层调 BrowserAutomation.getPageInfo) |
编程 API
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 });
CLI
# 查看所有命令
node index.js --help
# 或
node cli/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
├── skill.manifest.json # V2 静态元数据(发现阶段只读此文件)
├── skill.definition.js # TOOL_DEFINITIONS + capabilities / requirements
├── skill.entry.js # handlers(发现阶段不会执行)
├── index.js # CLI 入口
├── cli/index.js # CLI 帮助文案
├── scripts/hello.js # 业务实现
└── lib/
├── js-eyes-client.js # 自包含 WebSocket 客户端
└── runtimeConfig.js # 极简 serverUrl 解析
详细教程
- 开发指南:docs/dev/js-eyes-skills/authoring.zh.md
- 部署启用:docs/dev/js-eyes-skills/deployment.zh.md
- V1 已移除;迁移说明:examples/legacy/
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 81 lines · 25 tokens per session scan A d05603a850e4
js-hello-ops-skill is a skill published in the GitHub repository imjszhang/js-eyes (45 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 651 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
js-hello-ops-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| js-hello-ops-skillimjszhang/js-eyes | Skill | 45 | 2d ago | MIT | A | 25 | Claude Code, Codex |
| interactive-loginyc-software/qm | Skill | 16k | yesterday | MIT | A | 46 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 10d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.3k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.8k | yesterday | MIT | A | 56 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 895 | yesterday | MIT | A | 40 | Claude Code |