js-hn-ops-skill SKILL.md skillA

js-hn-ops-skill from imjszhang/js-eyes is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add imjszhang/js-eyes/js-hn-ops-skill@v1.0.0

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

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
imjszhang/js-eyes
Path
skills/js-hn-ops-skill/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Jul 26, 2026
First version recorded
Jun 14, 2026
Size
2,741 bytes
Repository stars
45
License
MIT

Hacker News 只读 + 浏览器导航 skill:首页 / 帖子评论 / 用户 / Algolia 搜索走 Firebase API + DOM 兜底,浏览器侧仅 location.assign 改 URL。.

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

# js-hn-ops-skill

面向 [news.ycombinator.com](https://news.ycombinator.com/) 的**只读 + 仅改自身浏览器 URL** skill,架构对齐 `js-reddit-ops-skill` / `js-x-ops-skill`:

- **数据获取**:READ 优先走 Firebase 公开 API(`hacker-news.firebaseio.com/v0`)与 Algolia(`hn.algolia.com`);DOM 解析为兜底
- **安全分级**:READ + INTERACTIVE 两档,**永不** DESTRUCTIVE(不投票 / 不评论 / 不 submit)

## 依赖与前置

- Node.js 22+、JS Eyes 2.8.5+;**JS Eyes Server** 已启动且浏览器扩展已连接
- 宿主设置 `security.allowRawEval: true` 以允许 bridge 注入;JS Eyes 2.5+ 会同步到扩展,扩展侧显式 `false` 仅作为强制关闭覆盖
- Chrome 要求 135+;Chrome 138+ 还需开启浏览器控制的 **Allow User Scripts**
- 任意 `news.ycombinator.com` tab 即可;READ 默认不切走用户当前 tab
- 公开内容与 Algolia 搜索无需登录;本 Skill 只读取已有登录态,不执行登录自动化

## AI 工具

| 档位 | 工具 | 说明 |
|------|------|------|
| READ | `hn_session_state` | 登录态 |
| READ | `hn_get_front_page` | 首页列表 `feed=top/new/best/ask/show/job` |
| READ | `hn_get_item` | 帖子 + 评论树 |
| READ | `hn_get_user` | 用户资料 + 列表 |
| READ | `hn_search` | Algolia 搜索 |
| INTERACTIVE | `hn_navigate_front` / `item` / `user` / `search` | 仅 `location.assign` |

## CLI

```bash
cd skills/js-hn-ops-skill && npm install

node index.js doctor
node index.js front --feed top --limit 10 --pretty
node index.js item 48526661 --depth 4
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add imjszhang/js-eyes/js-hn-ops-skill@sha256:a199c49217f2552f

The line at the top of this page pins the label v1.0.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_h7oggjat7mmjotki.svg)](https://markdownregistry.com/a/art_h7oggjat7mmjotki)

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

Versions

The registry has recorded 2 versions of this file, between Jun 14, 2026 and Jul 26, 2026, about one every 42 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-07-26 2d8e74d 2,741 BA view · diff
v1.0.02026-06-14 ad98ceb 2,402 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 (2741 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

imjszhang/js-eyes · 45 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_h7oggjat7mmjotki
GET https://markdownregistry.com/api/v1/resolve?ref=imjszhang/js-eyes/js-hn-ops-skill
GET https://markdownregistry.com/api/v1/blob/a199c49217f2552f77a40d5958e6f84da5839be02f56f561b6598d3150376dc3

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 imjszhang/js-eyes

AGENTS.md AGENTS.md file
imjszhang/js-eyes · AGENTS.md
git:20260921.466eaab · audit A · 45 stars
js-hello-ops-skill SKILL.md skill
imjszhang/js-eyes · examples/js-eyes-skills/js-hello-ops-skill/SKILL.md · JS Eyes Skills 最小样例 — 读取任意标签页的标题。
v1.0.0 · audit A · 45 stars
js-bilibili-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-bilibili-ops-skill/SKILL.md · Bilibili 视频读取 skill,提供视频元数据与字幕读取能力。
v2.0.0 · audit A · 45 stars
js-browser-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-browser-ops-skill/SKILL.md · 通用浏览器操作技能,提供网页内容读取、DOM 交互、页面截图等能力。
v2.8.0 · audit A · 45 stars
js-github-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-github-ops-skill/SKILL.md · GitHub 仓库与 Issues 只读 + 浏览器导航 skill(REST + PAGE_PROFILES + bridges)。
v0.1.0 · audit A · 45 stars
js-google-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-google-ops-skill/SKILL.md · Google Search 只读 + 浏览器导航 skill:网页 / 新闻 / 图片 / Scholar 走 DOM-first,READ 使用临时标签页,INTERACTIVE 仅 location.assign。
v1.0.1 · audit A · 45 stars
js-jike-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-jike-ops-skill/SKILL.md · 即刻内容读取 skill,提供帖子详情、图片、互动数据和评论读取能力。
v2.0.1 · audit A · 45 stars
js-reddit-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-reddit-ops-skill/SKILL.md · Reddit 内容只读 + 浏览器导航 skill:帖子详情 / subreddit 列表 / 搜索 / 用户主页 / 收件箱 / 主 feed,DOM/API 双模式(auto 默认 DOM 优先 fallback API),浏览器侧仅…
v3.8.0 · audit A · 45 stars
js-wechat-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-wechat-ops-skill/SKILL.md · 微信公众号内容读取 skill,基于 JS-Eyes 浏览器自动化获取文章标题、作者、正文、封面和图片列表。
v2.0.1 · audit A · 45 stars
js-x-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-x-ops-skill/SKILL.md · X.com (Twitter) 内容只读 + 浏览器导航 + 账号监控 skill:搜索 / 用户主页 / 推文详情 / 首页 Feed 走 X.com 内部 GraphQL 同源端点(DOM 兜底),浏览器侧仅…
v3.5.0 · audit B · 45 stars
js-xiaohongshu-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-xiaohongshu-ops-skill/SKILL.md · 小红书内容读取 skill,提供笔记详情、评论、搜索、用户主页等多 profile READ + 受控 INTERACTIVE 导航能力。
v3.0.0 · audit A · 45 stars
js-youtube-ops-skill SKILL.md skill
imjszhang/js-eyes · skills/js-youtube-ops-skill/SKILL.md · YouTube 视频读取 skill,提供视频元数据与字幕读取能力。
v2.0.0 · audit A · 45 stars

Every file in imjszhang/js-eyes

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