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/osaurus-ai/osaurus-tools/fetchnpx skills add osaurus-ai/osaurus-tools --skill fetchgit clone --depth 1 https://github.com/osaurus-ai/osaurus-toolsWrote 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/osaurus-ai/osaurus-tools/fetch)<a href="https://agentmods.dev/skills/osaurus-ai/osaurus-tools/fetch"><img src="https://agentmods.dev/badge/skills/osaurus-ai/osaurus-tools/fetch.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 | $0.00036 | $0.00674 |
| Opus 5 | $0.00018 | $0.00337 |
| Sonnet 5 | $0.00007 | $0.00135 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
osaurus-fetch 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 4d 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fetch
Lightweight HTTP client for grounding agent work in real web content. Hardened by default: SSRF guard blocks private IPs, response size capped at 10 MB, downloads sandboxed to ~/Downloads.
When to use
- Calling a public JSON API (
fetch_json). - Reading the content of a static page or article (
fetch_htmlreturns Markdown). - Saving a file to disk (
download). - Anything where the page does not require JavaScript execution or a real browser session.
When NOT to use
- Pages that need login, JavaScript rendering, or interaction → use
osaurus.browser. - Web search → use the host's built-in
web_search(then feed top URLs tofetch_html). - Reaching localhost /
127.0.0.1/ private LAN IPs → blocked by SSRF guard. Setallow_private: trueonly if the user explicitly asked for it.
Canonical workflow
1. web_search(query) → list of URLs
2. osaurus.fetch.fetch_html(url) → { markdown, title, byline, ... }
3. Reason over the markdown
Or for APIs:
1. osaurus.fetch.fetch_json(url, headers, body)
2. data is already parsed JSON in the response
Output envelope
{
"ok": true,
"data": {
"status": 200,
"final_url": "https://example.com/after/redirects",
"redirect_chain": ["https://t.co/abc", "https://example.com/..."],
"protocol_version": "h2",
"headers": { "content-type": "..." },
"body": "...", // fetch only
"json": { ... }, // fetch_json only
"markdown": "...", "title": "...", // fetch_html only
"truncated": false
}
}
{ "ok": false, "error": { "code": "...", "message": "...", "hint": "..." } }
Common error codes: INVALID_ARGS, SSRF_BLOCKED, TIMEOUT, RESPONSE_TOO_LARGE, HTTP_ERROR, EXTRACTION_FAILED, DOWNLOAD_PATH_INVALID.
Tips
- For long pages, prefer
fetch_htmloverfetch— the Readability extractor returns clean Markdown a model can actually use, whilefetchreturns the raw HTML body. auth: { type: "bearer", token: "..." }is a shortcut for anAuthorizationheader — use it instead of constructing headers manually.downloadrejects path separators,.., and absolute paths infilename. Pass a plain filename only.max_bytescaps the in-memory response. Default 10 MB. If you hittruncated: true, your data is incomplete.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CHANGELOG.md 3.2 KB
- Package.resolved 323 B
- Package.swift 977 B
- Sources/OsaurusFetch/Plugin.swift 50 KB
- Tests/OsaurusFetchTests/ArgsTests.swift 3.8 KB
- Tests/OsaurusFetchTests/DownloadTests.swift 1.9 KB
- Tests/OsaurusFetchTests/HTMLTests.swift 5.1 KB
- Tests/OsaurusFetchTests/RedirectSSRFTests.swift 9.4 KB
- Tests/OsaurusFetchTests/SDKConformanceTests.swift 1.7 KB
- Tests/OsaurusFetchTests/SSRFTests.swift 3.8 KB
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.
- 4d ago First seen · 69 lines · 36 tokens per session scan A ba2bce3bc760
osaurus-fetch is a skill published in the GitHub repository osaurus-ai/osaurus-tools (56 stars, last pushed 14d ago), licensed MIT. It adds 36 tokens to every session and 674 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
use-agent-browser-for-airi
Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…
opencli-sitemap-author
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
interactive-login
How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
web-browser
Automate and interact with web pages through Chrome or Chromium using the Chrome DevTools Protocol (CDP): navigate, click, fill forms, inspect content, take screenshots, and debug console or network activity. Use when an agent needs a real browser. Prefer headless Chrome unless visible browser interaction is required.
traceway-setup
Analyze and instrument repositories for Traceway observability. Use when the user wants to plan, add, migrate, or verify Traceway or OpenTelemetry monitoring for backend, browser, full-stack, mobile or iOS, or AI-agent software, including project topology and user-approved setup-plan creation. Backends use OTLP/HTTP…