Chuyển đến nội dung
Skillpedia
Nghiên cứu48k · #4517

efficient-web-research

Skill này làm gì

Công cụ này giúp AI tìm kiếm trên Internet một cách thông minh. Nó tránh tải toàn bộ trang không cần thiết, chỉ tập trung vào những gì cần để trả lời câu hỏi của bạn.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu AI nghiên cứu một chủ đề.
  • ✓Khi bạn cung cấp một liên kết đến trang hoặc kho mã.
  • ✓Khi AI cần tìm thông tin cụ thể trên một website.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/efficient-web-research/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/efficient-web-research/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

“Nghiên cứu cách thuật toán đồng thuận RAFT hoạt động.”

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

Cách hoạt động

AI trước tiên cố gắng hiểu bạn yêu cầu gì và nên tìm ở đâu (một liên kết, một trang mã như GitHub, hay một chủ đề chung). Sau đó, nó lấy thông tin dần dần, bắt đầu từ phần đơn giản nhất và chỉ đi sâu hơn khi cần.

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.

Efficient Web Research Skill

A protocol for accessing web content in the most token-efficient, accurate, and structured way — using the right tool at the right depth, and stopping as soon as the question is answerable.


When to Use

  • Use this skill when the task matches this description: Protocol for token-efficient web research. Use when accessing URLs, GitHub repos, or running search queries. Prevents full-page fetching waste.

Core Principle

Fetch the minimum needed to answer. Skim before you dive. Stop when you can answer.

Every unnecessary fetch wastes tokens and adds noise. This skill enforces a layered approach where you escalate fetch depth only when shallower layers fail.


Step 1 — Classify the Input

Before fetching anything, identify what kind of input you received:

Input Type Example Go To
GitHub repo URL github.com/user/repo GitHub Protocol
Specific page URL docs.python.org/3/library/os URL Protocol
Topic / query (no URL) "how does RAFT consensus work" Search Protocol
Multiple URLs List of links Multi-URL Protocol
PDF / file link .pdf, .txt, .md URL File Protocol

GitHub Protocol

Use when input is a GitHub URL (repo, file, PR, issue, etc.)

Step 1 — Parse the URL

github.com/{owner}/{repo}                → Repo root
github.com/{owner}/{repo}/tree/{branch}  → Directory
github.com/{owner}/{repo}/blob/{branch}/{path} → Single file
github.com/{owner}/{repo}/issues/{n}     → Issue
github.com/{owner}/{repo}/pull/{n}       → Pull request

Step 2 — Use GitHub API (preferred over scraping)

Always prefer the GitHub API. It returns clean JSON — no HTML parsing needed.

# Repo metadata (name, description, language, stars, topics)
GET https://api.github.com/repos/{owner}/{repo}

# File tree (see what files exist — very cheap)
GET https://api.github.com/repos/{owner}/{repo}/git/trees/{ref}?recursive=1

# Single file content (base64 encoded)
GET https://api.github.com/repos/{owner}/{repo}/contents/{path}?ref={ref}

# README only (usually enough to understand the repo)
GET https://api.github.com/repos/{owner}/{repo}/readme

Step 3 — Layered Fetch for Repos

Layer 1 (always do first):
  → Fetch repo metadata + README only
  → Can you answer the user's question now? YES → STOP. NO → continue.

Layer 2 (only if needed):
  → Fetch file tree to understand structure
  → Identify the 1-3 most relevant files based on the question
  → Can you answer now? YES → STOP. NO → continue.

Layer 3 (last resort):
  → Fetch specific relevant files only (never fetch all files)
  → Prioritize: main entry point, config files, key modules

Token Rules for GitHub

  • README alone answers ~70% of "what does this repo do" questions — always try it first
  • Never fetch more than 3 files in a single research turn
  • If a file exceeds ~300 lines, read only the top (imports + class/function signatures)
  • Decode base64 content from API before passing to context

URL Protocol

Use when the user gives a specific non-GitHub URL (docs, articles, blogs, etc.)

Step 1 — Assess the URL type

Site type Likely works with Notes
Static docs / MDN / ReadTheDocs read_url_content Fast, clean, cheap
News articles / blogs read_url_content Usually fine
SPAs / React/Next.js apps browser_subagent JS-rendered
Auth-gated pages browser_subagent Needs login
Raw GitHub files (raw.githubusercontent) read_url_content Direct text

Step 2 — Layered Fetch

Layer 1 — Skim
  → Fetch the URL with read_url_content
  → Read only headings (H1, H2, H3) and first paragraph
  → Does this page contain what the user needs? NO → try a different URL or search. YES → continue.

Layer 2 — Targeted Extract
  → If the page has anchor links (e.g. /docs/page#section), fetch with the anchor
  → Extract only the relevant section (200–500 tokens max)
  → Can you answer? YES → STOP.

Layer 3 — Full Fetch
  → Fetch full page, strip boilerplate (nav, footer, ads, cookie banners, sidebars)
  → Cap at 2000 tokens. Summarize before passing to answer.

Layer 4 — Browser Subagent (last resort only)
  → Use ONLY if read_url_content returns empty, garbled, or JS-placeholder content

…
Câu hỏi thường gặp

Vì sao AI không tải toàn bộ trang?

Tải tất cả sẽ tốn nhiều “bộ nhớ” (token) của AI hơn và có thể bao gồm nhiều thông tin vô ích. Chỉ lấy những gì cần thiết sẽ nhanh hơn và hiệu quả hơn.

“Token” là gì?

Token là các mảnh thông tin nhỏ mà AI dùng để hiểu và tạo văn bản. Nhiều thông tin hơn nghĩa là dùng nhiều token hơn.

AI có luôn dùng GitHub không?

Không, nó dùng GitHub nếu bạn đưa liên kết đến đó. Nếu là liên kết thông thường, nó dùng một phương pháp khác. Nếu chỉ là một chủ đề, nó tìm kiếm trên web.

Chi tiết

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

Protocol for token-efficient web research. Use when accessing URLs, GitHub repos, or running search queries. Prevents full-page fetching waste.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4517
Giấy phép
MIT
Cập nhật
15/10/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ự