Token导航 LogoToken导航

Agent Skill · 研究检索

web-search(网络搜索)

web-search 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

web-search 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 20,970。

总安装 5,018周安装 205GitHub Stars 5,061下载 1,624核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:web-search(网络搜索)
来源仓库:https://github.com/netease-youdao/lobsterai
仓库路径:skills/web-search
安装命令:
npx skills add https://github.com/netease-youdao/lobsterai --skill web-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/netease-youdao/lobsterai --skill web-search

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。web-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词或任务场景快速定位候选结果。通过 GitHub 安装,可结合项目上下文使用。需确认权限范围和维护状态,避免触发不必要操作。建议参考原始 README 了解具体用法和输出格式。

来源仓库内路径:skills/web-search

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/netease-youdao/lobsterai --skill web-search;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

web-search 怎么安装?

在终端执行 npx skills add https://github.com/netease-youdao/lobsterai --skill web-search。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

web-search 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

web-search 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

web-search 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

web-search 用的人多吗?

公开数据是累计安装 5,018 次,近一周安装 205 次,下载 1,624 次,GitHub 5,061 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

web-search 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 5,061 星,维护活跃度相对可查。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
web-search

网络搜索 · 本页

5,0185,061接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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:

  1. CLI Script - Simple bash interface for Claude
  2. Bridge Server - Express HTTP API (auto-started by Electron)
  3. Playwright Manager - Browser connection and session management
  4. Search Engine Layer - Google primary, Bing fallback
  5. 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 "Content-Type: application/json" \
  -d "{
    \"connectionId\": \"$CONNECTION_ID\",
    \"url\": \"https://example.com\"
  }"

# Take screenshot
curl -X POST http://127.0.0.1:8923/api/page/screenshot \
  -H "Content-Type: application/json" \
  -d "{
    \"connectionId\": \"$CONNECTION_ID\",
    \"format\": \"png\"
  }"

Best Practices

1. Use Specific Queries

❌ Bad: bash scripts/search.sh "react" ✅ Good: bash scripts/search.sh "React 19 new features and breaking changes"

2. Limit Results Appropriately

  • Quick lookup: 3-5 results
  • Comprehensive research: 10 results
  • Don't request more than needed (faster + less noise)

3. Check Server Status First

If search fails, verify the server is running:

bash "$SKILLS_ROOT/web-search/scripts/start-server.sh" || echo "Server not running"

4. Reuse Connections

The CLI script automatically caches connections. Multiple searches in the same session will reuse the same browser connection for better performance.

5. Clean Output

Parse the Markdown output to extract key information for the user. Don't just dump all results - synthesize and summarize.

Common Patterns

Pattern 1: Latest Documentation

# User asks about latest framework features
bash SKILLs/web-search/scripts/search.sh "Next.js 15 documentation" 5

# Parse results, find official docs, summarize features

Pattern 2: Troubleshooting

# User reports an error
bash SKILLs/web-search/scripts/search.sh "TypeError: Cannot read property of undefined React" 5

# Find Stack Overflow answers and GitHub issues, provide solution

Pattern 3: Current Events

# User asks about recent news
bash SKILLs/web-search/scripts/search.sh "AI developments January 2026" 10

# Summarize key news items from results

Pattern 4: Comparison Research

# User wants to compare technologies
bash SKILLs/web-search/scripts/search.sh "Vue 3 vs React 18 performance 2026" 5

# Synthesize comparison from multiple sources

Pattern 5: API/Library Usage

# User needs specific API documentation
bash SKILLs/web-search/scripts/search.sh "Playwright page.evaluate examples" 5

# Extract code examples and usage patterns

Error Handling

Server Not Running

Error: ✗ Bridge Server is not running

Solution:

  • The server should auto-start with Electron
  • If manual start needed: bash SKILLs/web-search/scripts/start-server.sh
  • Check logs: cat SKILLs/web-search/.server.log

Browser Launch Failed

Error: Failed to launch browser

Cause: Chrome not installed or not found

Solution:

Connection Timeout

Error: CDP port not ready or Connection timeout

Solution:

# Stop server
bash SKILLs/web-search/scripts/stop-server.sh

# Clear cache
rm SKILLs/web-search/.connection

# Restart
bash SKILLs/web-search/scripts/start-server.sh

No Search Results

Error: Found 0 results

Possible causes:

  • Query too specific or unusual
  • Bing changed page structure (rare)
  • Network issues

Solution:

  • Try broader query
  • Check internet connection
  • Verify page loads manually at bing.com

Search Timeout

Error: Search failed: timeout

Solution:

  • Check internet connection
  • Reduce max results
  • Try again (might be temporary network issue)

Understanding Results

Result Structure

Each search result contains:

## [Title of Result]

**URL:** [https://example.com/page]

[Snippet/description from search results]

Fields:

  • Title - Page/article title
  • URL - Direct link (may include Bing tracking)
  • Snippet - Preview text from the page

Parsing Results

The search output is Markdown. Extract:

  1. Total results count
  2. Search duration
  3. Individual result titles and URLs
  4. Snippets for context

Result Quality

  • Official docs - Usually appear in top 3 results
  • Stack Overflow - Appears for technical questions
  • Recent articles - Bing prioritizes recent content
  • Chinese content - Bing works well in China, includes Chinese sources

Performance Considerations

Typical Latencies

  • Server startup: ~2 seconds (one-time, auto-started)
  • Browser launch: ~3 seconds (one-time, persists across searches)
  • First search: ~2-3 seconds (includes browser connection setup)
  • Subsequent searches: ~1 second (browser and connection reused)

Optimization Tips

  1. Browser persistence - The browser stays alive across searches by default. Connections and pages are reused automatically. Set WEB_SEARCH_CLEANUP=1 to close the browser after each search if needed.
  2. Limit results - Request only what you need (5-10 is usually enough)
  3. Batch searches - If multiple searches needed, do them consecutively to reuse connection
  4. Specific queries - More specific = faster and better results

Security and Privacy

Security Measures

  • Localhost only - Bridge Server binds to 127.0.0.1 (no external access)
  • No network exposure - Not accessible from other machines
  • Isolated browser - Uses separate Chrome profile, won't affect user's main browser
  • Visible operations - All browser actions shown in visible window (transparent)
  • No credentials - Skill never handles passwords or sensitive data

Privacy Considerations

  • Search queries go through Google and/or Bing depending on availability
  • Google/Bing may track searches (their standard privacy policies apply)
  • No local storage of search history by the skill
  • User can observe all browser activity in real-time

Limitations

Current Limitations

  1. No CAPTCHA handling - If Google or Bing shows CAPTCHA, user must solve manually
  2. Engine availability varies by network/region - Auto mode falls back between Google and Bing
  3. English/Chinese focus - Optimized for English and Chinese results
  4. Basic extraction - Extracts titles and snippets, not full page content
  5. No authentication - Cannot search pages requiring login

Not Suitable For

  • Searches requiring authentication
  • Filling out forms or submitting data
  • Actions requiring CAPTCHA solving (unless user manually solves)
  • Mass scraping or automated bulk searches
  • Accessing pages behind paywalls

Troubleshooting Guide

Quick Diagnostics

# 1. Check server health
curl http://127.0.0.1:8923/api/health

# 2. Check server logs
cat SKILLs/web-search/.server.log | tail -50

# 3. Test basic search
bash SKILLs/web-search/scripts/search.sh "test" 1

# 4. Check Chrome installation
which google-chrome || which chromium || which chromium-browser

Common Issues

IssueSymptomSolution
Server downConnection refusedStart server or restart Electron
Browser missingChrome not foundInstall Chrome/Chromium
Port conflictAddress already in useStop conflicting process on port 8923
Stale connectionConnection not foundRemove .connection cache file
Network issueSearch timeoutCheck internet connection

Reset Everything

If all else fails, full reset:

cd SKILLs/web-search

# Stop server
bash scripts/stop-server.sh

# Clean cache and state
rm -f .connection .server.pid .server.log

# Rebuild
npm run build

# Restart
bash scripts/start-server.sh

# Test
bash scripts/search.sh "test" 1

Examples for Claude

Example 1: User Asks About Latest Framework

User: "What are the new features in Next.js 15?"

Claude's approach:

# Search for Next.js 15 features
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "Next.js 15 new features" 5

Then: Parse results, identify official Next.js blog/docs, summarize key features for user.

Example 2: Troubleshooting Error

User: "I'm getting 'Cannot find module' error in TypeScript"

Claude's approach:

# Search for the specific error
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "TypeScript Cannot find module error solution" 5

Then: Extract solutions from Stack Overflow results, provide step-by-step fix.

Example 3: Current Events

User: "What happened in AI this month?"

Claude's approach:

# Search for recent AI news
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "AI news January 2026" 10

Then: Synthesize news from multiple sources, provide summary of key events.

Example 4: Documentation Lookup

User: "How do I use React Server Components?"

Claude's approach:

# Search for RSC documentation and tutorials
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "React Server Components guide tutorial" 5

Then: Find official React docs and good tutorials, explain with examples.

Example 5: Comparison Research

User: "Should I use Vite or webpack in 2026?"

Claude's approach:

# Search for recent comparisons
bash "$SKILLS_ROOT/web-search/scripts/search.sh" "Vite vs webpack 2026 comparison" 5

Then: Analyze multiple perspectives, provide balanced recommendation.

Tips for Effective Use

  1. Be specific in queries - Include version numbers, dates, or specific aspects
  2. Parse results carefully - Don't just copy-paste, synthesize information
  3. Verify with multiple sources - Cross-check important information
  4. Cite sources - Tell user which sources you're using
  5. Explain limitations - If search doesn't find good results, tell user
  6. Use follow-up searches - One search might not be enough, do multiple if needed
  7. Check result dates - Prefer recent articles for current info
  8. Look for official sources - Prioritize official docs and authoritative sources

Technical Details

Technologies Used

  • Playwright Core - Browser automation framework
  • Chrome DevTools Protocol - Low-level browser control
  • Express.js - HTTP API server
  • Google + Bing Search - Multi-engine fallback search strategy
  • Bash Scripts - Simple CLI interface

System Requirements

  • Node.js 18+
  • Google Chrome or Chromium installed
  • Internet connection for searches
  • ~100MB RAM for Bridge Server
  • ~200MB RAM for Chrome instance

File Locations

  • Server: SKILLs/web-search/dist/server/index.js
  • Logs: SKILLs/web-search/.server.log
  • PID: SKILLs/web-search/.server.pid
  • Connection cache: SKILLs/web-search/.connection

Additional Resources

  • Full documentation: SKILLs/web-search/README.md
  • Usage examples: SKILLs/web-search/examples/basic-search.md
  • API reference: See README.md for complete API documentation
  • Troubleshooting: See examples/basic-search.md

Support

For issues:

  1. Check .server.log for errors
  2. Run basic test: node SKILLs/web-search/scripts/test-basic.js
  3. Verify Chrome installation
  4. Check internet connection
  5. Review troubleshooting section above

Remember: This skill provides real-time access to current information. Use it whenever users need information beyond your knowledge cutoff or when accuracy of current data is important.

平台分布

Codex

36.4%
按下载量换算591

Claude

30.65%
按下载量换算498

Cursor

18.03%
按下载量换算293

Gemini CLI

10.08%
按下载量换算164

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills