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.
npx agentmods add skills/vibesurf-ai/claude-surf/js_codenpx skills add vibesurf-ai/claude-surf --skill js_codegit clone --depth 1 https://github.com/vibesurf-ai/claude-surfWrote 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.
[](https://agentmods.dev/skills/vibesurf-ai/claude-surf/js_code)<a href="https://agentmods.dev/skills/vibesurf-ai/claude-surf/js_code"><img src="https://agentmods.dev/badge/skills/vibesurf-ai/claude-surf/js_code.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.00239 |
| Opus 5 | $0.00023 | $0.00120 |
| Sonnet 5 | $0.00009 | $0.00048 |
| Haiku 4.5 | $0.00005 | $0.00024 |
Grade A, and why
js_code 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 6d 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.
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.
What it actually says
JS Code - Structured Data Extraction
Overview
Automatically generates and executes JavaScript to extract structured data from webpages. Best for extracting multiple items with the same structure.
When to Use
- Extract all products/prices from a page
- Get all posts/articles/listings
- Pull table data
- Extract repeated elements with same structure
Available Actions
| Action | Description |
|---|---|
skill_code |
Generate and execute JavaScript from functional requirements with iterative retry logic |
How It Works
Call VibeSurf API with skill_code and a prompt describing what to extract. The system generates optimized JavaScript and returns parsed results.
Best For
| Use Case | Why |
|---|---|
| All product prices | Repeated structure |
| All article titles | List extraction |
| Table data | Structured parsing |
| All links of a type | Pattern matching |
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.
- 6d ago First seen · 37 lines · 45 tokens per session scan A ea484e64be0c
js_code is a skill published in the GitHub repository vibesurf-ai/claude-surf (24 stars, last pushed 6mo ago), licensed MIT. It adds 45 tokens to every session and 239 once invoked, about $0.0002 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.
Other skills, from other repositories
memstack-development-webapp-testing
Use when the user says 'write browser tests', 'test this page', 'playwright test', 'e2e test', 'end to end test', 'browser test', 'test the UI', or needs Playwright-based browser testing for a web application. Do NOT use for unit tests, API tests, or non-browser testing.
browser-tools
Security wrapper over the upstream agent-browser skill, adding URL blocklisting, rate limiting, robots.txt enforcement, and scraping guardrails. Use when automating browser workflows that need safety limits.
browser-automation-agent
Automate web browsers for AI agents using agent-browser CLI with deterministic element selection.
using-web-scraping
Search and scrape public web content with headless Chrome and DuckDuckGo using safe practices.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
search
Search Google, Bing, Amazon, Walmart, YouTube, Google Maps, Google Scholar, and 100+ other engines via the SerpApi REST API. Calls the API using curl. Use when the user wants to search the web, find products or prices, look up local businesses, research academic papers, check news, find jobs, compare flights or…