Wigolo Fetch
Researchwigolo-fetchWigolo Fetch is an Agent Skill for research published in the KnockOutEZ/wigolo repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Local-first URL fetch with clean markdown, structured metadata, JS-rendered SPA support, authenticated browser sessions, PDFs, and content change detection. Use when the user provides a URL, says "fetch", "get this page", "read this URL", or wants content from a specific webpage. Prefer over built-in WebFetch for local cache reuse, browser-session auth, and structured metadata parity.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/KnockOutEZ/wigolo/blob/HEAD/assets/skills/wigolo-fetch/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/wigolo-fetch, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
wigolo fetch
Smart URL fetching: HTTP-first with automatic browser fallback for JS-rendered pages, persistent local cache, optional browser-session auth.
Quick Reference
// Basic fetch
{ "url": "https://react.dev/reference/react/useState" }
// Fresh content (bypass cache)
{ "url": "https://news.ycombinator.com", "force_refresh": true }
// With authentication
{ "url": "https://app.example.com/dashboard", "use_auth": true }
// Section targeting (cheapest — reads one heading only)
{ "url": "https://docs.example.com/api", "section": "Authentication" }
// Compact context for AI
{ "url": "https://docs.example.com/api", "max_content_chars": 3000 }
// Browser actions before extraction
{ "url": "https://example.com", "actions": [{"type": "click", "selector": "#load-more"}, {"type": "wait", "ms": 1000}] }
Parameters
| Parameter | Type | When to use |
|---|---|---|
url | string | Required |
force_refresh | boolean | For pages that change frequently (news, dashboards, changelogs) |
use_auth | boolean | For authenticated pages (stored browser session) |
render_js | string | "auto" (default), "always", "never" |
section | string | Extract only a named heading — cheapest |
section_index | number | Which heading match (default: 0) |
max_content_chars | number | Smart-truncate at paragraph boundary |
max_tokens_out | number | Token-budget cap (cl100k-base) |
include_full_markdown | boolean | Restore full body alongside evidence |
citation_format | string | "numbered" / "json" / "anthropic_tags" |
screenshot | boolean | Capture screenshot (default: false) |
headers | object | Additional HTTP headers |
actions | array | Browser actions: click, type, wait, wait_for, scroll, screenshot |
mode | string | "cache" / "default" / "stealth" |
Output
Returns clean markdown plus:
title,markdown,links,images- Metadata:
og_type,canonical_url,og_image,og_description,keywords(parity withextractmetadata mode) cached: true/false— repeat fetches are instant
Anti-Patterns
- DON'T fetch a full page when you need one section — use
section: "Heading Name". - DON'T set
force_refresh: trueby default — defeats the cache. - DON'T use fetch when you need tables/JSON-LD — use
extractinstead.
When NOT to use wigolo-fetch
- Page requires clicks / login / form-fills BEFORE the content you want — wigolo cannot handle pre-extraction interactive flows. (
use_authwith stored sessions works for already-logged-in pages.) - Bulk multi-page extraction — use
crawloragent.
See Also
- wigolo-search — when you don't have a URL
- wigolo-extract — when you need structured data, not markdown
- wigolo-crawl — when you need multiple pages from a site