google-search-serp
Skill này làm gì
Skill trích xuất dữ liệu hiển thị trên trang kết quả tìm kiếm Google, như kết quả tự nhiên, quảng cáo trả phí và câu hỏi Mọi người cũng hỏi. Skill dành cho người làm marketing và SEO muốn xem kết quả tìm kiếm trông như thế nào.
Khi nào nên dùng
- ✓Khi bạn muốn xem trang nào đang xếp hạng cao cho một từ khóa trên Google.
- ✓Khi bạn cần các tìm kiếm liên quan và câu hỏi cho một chủ đề.
- ✓Khi bạn muốn kiểm tra quảng cáo trả phí nào xuất hiện cho một cụm từ tìm kiếm.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/search-research/google-search-serp/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho tôi xem kết quả Google cho giày chạy bộ tốt nhất, gồm quảng cáo, tìm kiếm liên quan và các câu hỏi Mọi người cũng hỏi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở trang tìm kiếm Google cho cụm từ của bạn và đọc những gì hiển thị trên đó. Sau đó trả về kết quả tự nhiên, quảng cáo trả phí, tìm kiếm liên quan, câu hỏi, đoạn AI Overview và tổng số kết quả.
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.
Google — Search SERP Extraction
Search keyword + parameters → structured SERP data (organic results, ads, related queries, PAA, AI Overview)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract all visible content from a Google Search results page: organic listings, paid ads, related searches, People Also Ask, AI Overview, and total result count.
Prerequisites
- Target page is already open in the browser:
https://www.google.com/search?q={query}
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
DOM: Google Search SERP (data extraction)
Parameters are injected via URL navigation; data is extracted from the server-rendered HTML page:
navigate https://www.google.com/search?q={query}&num={num}&hl={lang}&gl={country}&start={start}wait stableeval "$(python scripts/serp-extract.py)"
URL parameters:
q: Search query (required)num: Results per page —10(default),20,50,100hl: Interface language code — e.g.,en,zh-CN,fr,de(omit for browser default)gl: Country targeting code — e.g.,us,gb,de,cn(omit for browser default)start: Pagination offset —0for page 1,10for page 2 (whennum=10); formula:(page - 1) * num
Error handling: If extraction returns {"error": true, "message": "captcha required"}, the session is blocked by Google — switch to a browser with a US rotating proxy and retry. If "No search results found" is returned, run screenshot to verify the page loaded correctly before retrying.
Output example:
{
"searchQuery": {
"term": "machine learning",
"url": "https://www.google.com/search?q=machine+learning",
"device": "DESKTOP",
"page": 1,
"type": "SEARCH",
"domain": "www.google.com",
"countryCode": "US",
"languageCode": "en"
},
"resultsTotal": "14900000000",
"organicResults": [
{
"position": 1,
"type": "organic",
"title": "Machine learning - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Machine_learning",
"displayedUrl": "en.wikipedia.org › wiki › Machine_learning",
"description": "Machine learning (ML) is a field of study in artificial intelligence...",
"emphasizedKeywords": ["machine learning", "ML"],
"siteLinks": [
{"title": "Supervised learning", "url": "https://en.wikipedia.org/wiki/Supervised_learning"}
]
}
],
"paidResults": [
{
"adPosition": 1,
"type": "paid",
"title": "Learn Machine Learning Online",
"url": "https://example.com/ml-course",
"displayedUrl": "example.com",
"description": null,
"siteLinks": []
}
],
"relatedQueries": [
{"title": "machine learning examples", "url": "https://www.google.com/search?q=machine+learning+examples"}
],
"peopleAlsoAsk": [
{"question": "What is machine learning used for?"}
],
"aiOverview": null
}
Field notes:
resultsTotal: total result count string (commas removed),nullwhen stat bar is absentorganicResults[*].emphasizedKeywords: bold/italic terms in the description, empty array when noneorganicResults[*].siteLinks: sub-links shown under some results, empty array when nonepaidResults[*].description: ad description text,nullwhen the advertiser omits itaiOverview: AI Overview p
Câu hỏi thường gặp
Bạn có cần đăng nhập không?
Không. Skill chỉ đọc các kết quả tìm kiếm đã hiển thị trên trang.
Kết quả gồm những gì?
Kết quả gồm danh sách tự nhiên, quảng cáo trả phí, tìm kiếm liên quan, câu hỏi Mọi người cũng hỏi, đoạn AI Overview và tổng số kết quả.
Có giống Google Search API không?
Không. Skill đọc trực tiếp trang kết quả, nên đầu ra khớp với những gì người dùng thấy trên màn hình.
Chi tiết
Mô tả gốc của tác giả
Extracts Google Search results page (SERP) data including organic results, paid ads, related searches, People Also Ask questions, AI Overview text, and total result count from google.com. Use when user mentions Google search results, SERP scraping, google search data, search engine results page, organic rankings, keyword SERP, Google SERP extraction, scrape Google search, Google search API alternative, SEO ranking data, paid search ads, PPC ads on Google, Google search monitoring, keyword research, search results export, check Google rankings, what shows up on Google, search engine scraper, go
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14298
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
competitive-platform-analysis
280kGiúp bạn hiểu rõ đối thủ cạnh tranh. Công cụ xác định, phân loại và lọc các công ty cạnh tranh trước khi phân tích sâu hơn.
competitive-report-structure
280kTạo báo cáo đối thủ cạnh tranh toàn diện. Kết hợp thông tin để thể hiện bức tranh chung, đề xuất và giúp đồng đội thống nhất hướng đi.
lead-intelligence
280kGiúp agent tìm và liên hệ với những người quan trọng. Phân tích khách hàng tiềm năng, gợi ý cách tiếp cận và quản lý việc liên lạc qua email và mạng xã hội.