web-search
Skill này làm gì
Skill này chạy tìm kiếm web qua một trình duyệt được điều khiển để tìm thông tin mới hơn kiến thức có sẵn của agent. Skill dành cho bất kỳ ai cần sự thật, tin tức hoặc tài liệu hiện tại.
Khi nào nên dùng
- ✓Khi bạn cần tin tức hoặc sự kiện gần đây mà agent có thể chưa biết.
- ✓Khi bạn cần tài liệu mới nhất của một framework hoặc thư viện.
- ✓Khi bạn muốn kiểm tra xem một dự án, sản phẩm hoặc thông báo lỗi đã có lời giải trên mạng chưa.
Liên kết skill
https://github.com/netease-youdao/LobsterAI/blob/main/SKILLs/web-search/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
“Các tính năng mới trong React 19 là gì? Hãy tìm trong tài liệu mới nhất và tóm tắt ngắn cho tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gửi tìm kiếm của bạn qua một cầu nối trình duyệt cục bộ, cầu nối này mở tìm kiếm trong một trình duyệt được điều khiển. Skill đọc kết quả và trả về thông tin liên quan để agent của bạn tóm tắt.
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 Search Skill
When to Use This Skill
Use the web-search skill when you need:
- Current information - Events, news, or data after January 2025
- Latest documentation - Up-to-date framework/library docs (React 19, Next.js 15, etc.)
- Real-time data - Stock prices, weather, sports scores, etc.
- Fact verification - Check current status of projects, companies, or technologies
- Recent discussions - Community opinions, GitHub issues, Stack Overflow answers
- Product comparisons - Latest reviews and comparisons
- Troubleshooting - Search for specific error messages or solutions
Examples of when to use:
- User: "What are the new features in React 19?"
- User: "Search for the latest Next.js App Router documentation"
- User: "What's the current status of the Rust async project?"
- User: "Find recent discussions about Vue 3 performance"
How It Works
┌──────────┐ Bash ┌─────────┐ HTTP ┌──────────────┐ CDP ┌────────┐
│ Claude │───────────▶│ CLI.sh │───────────▶│ Bridge Server│──────────▶│ Chrome │
│ │ │ │ │ (localhost) │ Playwright│ │
└──────────┘ └─────────┘ └──────────────┘ └────────┘
│
▼
Google/Bing Search
Extract Results
Architecture:
- CLI Script - Simple bash interface for Claude
- Bridge Server - Express HTTP API (auto-started by Electron)
- Playwright Manager - Browser connection and session management
- Search Engine Layer - Google primary, Bing fallback
- Chrome Browser - Visible browser window (all operations transparent)
Basic Usage
Simple Search (Recommended)
IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate the skill scripts. This ensures the skill works in both development and production environments.
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "search query" [max_results]
For non-ASCII queries (Chinese/Japanese/etc.), prefer UTF-8 file input to avoid shell encoding issues on Windows:
cat > /tmp/web-query.txt <<'TXT'
苹果 Siri AI 2026 发布计划
TXT
bash "$SKILLS_ROOT/web-search/scripts/search.sh" @/tmp/web-query.txt 10
Examples:
# Search with default 10 results
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "TypeScript 5.0 new features"
# Limit to 5 results
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "React Server Components guide" 5
# Search for recent news
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "AI news January 2026" 10
Output Format:
The script returns Markdown-formatted results:
# Search Results: TypeScript 5.0 new features
**Query:** TypeScript 5.0 new features
**Results:** 5
**Time:** 834ms
---
## TypeScript 5.0 Release Notes
**URL:** [https://www.typescriptlang.org/docs/...]
TypeScript 5.0 introduces decorators, const type parameters...
---
## (More results...)
Workflow Example
# 1. Search for topic
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "Next.js 14 features" 5
# 2. Analyze results and answer user
# 3. Follow-up search if needed
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "Next.js Server Actions tutorial" 3
Advanced Usage
Server Management
The Bridge Server is automatically managed by Electron. You typically don't need to start/stop it manually.
However, for manual control:
# Start server (if not already running)
bash "$SKILLS_ROOT/web-search/scripts/start-server.sh"
# Stop server
bash "$SKILLS_ROOT/web-search/scripts/stop-server.sh"
# Check health (start script will print endpoint status)
bash "$SKILLS_ROOT/web-search/scripts/start-server.sh"
Direct API Calls
For advanced use cases, you can call the HTTP API directly:
# Get or create connection
CONNECTION_ID=$(curl -s -X POST http://127.0.0.1:8923/api/browser/connect \
-H "Content-Type: application/json" \
-d '{}' | grep -o '"connectionId":"[^"]*"' | cut -d'"' -f4)
# Perform search
curl -X POST http://127.0.0.1:8923/api/search \
-H "Content-Type: application/json" \
-d "{
\"connectionId\": \"$CONNECTION_ID\",
\"query\": \"Playwright tutorial\",
\"maxResults\": 5
}"
# Navigate to specific URL
curl -X POST http://127.0.0.1:8923/api/page/navigate \
-H
Câu hỏi thường gặp
Vì sao cần skill này?
Mô tả nêu rằng kiến thức có sẵn của agent có một mốc cắt, nên skill này bổ sung thông tin mới hơn.
Những loại tìm kiếm nào hiệu quả?
Ví dụ gồm tài liệu, tin tức, so sánh sản phẩm và thông báo lỗi.
Skill có cần trình duyệt riêng không?
Mô tả nêu rằng skill dùng trình duyệt được điều khiển bởi Playwright thông qua một cầu nối cục bộ.
Chi tiết
Mô tả gốc của tác giả
Real-time web search using Playwright-controlled browser. Use this skill when you need current information, latest documentation, recent news, or any data beyond your knowledge cutoff (January 2025).
repo: netease-youdao/LobsterAI
Độ phổ biến
- Sao GitHub
- 6.2k
- Vị trí xếp hạng
- #14420
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
article-writer
6.2kGiúp agent của bạn viết một bài báo theo một trong năm phong cách, từ thu thập tư liệu và dàn ý đến bản nháp cuối đã định dạng.
content-planner
6.2kGiúp agent của bạn lên lịch nội dung gồm các chủ đề bài viết, bằng cách xem các bài viết thịnh hành gần đây và từ khóa tìm kiếm liên quan.
daily-trending
6.2kGiúp agent của bạn thu thập các chủ đề thịnh hành hôm nay từ nhiều nền tảng Trung Quốc và chọn ra những chủ đề quan trọng nhất.
imap-smtp-email
6.2kGiúp agent của bạn kiểm tra hộp thư, đọc thư mới, tìm kiếm thư, đánh dấu thư và gửi email có tệp đính kèm.
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.