codex-web-search

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 調べて, 検索して, 最新情報, ニュース, リサーチ.

16 stars

Best use case

codex-web-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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 調べて, 検索して, 最新情報, ニュース, リサーチ.

Teams using codex-web-search should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/codex-web-search/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/codex-web-search/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/codex-web-search/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How codex-web-search Compares

Feature / Agentcodex-web-searchStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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 調べて, 検索して, 最新情報, ニュース, リサーチ.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Codex Web Search スキル

Codex CLI 実行環境内で Gemini CLI の `google_web_search` ツールを活用した Web 検索機能を提供。

## Instructions

### 1. 検索クエリの準備

ユーザーのリクエストから適切な検索クエリを構築する。

**クエリ最適化のポイント**:

- **技術調査**: 具体的な技術名、バージョン、「documentation」「official」を含める
  - 例: `"React 19 new features official documentation"`
- **エラー解決**: エラーメッセージをそのまま含め、「fix」「solution」を追加
  - 例: `"TypeError: Cannot read property 'map' of undefined fix React"`
- **最新情報**: 「latest」「2025」などの時間指定を含める
  - 例: `"TypeScript latest version features 2025"`
- **比較調査**: 比較対象を明確に、「vs」「comparison」を使用
  - 例: `"React vs Vue performance comparison 2025"`

### 2. Gemini CLI で検索実行

```bash
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 検索を実行する。

**動作**:
1. Gemini が google_web_search ツールを使用
2. Google 検索を実行
3. 検索結果を要約してソース付きで返却

### 3. 結果のフォーマット

Gemini の応答を以下の形式で報告:

```markdown
## 検索結果: {クエリ}

### 要約
{主要なポイントを2-3文で}

### 詳細
{関連情報の詳細}

### ソース
- [タイトル1](URL1)
- [タイトル2](URL2)
- ...
```

### 4. エラーハンドリング

| エラー | 対処 |
|--------|------|
| Gemini CLI が見つからない | `gemini` コマンドのインストールを案内 |
| API エラー | 再試行、またはユーザーに報告 |
| 検索結果なし | クエリを変更して再検索を提案 |

## Codex CLI 統合

このスキルは Codex CLI の `--full-auto` モードと組み合わせて使用可能:

```bash
codex --full-auto "React 19 の新機能を調べて、実装サンプルを作成"
```

Codex は自動的にこのスキルを使用して Web 検索を実行し、結果を活用してタスクを完了する。

## Examples

### 技術調査

**ユーザー**: 「Next.js 15 の新機能を調べて」

**実行**:
```bash
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."
```

**結果報告**:
```markdown
## 検索結果: 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" エラーが出る」

**実行**:
```bash
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 関連の最新ニュースを検索して」

**実行**:
```bash
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 モデル関連の特別ルール

検索クエリに AI/LLM キーワードが含まれる場合、以下は**自動破棄**:
- 旧世代モデル: GPT-3.5以前、Claude 2以前、Gemini 1.0以前、Llama 2以前
- 2023年以前のベンチマーク・モデル比較記事
- 廃止された API(Codex API 等)

**保持対象**(古くても有効):
- Transformer、Attention 等の基礎理論
- 学術論文(arxiv 等)
- 歴史的経緯の説明

### 出力フォーマット

ソース一覧に鮮度情報を付与:
- 2024-2025年: `✓` 最新
- 1-2年前: `[参考]` マーク
- それ以前: `[古い情報]` マーク、または破棄

### 判断困難時

目的が不明確な場合のみ、ユーザーに確認:
「最新情報のみで良いですか? 古い情報(2023年)も含めますか?」

## 注意事項

- 機密情報(API キー、パスワード等)を検索クエリに含めない
- 検索結果は要約されるため、詳細は元ソースを確認
- 連続した大量の検索は API レート制限に注意

Related Skills

copilot-search

16
from diegosouzapw/awesome-omni-skill

Search the web using Claude Code's WebSearch/WebFetch tools combined with GitHub Copilot CLI to find current documentation, best practices, solutions, and technical information. Use when the user needs to research libraries, find API documentation, troubleshoot errors, or learn about new technologies. Requires Copilot CLI installed.

context7-auto-research

16
from diegosouzapw/awesome-omni-skill

Automatically fetch latest library/framework documentation for Claude Code via Context7 API

codexer

16
from diegosouzapw/awesome-omni-skill

Advanced Python research assistant with Context 7 MCP integration, focusing on speed, reliability, and 10+ years of software development expertise

codex-search

16
from diegosouzapw/awesome-omni-skill

Search the web using OpenAI Codex CLI to find current documentation, best practices, solutions, and technical information. Use when the user needs to research libraries, find API documentation, troubleshoot errors, or learn about new technologies. Requires Codex CLI installed.

codex-peer-review

16
from diegosouzapw/awesome-omni-skill

[CLAUDE CODE ONLY] Leverage Codex CLI for AI peer review, second opinions on architecture and design decisions, cross-validation of implementations, security analysis, and alternative approach generation. Requires terminal access to execute Codex CLI commands. Use when making high-stakes decisions, reviewing complex architecture, or when explicitly requested for a second AI perspective. Must be explicitly invoked using skill syntax.

codex-orchestrator

16
from diegosouzapw/awesome-omni-skill

Orchestrate OpenAI Codex CLI with specialized subagents for code review, debugging, architecture analysis, security audits, refactoring, and documentation. This skill should be used when delegating focused development tasks to Codex subagents (gpt-5.3-codex, gpt-5.3-codex-spark, gpt-5.2) via AGENTS.md persona injection.

codex

16
from diegosouzapw/awesome-omni-skill

Use the OpenAI Codex CLI (codex exec) as a coding agent for writing code, debugging, code review, and automated refactoring. Always runs with high reasoning effort for maximum depth.

codex-monitor

16
from diegosouzapw/awesome-omni-skill

Monitor active Codex CLI sessions - shows status, working directory, and last messages

codex-cli

16
from diegosouzapw/awesome-omni-skill

Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.

code-surgeon-context-researcher

16
from diegosouzapw/awesome-omni-skill

Use when analyzing a codebase to select relevant files, build dependency maps, and extract architectural patterns for informed implementation planning

chatgpt-deep-research

16
from diegosouzapw/awesome-omni-skill

DEPRECATED - Use gpt-researcher skill instead. This browser automation approach has been replaced with the local GPT-Researcher framework using OpenAI o1.

azure-search-documents-ts

16
from diegosouzapw/awesome-omni-skill

Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building ag...