web-search
できること
このスキルは、エージェントの内蔵知識より新しい情報を探すため、制御されたブラウザでウェブ検索を実行します。最新の事実、ニュース、ドキュメントが必要な人のためのものです。
使う場面
- ✓エージェントが知らないかもしれない最近のニュースや出来事が必要なとき。
- ✓フレームワークやライブラリの最新ドキュメントが必要なとき。
- ✓プロジェクト、製品、エラーメッセージについて、オンラインで最新の回答があるか確かめたいとき。
スキルのリンク
https://github.com/netease-youdao/LobsterAI/blob/main/SKILLs/web-search/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“React 19の新機能は何ですか?最新のドキュメントを検索して、短くまとめてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、検索内容をローカルのブラウザ連携を通じて送り、制御されたブラウザで検索を開きます。結果を読み取り、関連する情報をエージェントがまとめられるように返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
なぜこのスキルが必要なのですか?
説明文によると、エージェントの内蔵知識には期限があるため、このスキルで新しい情報を扱えるようにします。
どのような検索がうまくいきますか?
ドキュメント、ニュース、製品比較、エラーメッセージなどが例です。
別のブラウザが必要ですか?
説明文によると、ローカル連携を通じてPlaywrightで制御されるブラウザを使います。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 6.2k
- ランキング
- #14420
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
article-writer
6.2k5つのスタイルのいずれかで記事を書くのを支援します。材料集めと構成から、最終的に整形された原稿までを扱います。
content-planner
6.2k最近の話題の記事と関連する検索を確認して、記事のトピックのコンテンツカレンダーを計画するのを支援します。
daily-trending
6.2k複数の中国のプラットフォームから、今日の話題を集め、最も重要なものを選ぶのを支援します。
imap-smtp-email
6.2kメールの受信トレイを確認し、新しいメッセージを読み、メールを検索し、マークを付け、添付ファイル付きのメールを送るのを支援します。