osaurus-ai/osaurus-tools/fetch

Claude Code and agent skill by osaurus-ai/osaurus-tools

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Teaches the agent how to use the HTTP fetch tools — JSON APIs, Readability HTML extraction, file downloads, with built-in SSRF and size limits.

Install

npx vskill@latest install osaurus-ai/osaurus-tools/fetch

SKILL.md

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_html returns 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 to fetch_html).
  • Reaching localhost / 127.0.0.1 / private LAN IPs → blocked by SSRF guard. Set allow_private: true only if the user explicitly asked for it.

Canonical workflow

text
1. web_search(query) → list of URLs
2. osaurus.fetch.fetch_html(url) → { markdown, title, byline, ... }
3. Reason over the markdown

Or for APIs:

text
1. osaurus.fetch.fetch_json(url, headers, body)
2. data is already parsed JSON in the response

Output envelope

json
{
"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_html over fetch — the Readability extractor returns clean Markdown a model can actually use, while fetch returns the raw HTML body.
  • auth: { type: "bearer", token: "..." } is a shortcut for an Authorization header — use it instead of constructing headers manually.
  • download rejects path separators, .., and absolute paths in filename. Pass a plain filename only.
  • max_bytes caps the in-memory response. Default 10 MB. If you hit truncated: true, your data is incomplete.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
44
Repository forks
6
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/osaurus-ai/osaurus-tools/fetch/badge)](https://verified-skill.com/skills/osaurus-ai/osaurus-tools/fetch)

Something wrong with this skill or its page? Tell us.