Fetch web content efficiently by checking llms.txt first, then Cloudflare markdown endpoints, then falling back to HTML. Reduces token usage by 80% on sites that support clean markdown delivery. No external dependencies — installs a single Python script. Trigger words: fetch URL, web content, read website, scrape page, download page, get webpage, read this link.
$npx -y skills add jkheadley/instar --skill smart-web-fetchInstalls into the current project.
Run `npx skills use "https://github.com/jkheadley/instar" --skill "jkheadley/instar/smart-web-fetch"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/jkheadley/instar" that are relevant to the current task. Run `npx skills add "https://github.com/jkheadley/instar"` and select the relevant skills, then follow their instructions.