js-x-ops-skill

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

A read-only tool for browsing X, formerly called Twitter, including searches, profiles, posts, and the home feed. It also supports account monitoring and webhook notifications.

In plain words
What is it for?
Use it to search X, inspect user pages and posts, read the home feed, and monitor accounts for changes.
Why use it?
It lets an agent inspect X content without making posts, replies, quotes, or threads.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/aggregate-profile.js elonmusk --limit 20 --with-replies.

Good fit Use it to search X, inspect user pages and posts, read the home feed, and monitor accounts for changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

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-x-ops-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/imjszhang/js-eyes/js-x-ops-skill"><img src="https://agentmods.dev/badge/skills/imjszhang/js-eyes/js-x-ops-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,853 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 298
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00112 $0.11853
Opus 5 $0.00056 $0.05927
Sonnet 5 $0.00022 $0.02371
Haiku 4.5 $0.00011 $0.01185

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

Security

Grade A, and why

js-x-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 10d ago.

The scan reads SKILL.md. This mod also ships 57 executable files (bridges/_visual-x.js, bridges/common.js, bridges/home-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-x-ops-skill/SKILL.md · 559 lines

How it starts

The opening of the file, as written. The whole thing — 559 lines — stays where its author put it; the contents beside it link to each section on GitHub.

js-x-ops-skill

面向 x.com / twitter.com 的 skill。v3.0 起切到 PAGE_PROFILES + Bridges + Session 架构,参考 js-reddit-ops-skill 的设计取舍:

  • 数据获取:READ 数据优先走 X.com 内部 GraphQL 同源端点(/i/api/graphql/<queryId>/<op>),与浏览器同源、复用 cookie + bearer;DOM 解析(bridges/common.js::parseTweetArticle)保留为兜底
  • safety 分级:READ + INTERACTIVE 已经落地;DESTRUCTIVE(reply / post / quote / thread)目前透传 v2.0.1 的 scripts/x-post.jsv3.1 拆 compose-bridge 后将走 --confirm + 默认 --dry-run

依赖与前置

  • Node.js 22+、JS Eyes 2.8.5+;JS Eyes Server 已启动(js-eyes server start
  • 浏览器扩展:已安装并连上 server
  • 登录态:浏览器里已经人工登录 x.com(本 skill 不做任何登录自动化);READ 工具默认 navigateOnReuse=false / reuseAnyXTab=true,bridge 在任意 x.com / twitter.com tab 里 fetch 同源 GraphQL;用户当前 tab 不会被切走
  • Raw Eval:bridge 首次注入需要宿主设置 security.allowRawEval: true;JS Eyes 2.5+ 会把该设置同步到扩展,扩展存储中的显式 false 仍可强制关闭
  • Chrome:要求 135+;Chrome 138+ 还需开启浏览器控制的 Allow User Scripts

安全红线(READ / INTERACTIVE / DESTRUCTIVE)

本 skill 的所有工具都会被归入以下三档之一。审计界线按「是否改 X 业务数据」而非「是否触网」来划:

READ(默认档)

纯读,不改任何 DOM、不改 URL、不触发任何业务写操作。

  • fetchXGraphQL(opName, vars, features) 调 X.com 内部 GraphQL(GET,复用浏览器同源 cookie + 写死 bearer)
  • DOM 路径仅作为 bridge 失败时的兜底,由 bridges/common.js::parseTweetArticle / collectTweetsFromDom 提供
  • 工具:x_search_tweets / x_get_profile / x_get_post / x_get_home_feed / x_session_state

INTERACTIVE(v3.0+)

只改浏览器自己的 URL,不改 X 侧任何业务数据。实现硬约束:

  • location.assign(newUrl)禁止模拟点击任何 DOM CTA
  • bridge 端 navigateLocation() 拒绝跨域 URL(必须是 *.x.com / *.twitter.com
  • 调用返回 {from, to, hint},CLI 端 awaitBridgeAfterNav 重注 bridge + state 自校验
  • skill.definition.js 里带 interactive: true / destructive: false
  • 工具:x_navigate_search / x_navigate_profile / x_navigate_post / x_navigate_home

DESTRUCTIVE(v3.0 透传 v2 行为,v3.1 拆专用工具)

x_get_post 的 schema 里仍保留 --reply / --post / --quote / --thread / --image / --thread-delay / --thread-max / --reply-style 等写参数(v2.0.1 行为,CLI 透传 scripts/x-post.js),description 标 deprecated。等 v3.1 完成后:

Read the full file on GitHub · 559 lines

Files

What ships with it

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

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. 10d ago First seen · 559 lines · 112 tokens per session scan A 086dad52752c

Subscribe to this mod's changes

js-x-ops-skill is a skill published in the GitHub repository imjszhang/js-eyes (43 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 11,853 once invoked, about $0.0006 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

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

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

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