Chuyển đến nội dung
Skillpedia
Nghiên cứu7.0k · #13710

web-access

Skill này làm gì

Skill này cung cấp cho agent một phương án dự phòng để đọc web qua treg khi công cụ tìm kiếm và tải trang riêng của nó không làm được việc. Nó dành cho các tác vụ nghiên cứu và dữ liệu khi một trang bị chặn hoặc nền tảng không có công cụ trực tiếp.

Khi nào nên dùng

  • ✓Khi công cụ tải trang của agent không đọc được một trang web, chẳng hạn trang bị chặn hoặc nhiều script.
  • ✓Khi bạn cần dữ liệu có cấu trúc từ nền tảng như X, LinkedIn, Reddit hoặc Amazon.
  • ✓Khi bạn muốn lấy đánh giá, sản phẩm hoặc địa điểm từ web.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/superdesigndev/treg/blob/main/plugins/workflows/web-access/skills/web-access/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể lấy các đánh giá mới nhất về sản phẩm của tôi từ cửa hàng ứng dụng và các bài đăng nổi bật nhất về nó trên Reddit không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent thử công cụ web riêng trước, và chỉ dùng skill này cho các trang hoặc nền tảng mà chúng không tới được. Sau đó nó dùng danh mục treg để chọn nguồn, chuyển sang nhà cung cấp khác khi một nguồn trả về rỗng, rồi trả về dữ liệu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó có chạy trình duyệt trên máy tôi không?

Không. Không có gì chạy trên máy bạn. treg gọi nhà cung cấp ở phía họ.

Nó có truy cập các tài khoản đã đăng nhập của tôi không?

Không. Skill nói nó không thể vào các trang sau đăng nhập, như localhost hoặc mạng nội bộ (intranet).

Skill có cần cài đặt không?

Nếu treg chưa được thiết lập, agent nên cho bạn biết nó sẽ thêm gì và hỏi trước khi cài.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
7.0k
Vị trí xếp hạng
#13710
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự