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 skills add scraperapi/scraperapi-skills --skill scraperapi-java-sdkgit clone --depth 1 https://github.com/scraperapi/scraperapi-skillsWrote 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/scraperapi/scraperapi-skills/scraperapi-java-sdk)<a href="https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-java-sdk"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-java-sdk/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.
<a href="https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-java-sdk"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-java-sdk.svg" alt="Reviewed on agentmods" width="80" 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.00175 | $0.03841 |
| Opus 5.5 | $0.00070 | $0.01536 |
| Sonnet 5.5 | $0.00035 | $0.00768 |
| Haiku 4.5 | $0.00017 | $0.00384 |
Grade A, and why
scraperapi-java-sdk 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.
How it starts
The opening of the file, as written. The whole thing — 352 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ScraperAPI — Java SDK Best Practices
Requires: Java 8+ for the SDK, Maven or Gradle, a ScraperAPI API key. The samples that call the API directly use java.net.http (Java 11+).
Setup
Maven
<dependency>
<groupId>com.scraperapi</groupId>
<artifactId>sdk</artifactId>
<version>1.2</version>
</dependency>
Gradle
implementation 'com.scraperapi:sdk:1.2'
Client instantiation
import com.scraperapi.ScraperApiClient;
ScraperApiClient client = new ScraperApiClient("YOUR_API_KEY");
Replace YOUR_API_KEY with your key from https://dashboard.scraperapi.com. Never commit a real key to source control.
How the SDK Behaves
- Method names are snake_case, like the API parameters:
country_code,device_type,session_number. There is nocountryCode()orsessionNumber(). .result()returns the response body as aString, whatever the status code. It doesn't throw on 401, 403, 429 or 500, and you can't read the status code. It only throws (kong.unirest.UnirestException) on timeouts and connection errors.- Only six API parameters exist:
render,premium,autoparse,country_code,device_type,session_number. For anything else (ultra_premium,wait_for_selector,output_format,max_cost,screenshot…), call the API directly. See Parameters the SDK Doesn't Have. - The timeout is 60 seconds by default, but ScraperAPI can retry for up to 70 seconds, and requests you cancel before then are still charged. Set
.timeout(75_000)(milliseconds) on every request. .retry(n)doesn't retry n times. Any value above 0 only turns on retries of dropped connections; non-200 responses are never retried..retry(0)turns it off.- Each
.result()call resets Unirest's global configuration. If your app also uses Unirest, its settings get wiped.
Basic Usage
The SDK uses a fluent builder: client.get(url) returns a request, you chain parameters onto it, and .result() sends it and blocks until the body comes back.
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 Changed 45cd7682614a
- 11d ago Changed · +50 lines 8b00e979bbad
- 3mo ago First seen · 302 lines · 175 tokens per session scan A fd9ba8220664
scraperapi-java-sdk is a skill published in the GitHub repository scraperapi/scraperapi-skills (11 stars, last pushed 6d ago), licensed MIT. It adds 175 tokens to every session and 3,841 once invoked, about $0.0007 per session on Opus 5.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-31.
scraperapi-java-sdk compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scraperapi-java-sdkscraperapi/scraperapi-skills | Skill | 11 | 6d ago | MIT | A | 175 | Claude Code |
| spring-boot-engineerJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 91 | Claude Code |
| java-architectJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 67 | Claude Code |
| 123-java-design-patternsjabrena/plinth | Skill | 470 | 2d ago | Apache-2.0 | A | 89 | Claude Code, Codex |
| 125-java-concurrencyjabrena/plinth | Skill | 470 | 2d ago | Apache-2.0 | A | 133 | Claude Code, Codex |
| 301-frameworks-spring-boot-corejabrena/plinth | Skill | 470 | 2d ago | Apache-2.0 | A | 165 | Claude Code, Codex |
| 302-frameworks-spring-boot-restjabrena/plinth | Skill | 470 | 2d ago | Apache-2.0 | A | 177 | Claude Code, Codex |