跳到正文
Skillpedia
网页抓取5.5k · #14820

wigolo-fetch

它能做什么

这项技能教智能体如何打开单个网页,并以干净的文本返回其主要内容及详细信息。适合阅读人们提供链接的文章、文档和仪表盘。

适用场景

  • ✓当用户提供网址并要求智能体阅读或总结该页面的时候。
  • ✓当页面需要 JavaScript 才能加载内容,普通请求却返回空白的时候。
  • ✓当用户需要通过已保存的浏览器会话读取需要登录的页面的时候。

技能链接

https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-fetch/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-fetch/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请阅读这个文档页面,并告诉我其中关于身份验证的部分。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会先用简单请求抓取页面,对于需要 JavaScript 的页面则使用浏览器。它可以只读取一个标题、限制长度,或使用缓存中已保存的副本。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 with extract metadata 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: true by default — defeats the cache.
  • DON'T use fetch when you need tables/JSON-LD — use extract instead.

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_auth with stored sessions works for already-logged-in pages.)
  • Bulk multi-page extraction — use crawl or agent.

See Also

常见问题

它会使用我已保存的登录信息吗?

只有在被要求时才会。这项技能提供了一个选项,可对需要认证的页面使用已存储的浏览器会话。

它能读取 PDF 吗?

能。这项技能列出的可处理格式包括 PDF。

为什么要优先使用它,而不是内置的抓取功能?

这项技能说明,它提供本地缓存复用、浏览器会话和结构化元数据。

详情

作者的原始描述

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.

repo: KnockOutEZ/wigolo

热度

GitHub 星标
5.5k
排名
#14820
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能