Langsung ke konten
Skillpedia
Riset48k Β· #4517

efficient-web-research

Fungsinya

Alat ini membantu AI mencari di internet dengan cerdas. Alat ini tidak mengunduh seluruh halaman tanpa perlu, dan hanya fokus pada yang dibutuhkan untuk menjawab pertanyaan Anda.

Kapan dipakai

  • βœ“Saat Anda meminta AI untuk meneliti sebuah topik.
  • βœ“Saat Anda memberikan tautan ke sebuah halaman atau repositori.
  • βœ“Saat AI perlu menemukan informasi spesifik di sebuah situs web.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/efficient-web-research/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/efficient-web-research/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTeliti bagaimana cara kerja konsensus RAFT.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI pertama-tama mencoba memahami apa yang Anda minta dan di mana harus mencari (sebuah tautan, situs kode seperti GitHub, atau topik umum). Setelah itu, AI mengambil informasi secara bertahap, dimulai dari bagian yang paling sederhana, dan hanya menggali lebih dalam jika diperlukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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

…
Pertanyaan umum

Mengapa AI tidak mengunduh seluruh halaman?

Mengunduh semuanya memakan lebih banyak 'memori' AI (token) dan bisa menyertakan banyak informasi yang tidak berguna. Mengambil hanya yang penting lebih cepat dan lebih efisien.

Apa itu 'token'?

Token adalah potongan-potongan kecil informasi yang digunakan AI untuk memahami dan menghasilkan teks. Semakin banyak informasi, semakin banyak token yang dipakai.

Apakah AI selalu menggunakan GitHub?

Tidak, AI menggunakan GitHub jika Anda memberikan tautan dari sana. Jika berupa tautan biasa, AI menggunakan metode lain. Jika hanya berupa topik, AI mencari di web.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
48k
Peringkat
#4517
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa