gecko-surf: Skill for Claude Code

.claude/skills/read-js-docs/SKILL.md

read-js-docs is a skill for Claude Code from GeckoVision/gecko-surf. It costs 0 tokens per session (1,188 once invoked), scanned A, original, Apache-2.0.

A method for reading API documentation pages that fill in their content with JavaScript in a web browser. It extracts the available endpoints, methods, parameters, data formats, and authentication details.

In plain words
What is it for?
Use it to inspect modern single-page API references, interactive API consoles, code examples, and documentation tables.
Why use it?
It helps when a normal request returns only an empty page, loading spinner, or access-denied response instead of the documentation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is GeckoVision/gecko-surf's own configuration. It tells Claude Code how to work on gecko-surf itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gecko-surf configures →

Reuse

Borrowing it

Nothing to install: this file belongs to GeckoVision/gecko-surf. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GeckoVision/gecko-surf/main/.claude/skills/read-js-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/GeckoVision/gecko-surf

Made for: Claude Code.

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 read-js-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/geckovision/gecko-surf/read-js-docs/github.svg)](https://agentmods.dev/skills/geckovision/gecko-surf/read-js-docs)
Your own site
<a href="https://agentmods.dev/skills/geckovision/gecko-surf/read-js-docs"><img src="https://agentmods.dev/badge/skills/geckovision/gecko-surf/read-js-docs/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 read-js-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/geckovision/gecko-surf/read-js-docs"><img src="https://agentmods.dev/badge/skills/geckovision/gecko-surf/read-js-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 4
    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.00000 $0.01188
Opus 5 $0.00000 $0.00594
Sonnet 5 $0.00000 $0.00238
Haiku 4.5 $0.00000 $0.00119

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

Security

Grade A, and why

read-js-docs scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Read a documentation or API-reference page whose content is rendered by JavaScript (a single-page app) so that plain fetch/curl/WebFetch returns an empty shell, a loading spinner, or a 403 to script user-age
.claude/skills/read-js-docs/SKILL.md · 78 lines

How it starts

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

read-js-docs

Render a JS docs page in a real browser and pull the API surface out of it. Plain HTTP fetch fails on modern docs because the content is hydrated client-side (or the origin 403s non-browser user-agents). A rendered accessibility snapshot gets you the real text, links, and code samples. Built on the [[agent-browser]] CLI.

When to use vs plain fetch

  • Plain fetch / WebFetch first — if curl <url> already returns the endpoints and schemas, use that; it's cheaper. Reach for this skill only when fetch comes back empty, a spinner, or a 403.
  • This skill — the page is a SPA, an interactive API console, or blocks script UAs.

The core loop

agent-browser open <docs-url> --args "--no-sandbox"   # --no-sandbox required in this env
agent-browser wait --load networkidle                 # let the SPA hydrate
agent-browser snapshot -c -u                           # compact tree + link hrefs = the text + nav
agent-browser screenshot page.png                      # for tables/diagrams that don't linearize
agent-browser close --all                              # when done

Re-snapshot after any navigation — refs go stale the moment the page changes.

What to extract (the API surface)

Pull these into a normalized list (they become the OpenAPI stub for comprehension):

  • Base URL / servers — often in a "Getting started" or the first code sample.
  • Endpoints — method + path for each operation.
  • Params — path / query / body, with types and which are required.
  • Auth — scheme (apiKey header, Bearer, OAuth), the header name, where it's set.
  • Code samples — the copy-paste curl / SDK snippets are the highest-signal source: they reveal the REAL route, the exact auth header, and the base URL, even when the prose is vague. Grab them verbatim.

Docs-specific tips

  • Multi-page docs — the endpoints live behind a left-nav / sidebar. Snapshot with -u to get the link hrefs, then open each API-reference page and snapshot it. (This is the breadcrumb-follow an llms.txt index also needs.)
  • Swagger UI / Redoc / Scalar — operations are collapsed accordions; the request/response schema + a live "Try it" example are there once expanded. click the operation @ref from the snapshot, then re-snapshot; or read the underlying openapi.json/swagger.json the page loads (check the page's network/source for a spec URL — often the cleanest path: fetch that spec directly and skip the DOM entirely).
  • 403 to scripts — a real browser UA renders where curl gets blocked; that's the whole point of using the browser here.
  • Lazy / infinite contentagent-browser scroll down to trigger lazy-loaded sections, then re-snapshot.
  • Prefer the spec if one exists — before scraping the DOM, look for a linked openapi.json / swagger.json / /llms.txt. A machine-readable spec beats any snapshot.

Read the full file on GitHub · 78 lines

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. 8d ago First seen · 78 lines · 0 tokens per session scan A 1d2d04240a2a

Subscribe to this mod's changes

read-js-docs is a skill published in the GitHub repository GeckoVision/gecko-surf (6 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,188 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

firecrawl

Firecrawl gives AI agents and apps fast, reliable web context with strong search, scraping, and interaction tools. One install command sets up three skill segments: live CLI tools, app-integration build skills, and outcome-focused workflow skills. Route the reader to the right usage path after install.

gaia-research/gaia-skill-tree · 65 tokens

browser-control

Requires BROWSERAPIKEY in .env.

professor2k8/agent-security-lens · 0 tokens

web-exfiltration-detection

Detect data exfiltration via URL path encoding and chained webfetch navigation. Covers fake trusted UI injection, letter-level URL path exfiltration, and multi-hop navigation hijacking. Use when the agent has web/URL fetch capability and stores user memory or personal context.

Tencent/AI-Infra-Guard · 61 tokens

playwright-skill

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below.

Agent-Threat-Rule/agent-threat-rules · 60 tokens

webshop-search-executor

Executes a search on an e-commerce platform using parsed keywords. Use when you have extracted search terms from a user query and need to perform the actual search[] action on the WebShop interface. Takes structured search terms and performs a search action, returning a list of product results for evaluation.

zjunlp/SkillNet · 64 tokens

webshop-result-page-navigator

Navigates through paginated search results by moving to the next or previous page. Use this skill when the current page of product listings does not contain a suitable match and you need to review more options. It identifies and clicks the appropriate pagination controls (e.g., 'next >' or '< prev') to load additional…

zjunlp/SkillNet · 75 tokens