跳到正文
Skillpedia
调研7.0k · #13710

web-access

它能做什么

当智能体自身的搜索和抓取工具无法完成任务时,这项技能为其提供通过 treg 读取网页的备用方案。它适用于页面被阻止或平台没有直接工具的研究和数据任务。

适用场景

  • ✓当智能体自身的抓取工具无法读取某个网页时,例如被阻止或依赖大量脚本的页面。
  • ✓当你需要 X、LinkedIn、Reddit 或 Amazon 等平台的结构化数据时。
  • ✓当你希望从网上获取评价、产品或地点信息的时候。

技能链接

https://github.com/superdesigndev/treg/blob/main/plugins/workflows/web-access/skills/web-access/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“你能从应用商店获取我产品的最新评价,并获取 Reddit 上关于它的热门帖子吗?”

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

工作原理

智能体会先尝试使用自身的网页工具,只有在它们无法访问页面或平台时才使用本技能。随后它通过 treg 目录选择数据源;当某个服务商返回空结果时,会切换到另一个服务商,并返回数据。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Web access

One treg key reads the web: free search and page fetch first, and the rest of the catalog behind them for the pages and platforms a free fetch can't reach. Nothing runs on this machine: no browser, no cookies, no burner accounts. treg calls the vendor and, on a routed job, tries the next one when a vendor comes back empty or blocked.

When to use this

Your own tools come first. Whenever the built-in web search or fetch, a browser, or an MCP server the user installed can do the job, use it and leave this skill alone. Come here only when none can:

  • a page your own fetch can't read (blocked, needs JavaScript, rate-limited)
  • structured data from a platform you have no tool for (posts, profiles, products, reviews, places)
  • the user asked for treg

Never send localhost, staging, an intranet or anything behind the user's login through treg: it cannot reach them, and they are not public.

Runs on treg, through its MCP tools or the treg CLI; either is enough. Over MCP, each command below maps onto a tool: treg catalog search is catalog_search, treg catalog get is catalog_get, treg call is call. With neither, treg is not set up: don't install it on your own. Tell the user what it would add and ask; with their yes, follow https://treg.to/llms.txt to install and sign in.

Pick the job

Know the URL?             → read it (free first)
Need to find pages?       → search (free) → read the 3–5 best results
A platform object?        → never scrape its HTML: use the platform's job
  (post, profile, video,     structured fields, fewer tokens, survives redesigns
   product, review, place)
A whole site?             → map it → read only the pages that matter
Need typed fields?        → structured extract with a JSON schema or an instruction
Need it recent or dated?  → news search, not web search

Free first

Web search and page reads are free through TinyFish:

  • treg call treg.web.search --data '{"q":"…"}' --header 'X-Treg-Route-Prefer: tinyfish'
  • treg call treg.web.extract --data '{"url":"…"}' --header 'X-Treg-Route-Prefer: tinyfish'

Both are routed: when TinyFish comes back empty or blocked, treg tries the next vendor (Crawl4AI, AnyAPI, …). You pay the vendor that answered plus any vendor before it that bills a miss (treg catalog get says how many do); X-Treg-Route-Max-Cost caps the walk. To read up to ten URLs in one free call, call tinyfish.web.fetch directly with {"urls":[…]}; it does not fall back.

Platform data (social, stores, reviews, maps) is not free: cents or fractions of a cent a call. Say so before a batch.

Jobs

Search the catalog for the words in the second column. The vendors are examples of who answers today; take whatever the catalog ranks best now.

You want Search the catalog for Example vendors Notes
Web results treg.web.search TinyFish, Exa, Perplexity, Keenable free with the TinyFish header
A page as markdown treg.web.extract TinyFish, Crawl4AI, AnyAPI free first; blocked pages fall back
Typed fields from a page treg.web.extract.structured send url plus a schema and/or instruction
Every URL on a site treg.web.map AnyAPI, Firecrawl, Tavily add q to rank URLs for a topic
Many pages of a site "crawl a website" Firecrawl, Crawl4AI, Olostep map first when you need only some pages
Recent news treg.web.search.news Serper, DataForSEO, Exa dated results
Papers "search research publications" TinyFish, Exa, Serper
X, LinkedIn, Reddit, TikTok, Instagram, Threads, Facebook "x search posts", "linkedin company posts", "reddit subreddit posts", "tiktok video comments", … TikHub, ScrapeCreators, HarvestAPI, AnyAPI profiles, posts, comments, reactions as fields
YouTube, Bilibili "youtube video comments", "youtube search videos" Crawl4AI, TikHub, ScrapeCreators
Xiaohongshu, Douyin, Weibo "xiaohongshu user notes", "douyin search videos" TikHub, JustOneAPI
Stores "amazon product detail", "amazon search products", "walmart search", "ebay search" JustOneAPI, SerpAPI, Crawl4AI price, rating, reviews as fields
Reviews "app store reviews", "google play app", "trustpilot reviews", "glassdoor reviews", "google maps reviews" Crawl4AI, Bright Data, LiteScrape
Places "google maps search", "local results" DataForSEO, SerpAPI
Google results as Google shows them "google serp organic" DataForSE
常见问题

它会在我的电脑上运行浏览器吗?

不会。你的电脑上不运行任何程序,treg 在其一侧调用服务商。

它会访问我已登录的账户吗?

不会。该技能说明,它无法访问需要你登录后才能看到的页面,例如 localhost 或内部网。

它需要安装吗?

如果尚未设置 treg,智能体应先告诉你将添加什么,并在安装前征求你的同意。

详情

作者的原始描述

Use only when the agent's own web tools can't do the job. Use what you already have first (built-in web search and fetch, a browser, MCP servers the user installed); come here when none of them covers it, such as a page they can't read, structured data from a platform they have no tool for (X, LinkedIn, Reddit, TikTok, Instagram, YouTube, Xiaohongshu, Amazon, app stores, Google Maps, papers), or when the user asks for treg. Not for localhost, staging, internal pages or public docs your own fetch can read. Starts free, and treg falls back to the next vendor when one fails.

repo: superdesigndev/treg

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能