Back to Skills

Searching Web

camoneart
Updated Yesterday
24 views
2
2
View on GitHub
Documentationwordmcp

About

This skill executes web searches using a prioritized MCP server strategy, starting with Brave-Search and falling back to WebFetch if needed. It's designed for web searches, documentation lookups, or when users request information using search-related terms. The approach provides efficient, structured search results with built-in redundancy through its fallback mechanism.

Documentation

Searching Web

MCPサーバーを優先順位付けして効率的にWeb検索を実行するスキル。

いつ使うか

  • Web検索が必要な時
  • 最新情報を調べる時
  • 公式ドキュメントを参照する時
  • ユーザーが「検索して」「調べて」と言及した時

検索戦略

優先順位付けフォールバック

1. Brave-Search MCP Server(第一優先)
   ↓ 失敗した場合
2. WebFetch MCP Server(フォールバック)

実行フロー

ステップ1: Brave-Search で検索

まず Brave-Search MCP Server を使用:

mcp__brave-search__brave_web_search

利点:

  • 高速
  • 構造化されたデータ
  • 複数結果を一度に取得

ステップ2: フォールバック処理

Brave-Search が利用できない、またはエラーが発生した場合:

WebFetch

利点:

  • 単一URLの詳細な取得
  • HTMLコンテンツの解析
  • より柔軟な取得

使用例

一般的なWeb検索

1. Brave-Search で "Next.js 15 新機能" を検索
2. 結果から最も関連性の高い記事を選択
3. 必要に応じて WebFetch で詳細を取得

公式ドキュメント検索

1. Brave-Search で "React useEffect official docs" を検索
2. 公式サイトのURLを特定
3. WebFetch でページ内容を取得・解析

エラー時のフォールバック

1. Brave-Search を試行
   ↓ (エラー発生)
2. WebFetch に切り替え
3. 検索エンジンURLを直接指定

検索クエリの最適化

効果的なクエリ

  • 具体的なキーワード: "Next.js App Router data fetching"
  • バージョン指定: "TypeScript 5.0 新機能"
  • 公式指定: "official documentation"

非効率なクエリ

  • ❌ "プログラミング"(曖昧すぎる)
  • ❌ "エラー"(コンテキスト不足)

OSS ライブラリ情報取得時の特別ルール

OSS ライブラリに関する情報が必要な場合は、Context7 MCP Server を優先使用:

Context7 MCP Server
  ↓ 利用不可の場合
Brave-Search MCP Server
  ↓ 利用不可の場合
WebFetch MCP Server

Context7 の利点:

  • 最新の公式ドキュメント
  • ライブラリ特化の情報
  • API リファレンス

エラーハンドリング

Brave-Search エラー時

  1. エラーメッセージを確認
  2. WebFetch に自動切り替え
  3. ユーザーに通知

WebFetch エラー時

  1. URL の有効性を確認
  2. リダイレクトを追跡
  3. 必要に応じて別のURLを試行

チェックリスト

  • Brave-Search を第一優先で試したか
  • エラー時に WebFetch にフォールバックしたか
  • OSS情報の場合、Context7 を検討したか
  • 検索クエリは具体的か
  • 結果をユーザーに明確に提示したか

Quick Install

/plugin add https://github.com/camoneart/claude-code/tree/main/searching-web

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

camoneart/claude-code
Path: skills/searching-web

Related Skills

business-rule-documentation

Meta

This skill provides standardized templates for systematically documenting business logic and domain knowledge following Domain-Driven Design principles. It helps developers capture business rules, process flows, decision trees, and terminology glossaries to maintain consistency between requirements and implementation. Use it when documenting domain models, creating business rule repositories, or bridging communication between business and technical teams.

View skill

go-test

Meta

The go-test skill provides expertise in Go's standard testing package and best practices. It helps developers implement table-driven tests, subtests, benchmarks, and coverage strategies while following Go conventions. Use it when writing test files, creating mocks, detecting race conditions, or organizing integration tests in Go projects.

View skill

canvas-design

Meta

The canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.

View skill

llamaindex

Meta

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

View skill