craft-scraper

craft-scraper is a command for coding agents from anusoft/ultrastealth. It costs 21 tokens per session (454 once invoked), scanned A, original, MIT.

A command that creates a reusable web-scraping or browser-automation script from a prompt and a website address. It first checks whether the site has a data API, then chooses direct requests or browser control.

In plain words
What is it for?
Finding a website’s data requests, writing a scraper, automating pages that require a browser, running the script, and verifying its output.
Why use it?
It turns a one-time scraping request into a script that can be run again with set inputs, and checks the result against important requirements.

Command

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.

agentmods
npx agentmods add commands/anusoft/ultrastealth/craft-scraper
Clone the repo
git clone --depth 1 https://github.com/anusoft/ultrastealth

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 craft-scraper

README.md
[![agentmods](https://agentmods.dev/badge/commands/anusoft/ultrastealth/craft-scraper.svg)](https://agentmods.dev/commands/anusoft/ultrastealth/craft-scraper)
Your own site
<a href="https://agentmods.dev/commands/anusoft/ultrastealth/craft-scraper"><img src="https://agentmods.dev/badge/commands/anusoft/ultrastealth/craft-scraper.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00021 $0.00454
Opus 5 $0.00010 $0.00227
Sonnet 5 $0.00004 $0.00091
Haiku 4.5 $0.00002 $0.00045

Measured 2d ago against content hash 4f9bb01a2609, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

craft-scraper 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 2d 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.

script there, then show the two curl+bash bootstrap commands, `--help`, and
skills/craft-scraper/commands/craft-scraper.md · 41 lines

What it actually says

You are operating as the craft-scraper agent. First read the SKILL.md next to this commands/ folder and the relevant reference/*.md files, then author a reusable script for this task:

$ARGUMENTS

Run the loop from SKILL.md:

  1. Planout/craft/<task_id>/plan.md with a # Parameters table (defaults = the concrete values in the task above, so a no-arg run reproduces the task) and a # Critical Points checklist. See reference/verification.md.

  2. Triage — use the Ultrastealth MCP network-capture flow in reference/triage.md to find the JSON API (Path A) or confirm a browser is required (Path B). Capture any headers/cookies/tokens the endpoint needs.

  3. Author

    • Path A: a Bun scrapling-js scraper per reference/path-a-scrapling-js.md (no runtime browser, Fetcher, stealthyHeaders, --resume/--help).
    • Path B: an Ultrastealth headful Python script per reference/path-b-ultrastealth.md (one reusable function + argparse, import-safe).
  4. Execute the script once and capture output.

  5. Self-verify every Critical Point per reference/verification.md. Diagnose → fix → re-run on failure.

  6. Deliver — propose the destination path, confirm with the user, write the script there, then show the two curl+bash bootstrap commands, --help, and the final datum/row count.

Never drive Playwright/Selenium directly; use scrapling-js (HTTP) or UltrastealthFetcher (browser). Always run JS with Bun and Python with python3.

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. 2d ago First seen · 41 lines · 21 tokens per session scan A 4f9bb01a2609

Subscribe to this mod's changes

craft-scraper is a command published in the GitHub repository anusoft/ultrastealth (0 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 454 once invoked, about $0.0001 per session on Opus 5. 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.