Skip to content
Worix
BrowsePublish
Log inSign Up

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...

92 downloads
Free
Reviewed

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 &

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

Then read the output file and summarize.

Parameters

FlagRequiredDefaultDescription
--promptYes—Research query
--outputNodata/codex-search-results/<task>.mdOutput file path
--task-nameNosearch-<timestamp>Task identifier
--telegram-groupNo—Telegram chat ID for callback
--modelNogpt-5.3-codexModel override
--timeoutNo120Seconds before auto-stop

Result Files

FileContent
data/codex-search-results/<task>.mdSearch report (incremental)
data/codex-search-results/latest-meta.jsonTask metadata + status
data/codex-search-results/task-output.txtRaw 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

Download

ZIP package — ready to use

Skill Info

Creator
jiangwzh
Downloads
92
Published
Mar 15, 2026
Updated
Mar 16, 2026