From web-search-codex
Codex CLI 環境内で Gemini CLI を使用した Web 検索を実行。技術情報、最新ニュース、一般的なリサーチに対応。Use when user asks to search the web, look up information, find recent news, or research a topic within Codex CLI. Also use when user says 調べて, 検索して, 最新情報, ニュース, リサーチ.
How this skill is triggered — by the user, by Claude, or both
Slash command
/web-search-codex:codex-web-searchThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Codex CLI 実行環境内で Gemini CLI の `google_web_search` ツールを活用した Web 検索機能を提供。
Codex CLI 実行環境内で Gemini CLI の google_web_search ツールを活用した Web 検索機能を提供。
ユーザーのリクエストから適切な検索クエリを構築する。
クエリ最適化のポイント:
"React 19 new features official documentation""TypeError: Cannot read property 'map' of undefined fix React""TypeScript latest version features 2025""React vs Vue performance comparison 2025"gemini --yolo "Use the google_web_search tool to search for: {検索クエリ}. You MUST perform a web search and return results with sources."
フラグ説明:
--yolo: ツール実行の許可プロンプトをスキップ(自動実行)重要: 「Use the google_web_search tool to search for:」という指示を必ず含める。 これにより Gemini が確実に Web 検索を実行する。
動作:
Gemini の応答を以下の形式で報告:
## 検索結果: {クエリ}
### 要約
{主要なポイントを2-3文で}
### 詳細
{関連情報の詳細}
### ソース
- [タイトル1](URL1)
- [タイトル2](URL2)
- ...
| エラー | 対処 |
|---|---|
| Gemini CLI が見つからない | gemini コマンドのインストールを案内 |
| API エラー | 再試行、またはユーザーに報告 |
| 検索結果なし | クエリを変更して再検索を提案 |
このスキルは Codex CLI の --full-auto モードと組み合わせて使用可能:
codex --full-auto "React 19 の新機能を調べて、実装サンプルを作成"
Codex は自動的にこのスキルを使用して Web 検索を実行し、結果を活用してタスクを完了する。
ユーザー: 「Next.js 15 の新機能を調べて」
実行:
gemini --yolo "Use the google_web_search tool to search for: Next.js 15 new features official documentation. You MUST perform a web search and return results with sources."
結果報告:
## 検索結果: Next.js 15 新機能
### 要約
Next.js 15 では、Turbopack がデフォルトの開発サーバーとして採用され...
### 詳細
- Turbopack: 開発時のビルド速度が大幅に向上
- React 19 対応: Server Components の強化
- ...
### ソース
- [Next.js 15 Blog](https://nextjs.org/blog/next-15)
- [Next.js Documentation](https://nextjs.org/docs)
ユーザー: 「React で "Cannot read property 'map' of undefined" エラーが出る」
実行:
gemini --yolo "Use the google_web_search tool to search for: Cannot read property map of undefined React fix solution. You MUST perform a web search and return results with sources."
ユーザー: 「AI 関連の最新ニュースを検索して」
実行:
gemini --yolo "Use the google_web_search tool to search for: AI artificial intelligence latest news today. You MUST perform a web search and return results with sources."
検索結果を報告する前に鮮度を評価し、古い情報は適切に処理する。
| ドメイン | 推奨鮮度 | 古い情報の扱い |
|---|---|---|
| AI/LLM | 6ヶ月以内 | 旧世代モデル情報は破棄 |
| フロントエンド | 1年以内 | [古い情報] マーク付与 |
| クラウドサービス | 1年以内 | [古い情報] マーク付与 |
| セキュリティ | 3ヶ月以内 | 最新情報のみ採用 |
| プログラミング言語 | 2年以内 | 参考として残す |
| アルゴリズム・設計 | 制限なし | そのまま採用 |
検索クエリに AI/LLM キーワードが含まれる場合、以下は自動破棄:
保持対象(古くても有効):
ソース一覧に鮮度情報を付与:
✓ 最新[参考] マーク[古い情報] マーク、または破棄目的が不明確な場合のみ、ユーザーに確認: 「最新情報のみで良いですか? 古い情報(2023年)も含めますか?」
npx claudepluginhub biwakonbu/cc-plugins --plugin web-search-codexGuides WebSearch queries to find authoritative documentation, best practices, implementation patterns, and version-specific details for frameworks, APIs, and databases.
Performs real-time web research using Gemini's Google Search for current events, library versions, security vulnerabilities, benchmarks, and comparisons.
Conducts web research to verify current APIs, check latest versions, detect deprecations, and fetch up-to-date implementations using specialized search tools.