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に貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
コメント
- …
このリポジトリの他のスキル
code-quality
7.0kエージェントに、明確なコードの基準を教えます。機械で規則を強制する、コメントはまれにする、テストが失敗しうるようにする、ドキュメントは短く保つ、などです。
google-ads
7.0kエージェントが、APIのバージョンや予算の一般的なミスを避けて、Google Adsのレポートや変更を安全に行い、無駄な費用を防げるよう支援します。
google-analytics
7.0kエージェントが、部分的な日付や誤ったゼロを避けて、Google Analytics 4から正確なトラフィック、コンバージョン、収益の数字を得られるよう支援します。
google-search-console
7.0kエージェントが、Search Consoleから有機検索のクリック、表示回数、順位を報告し、直近の不完全な日を減少と誤認しないよう支援します。