Agent skill

Browserless JavaScript Runner

by taxueseek in taxueseek/argo

Runs web-page JavaScript without a browser, in a V8 sandbox with a browser-environment shim, for scripts that only probe the environment and compute a result.

MITAuto-check passedDevelopment

SKILL.md written in Chinese; this summary is our English description.

Install Browserless JavaScript Runner

skills CLI
$ npx skills add taxueseek/argo --skill js-run -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install taxueseek/argo js-run --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/taxueseek/argo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sub-skills/js-run .claude/skills/js-run && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
js-run
GitHub stars
188
Token cost
~400 tokens
SKILL.md length
72 words
Files
5 (incl. scripts)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Runs web-page JavaScript without a browser, in a V8 sandbox with a browser-environment shim, for scripts that only probe the environment and compute a result.

  • Works in 3 steps: 产物只当线索不当正文:网络数据在垫片里没有真源,页面 JS 拿到的任何 → 反爬对抗谨慎:本车道用于已授权/自有场景的通行证计算;对第三方站点的 → 考卷驱动生长:环境面只按 tests/fixtures/…
  • Computing a result from page JavaScript without launching a browser
  • SKILL.md covers 它解决什么, v0 明确不做什么, 用法 and 依赖, plus 1 more section
  • Runs Python and JavaScript scripts from its folder; calls python3 and pip

What it does

The SKILL.md is in Chinese and describes js-run as a v0 sub-skill of argo that is not yet wired into the main chain. Given HTML and resources, it returns what the page's JavaScript computes, using the mini-racer V8 binding plus a shim for navigator, document and crypto. Logical time makes a long setTimeout finish instantly, and a single context is reported at about 1 ms at the median. You call it from Python through the JsRun class in scripts/jsrun.py, and tests/test_jsrun.py runs seven golden tests including a speed check.

It lists what it does not do: DOM parsing and layout, real network requests, login state or fingerprint continuity, and screenshots. Output should be treated as a lead rather than source content, since network data inside the shim has no real origin. The skill urges caution with anti-bot challenge scripts, limiting use to authorized or own scenarios, with bypassing third-party challenges off by default. It needs mini-racer and Python 3.10 or newer.

When your agent uses it

  • Computing a result from page JavaScript without launching a browser
  • Running environment-probing scripts quickly and reproducibly in a sandbox
  • Extracting state embedded in a page's JavaScript
  • Checking what a script does with a simulated browser environment

Example prompts

  • “Run the script in challenge.js in the sandbox and print the value it computes.”
  • “Use js-run to execute this page's inline JavaScript and extract the embedded state object.”
  • “Show me how to call JsRun from Python on an HTML file and a script file.”
  • “Run the js-run test suite and report whether it meets the speed gate.”

Requirements

  • Python 3.10 or newer
  • The `mini-racer` package (`pip install mini-racer`)

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 产物只当线索不当正文:网络数据在垫片里没有真源,页面 JS 拿到的任何
  2. 反爬对抗谨慎:本车道用于已授权/自有场景的通行证计算;对第三方站点的
  3. 考卷驱动生长:环境面只按 tests/fixtures/ 里的真实考卷长,不为想象中的

What it can do on your machine

Read from SKILL.md and the folder at commit a6657b0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Browserless JavaScript Runner loads about 400 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 72 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~400

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from taxueseek/argo at commit a6657b0, republished under its MIT licence (© taxueseek). 72 words, ~400 tokens.

Download SKILL.mdSave it as .claude/skills/js-run/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
js-run
description
js-run 是 argo 的 JS 运行时车道子技能:不开浏览器跑网页 JS。基于 mini-racer(ISC) + 自研浏览器环境垫片,让「环境探测 + 纯计算」型网页脚本(反爬挑战通行证、混淆数据 解算、JS 内嵌状态提取)在毫秒级、可复现、无真实网络的沙箱里执行。定位是取数链 curl_cffi 与渲染级之间的「算」车道,不替代浏览器(登录态/视觉/真实网络数据不在此车道)。 v0 为独立骨架,未接入主链。Triggers include 跑网页JS、挑战脚本、通行证、JS解密、 逻辑时间、无浏览器执行。
metadata.version
0.1.0
metadata.date
2026-10-03
metadata.parent
argo
metadata.upstream
原创(底座 py-mini-racer ISC;设计参照 iv8 思路,未使用其代码/二进制)
metadata.license_note
底座 mini-racer 为 ISC;本目录代码为原创

js-run(argo 子技能,v0 骨架)

一句话:给 HTML 与资源,还你 JS 算完的结果——不开浏览器。

它解决什么

网页 JS 依赖浏览器环境(navigator/document/crypto…)时,传统上只有两条路: 开真浏览器(秒级、百 MB、重)或放弃。js-run 把「浏览器环境的 JS 语义」做成库: V8 执行 + 环境垫片,单次上下文 P50 ≈ 1ms,逻辑时间让 setTimeout(5000) 瞬间完成。

v0 明确不做什么

不做原因归属
DOM 解析/布局v0 面只保「探测+计算」型脚本后续按考卷生长
真实网络请求它一个字节都不取,取数归 HTTP 车道argo 前两级
登录态/指纹连续性合成环境无会话可继承ego-search
截图/视觉无布局引擎ego-browser

用法

python
import sys; sys.path.insert(0, "sub-skills/js-run/scripts")
from jsrun import JsRun

with JsRun() as jr:
    jr.run(open("challenge.js").read())     # 跑目标脚本
    jr.advance(3000)                         # 逻辑时间推进
    cookie = jr.get_cookie()                 # 收通行证
bash
python3 tests/test_jsrun.py   # 7 项金标测试(含速度门 <100ms,实测 P50 1.0ms)

依赖

  • mini-racer(ISC,V8 绑定):pip install mini-racer
  • 无其他第三方依赖;Python ≥ 3.10

纪律

  1. 产物只当线索不当正文:网络数据在垫片里没有真源,页面 JS 拿到的任何 「网络响应」都不可信;需要数据必须 Python 侧真取。
  2. 反爬对抗谨慎:本车道用于已授权/自有场景的通行证计算;对第三方站点的 挑战绕过默认关闭,启用须单独拍板。
  3. 考卷驱动生长:环境面只按 tests/fixtures/ 里的真实考卷长,不为想象中的 浏览器写代码(详见 docs-local 设计文档)。

© taxueseek, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in sub-skills/js-run of taxueseek/argo.

  • SKILL.md
  • scripts/jsrun.py
  • scripts/shim.js
  • tests/fixtures/challenge_like.js
  • tests/test_jsrun.py

Open the folder on GitHubat commit a6657b0

Compare with similar skills

Browserless JavaScript Runner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Browserless JavaScript Runner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Browserless JavaScript Runner this skilltaxueseek/argo188—~400Automated safety check: PassMIT
Monitor With HaolemeHaolemeApp/Haoleme157—~1.3kAutomated safety check: PassAGPL-3.0
Apify Actor Developmentapify/agent-skills2.4k—~2.9kAutomated safety check: PassNone
Firecrawl Page Scrape Integrationfirecrawl/firecrawl190k1 repos~944Automated safety check: PassISC
Firecrawl Interact Integrationfirecrawl/firecrawl190k1 repos~731Automated safety check: PassISC
Skyvern Browser AutomationSkyvern-AI/skyvern23k—~1.9kAutomated safety check: PassAGPL-3.0

Similar skills

  • Monitor With Haoleme

    HaolemeApp/Haoleme

    Selectively monitor important long-running or resource-intensive commands with Haoleme by prefixing them with hao, so status, output, and completion notifications sync to the mobile app.

    157 GitHub stars~1.3k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Apify Actor Development

    apify/agent-skills

    Official

    Creates, changes, debugs and deploys Apify Actors, including their input and output schemas, using the Apify CLI.

    2.4k GitHub stars~2.9k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Adds Firecrawl's /scrape endpoint to application code to pull markdown, HTML, links, screenshots or structured data from a single known URL.

    190k GitHub starsUsed in 1 repo~944 tokens
    Data & AnalyticsAuto-check passed
  • Guides adding Firecrawl's /interact endpoint to product code for pages that need clicks, forms, pagination or logged-in flows beyond plain scraping.

    190k GitHub starsUsed in 1 repo~731 tokens
    Data & AnalyticsAuto-check passed
  • Skyvern Browser Automation

    Skyvern-AI/skyvern

    Automates websites with Skyvern's AI browser agent to fill forms, extract data, download files, log in and run multi-step workflows through SDKs, REST, MCP or a CLI.

    23k GitHub stars~1.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Querying Indonesian Gov Data

    suryast/indonesia-gov-apis

    Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…

    172 GitHub stars~997 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed

More from taxueseek/argo

  • Ego Browser Search

    taxueseek/argo

    Searches and fetches pages through a real logged-in Chromium session when ordinary API or HTML retrieval cannot get past login walls, scripts or anti-bot checks.

    188 GitHub stars~2.1k tokensUpdated 4 days ago
    Auto-check passed
  • Unified web search, page fetching and evidence checking across hundreds of sources, with result verification, a research-dossier mode and vertical search engines.

    188 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Searches local files and code through one script, seek.py, that picks between rg, fd and macOS Spotlight and works in three layers: locate, context, close reading.

    188 GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed
  • Local Search Fallback

    taxueseek/argo

    Zero-cost fallback for the argo search skill, wrapping 29 local engines for web, news, academic, code and reference queries when paid API quota should be saved.

    188 GitHub stars~949 tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Browserless JavaScript Runner

What does Browserless JavaScript Runner do?

Runs web-page JavaScript without a browser, in a V8 sandbox with a browser-environment shim, for scripts that only probe the environment and compute a result. md is in Chinese and describes js-run as a v0 sub-skill of argo that is not yet wired into the main chain. Given HTML and resources, it returns what the page's JavaScript computes, using the mini-racer V8 binding plus a shim for navigator, document and crypto.

When should I use Browserless JavaScript Runner?

Browserless JavaScript Runner fits situations like: computing a result from page JavaScript without launching a browser; running environment-probing scripts quickly and reproducibly in a sandbox; extracting state embedded in a page's JavaScript; checking what a script does with a simulated browser environment.

How do I install Browserless JavaScript Runner in Claude Code?

Run `npx skills add taxueseek/argo --skill js-run -a claude-code`. Or copy the skill folder (sub-skills/js-run in taxueseek/argo) into .claude/skills/js-run in your project. Claude Code loads it when a task matches its description.

How do I install Browserless JavaScript Runner in Codex?

Run `npx skills add taxueseek/argo --skill js-run -a codex`. Or copy the skill folder (sub-skills/js-run in taxueseek/argo) into .agents/skills/js-run in your project. Codex loads it when a task matches its description.

Can I use Browserless JavaScript Runner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add taxueseek/argo --skill js-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/js-run, .gemini/skills/js-run, .github/skills/js-run and .opencode/skills/js-run in your project.

What does Browserless JavaScript Runner need to run?

Going by SKILL.md and its folder, Browserless JavaScript Runner needs Python and JavaScript for the scripts in its folder and the command-line tools its instructions call (python3 and pip). Our summary lists: Python 3.10 or newer; The `mini-racer` package (`pip install mini-racer`).

Does Browserless JavaScript Runner access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Browserless JavaScript Runner safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Browserless JavaScript Runner use?

Browserless JavaScript Runner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Browserless JavaScript Runner use?

About 400 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Browserless JavaScript Runner?

Skills that share tags, products or a category with Browserless JavaScript Runner: Monitor With Haoleme (HaolemeApp/Haoleme, 157 stars), Apify Actor Development (apify/agent-skills, 2.4k stars), Firecrawl Page Scrape Integration (firecrawl/firecrawl, 190k stars) and Firecrawl Interact Integration (firecrawl/firecrawl, 190k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Browserless JavaScript Runner?

taxueseek (a GitHub user) maintains it in taxueseek/argo, which has 188 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

Source: taxueseek/argo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.