js-hn-ops-skill

js-hn-ops-skill is a skill for Claude Code, Codex from imjszhang/js-eyes. It costs 52 tokens per session (863 once invoked), scanned A, original, MIT.

A read-only skill for browsing Hacker News, a technology discussion website, through its public APIs and the browser. It can retrieve feeds, posts, comments, user profiles, and search results, and can navigate by changing the page URL.

In plain words
What is it for?
Use it to read front-page feeds, inspect discussions or user profiles, search Hacker News, and open selected pages in a connected browser.
Why use it?
It gives an agent structured access to Hacker News while preventing votes, comments, submissions, and login automation.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to read front-page feeds, inspect discussions or user profiles, search Hacker News, and open selected pages in a connected browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/imjszhang/js-eyes/js-hn-ops-skill
Install

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.

Any agent
npx skills add imjszhang/js-eyes --skill js-hn-ops-skill
Clone the repo
git clone --depth 1 https://github.com/imjszhang/js-eyes

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for js-hn-ops-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-hn-ops-skill/github.svg)](https://agentmods.dev/skills/imjszhang/js-eyes/js-hn-ops-skill)
Your own site
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-hn-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-hn-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.

agentmods 80×15 button for js-hn-ops-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-hn-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-hn-ops-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00863
Opus 5 $0.00026 $0.00432
Sonnet 5 $0.00010 $0.00173
Haiku 4.5 $0.00005 $0.00086

Measured 11d ago against content hash a199c49217f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

js-hn-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 11d ago.

The scan reads SKILL.md. This mod also ships 21 executable files (bridges/common.js, bridges/front-bridge.js, bridges/item-bridge.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/js-hn-ops-skill/SKILL.md · 84 lines

What it actually says

js-hn-ops-skill

面向 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

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
node index.js user subset --user-tab submitted --limit 20
node index.js search "LLM agent" --limit 10
node index.js navigate-item 48526661

启用

js-eyes skills link /path/to/js-eyes/skills/js-hn-ops-skill
js-eyes skills reload

Page profiles

profile bridge
front __jse_hn_front__
item __jse_hn_item__
user __jse_hn_user__
search __jse_hn_search__

内部踩点 CLI

CLI 用途
node index.js dom-dump [--anchors] .athing / .comtr / .fatitem
node index.js xhr-log [--filter] Firebase / Algolia 请求

明确不做

  • 不 upvote / downvote / comment / submit
  • 不做登录自动化
Changes

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.

  1. 11d ago First seen · 84 lines · 52 tokens per session scan A a199c49217f2

Subscribe to this mod's changes

js-hn-ops-skill is a skill published in the GitHub repository imjszhang/js-eyes (43 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 863 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens