kxiandaoyan/memoh-v2/web-search
Claude Code and agent skill by kxiandaoyan/memoh-v2
- community
Checking that the SKILL.md file is still in the repository.
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).
Install
npx vskill@latest install kxiandaoyan/memoh-v2/web-searchSKILL.md
Web Search Skill
Environment Variables
This skill requires the following environment variable to be set:
SKILLS_ROOT- Path to the skills directory (automatically set by the system)
No additional API keys or credentials are required for basic web search functionality.
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
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.
For non-ASCII queries (Chinese/Japanese/etc.), prefer UTF-8 file input to avoid shell encoding issues on Windows:
Examples:
Output Format:
The script returns Markdown-formatted results:
Workflow Example
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:
Direct API Calls
For advanced use cases, you can call the HTTP API directly:
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:
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
Pattern 2: Troubleshooting
Pattern 3: Current Events
Pattern 4: Comparison Research
Pattern 5: API/Library Usage
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:
- macOS: Install from https://www.google.com/chrome/
- Linux:
sudo apt install chromium-browser - Windows: Install from https://www.google.com/chrome/
Connection Timeout
Error: CDP port not ready or Connection timeout
Solution:
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:
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:
- Total results count
- Search duration
- Individual result titles and URLs
- 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 per session)
- First search: ~2-3 seconds (includes browser connection)
- Subsequent searches: ~1 second (connection cached)
Optimization Tips
- Reuse connections - The CLI script caches connections automatically
- Limit results - Request only what you need (5-10 is usually enough)
- Batch searches - If multiple searches needed, do them consecutively to reuse connection
- 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
- No CAPTCHA handling - If Google or Bing shows CAPTCHA, user must solve manually
- Engine availability varies by network/region - Auto mode falls back between Google and Bing
- English/Chinese focus - Optimized for English and Chinese results
- Basic extraction - Extracts titles and snippets, not full page content
- 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
Common Issues
| Issue | Symptom | Solution | |
|---|---|---|---|
| Server down | Connection refused | Start server or restart Electron | |
| Browser missing | Chrome not found | Install Chrome/Chromium | |
| Port conflict | Address already in use | Stop conflicting process on port 8923 | |
| Stale connection | Connection not found | Remove .connection cache file | |
| Network issue | Search timeout | Check internet connection |
Reset Everything
If all else fails, full reset:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 85 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/skills/defaults/web-search/SKILL.md
Popularity
- Repository stars
- 334
- Repository forks
- 33
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kxiandaoyan/memoh-v2/web-search)