简介
Codex Deep Search
原始描述
Deep web search using Codex CLI for complex queries that need multi-source synthesis. Use when web_search (Brave) returns insufficient results, when the user...
通过你的 Agent 添加
安装目录:codex-deep-search/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: codex-deep-search
description: Deep web search using Codex CLI for complex queries that need multi-source synthesis. Use when web_search (Brave) returns insufficient results, when the user asks for in-depth research, comprehensive analysis, or says "deep search", "详细搜索", "帮我查一下", or when a topic needs following multiple links and cross-referencing sources.
Codex Deep Search
Use Codex CLI's web search capability for research tasks needing more depth than Brave API snippets.
When to Prefer Over web_search
- Complex/niche topics needing multi-source synthesis
- User explicitly asks for thorough/deep research
- Brave results are too shallow or missing context
Usage
Dispatch Mode (recommended — background + callback)
nohup bash /home/ubuntu/clawd/skills/codex-deep-search/scripts/search.sh \
--prompt "Your research query" \
--task-name "notebooklm-research" \
--telegram-group "-5006066016" \
--timeout 120 > /tmp/codex-search.log 2>&1 &
Dispatch Mode (recommended — background + callback)
nohup bash /home/ubuntu/clawd/skills/codex-deep-search/scripts/search.sh \
--prompt "Your research query" \
--task-name "notebooklm-research" \
--telegram-group "-5006066016" \
--timeout 120 > /tmp/codex-search.log 2>&1 &
After dispatch: tell user search is running, results will arrive via Telegram. Do NOT poll.
Synchronous Mode (short queries only)
bash /home/ubuntu/clawd/skills/codex-deep-search/scripts/search.sh \
--prompt "Quick factual query" \
--output "/tmp/search-result.md" \
--timeout 60
bash /home/ubuntu/clawd/skills/codex-deep-search/scripts/search.sh \
--prompt "Quick factual query" \
--output "/tmp/search-result.md" \
--timeout 60
Then read the output file and summarize.
Parameters
Flag
Required
Default
Description
--prompt
Yes
—
Research query
--output
No
data/codex-search-results/<task>.md
Output file path
--task-name
No
search-<timestamp>
Task identifier
--telegram-group
No
—
Telegram chat ID for callback
--model
No
gpt-5.3-codex
Model override
--timeout
No
120
Seconds before auto-stop
Result Files
File
Content
data/codex-search-results/<task>.md
Search report (incremental)
data/codex-search-results/latest-meta.json
Task metadata + status
data/codex-search-results/task-output.txt
Raw Codex output
Key Design
- Incremental writes — results saved after each search round, survives OOM/timeout
- Low reasoning effort — reduces memory, prevents OOM SIGKILL
- Timeout protection — auto-stops runaway searches
- Dispatch pattern — background execution with Telegram callback, no polling
| Flag | Required | Default | Description |
|---|---|---|---|
--prompt |
Yes | — | Research query |
--output |
No | data/codex-search-results/<task>.md |
Output file path |
--task-name |
No | search-<timestamp> |
Task identifier |
--telegram-group |
No | — | Telegram chat ID for callback |
--model |
No | gpt-5.3-codex |
Model override |
--timeout |
No | 120 |
Seconds before auto-stop |
| File | Content |
|---|---|
data/codex-search-results/<task>.md |
Search report (incremental) |
data/codex-search-results/latest-meta.json |
Task metadata + status |
data/codex-search-results/task-output.txt |
Raw Codex output |
Key Design
- Incremental writes — results saved after each search round, survives OOM/timeout
- Low reasoning effort — reduces memory, prevents OOM SIGKILL
- Timeout protection — auto-stops runaway searches
- Dispatch pattern — background execution with Telegram callback, no polling
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。