Help us improve
Share bugs, ideas, or general feedback.
From codex-advisor
Conducts deep-dive technical research using Codex companion tasks and Claude synthesis on topics, questions, or documents. Activated by 'codex research', 'codex 분석', '딥다이브', or similar.
npx claudepluginhub leejuoh/claude-code-zero --plugin codex-advisorHow this skill is triggered — by the user, by Claude, or both
Slash command
/codex-advisor:codex-researchThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use Codex for deep-dive research via the companion task subcommand. Claude evaluates, verifies claims, fills gaps, and synthesizes a combined analysis.
Conducts thorough multi-source research on complex topics, with interactive depth, focus, and format selection for tailored synthesis.
Orchestrates multi-source research across web, codebase, and community evidence. Use for broad, mixed, or ambiguous research requests needing synthesis.
Orchestrates autonomous deep research on codebases and technical topics via map-reduce explorer architecture with sub-agents, generating structured reports.
Share bugs, ideas, or general feedback.
Use Codex for deep-dive research via the companion task subcommand. Claude evaluates, verifies claims, fills gaps, and synthesizes a combined analysis.
Before any file reading or prompt building, verify companion availability:
CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh")
If resolve fails: direct to /codex-setup immediately. Do NOT proceed to read files or build prompts. Do NOT fall back to a Claude-only solo analysis.
Parse $ARGUMENTS:
| Input | Action |
|---|---|
| A question or topic | Research directly |
| Path to a file | Read file, use as context |
resume [follow-up] | Pass --resume-last "[follow-up]" to companion task |
| (no args) | Ask user: "What should I research?" |
Read ${CLAUDE_PLUGIN_ROOT}/references/gpt-prompting.md for XML tag structure.
Adapt <task> to context:
Write to ${CLAUDE_PLUGIN_DATA}/tmp/codex-research-prompt.txt.
Compose the prompt by assembling these XML blocks. Replace placeholder values with actual content. Include the <context_document> block only if the user provided a document.
<task>
You are a technical researcher conducting a deep investigation.
Topic: [INSERT USER QUESTION OR TOPIC]
[If document provided: "Context document is provided below."]
Investigate thoroughly. Use web search if helpful.
Surface non-obvious insights, not just the first answer.
</task>
<compact_output_contract>
Structured analysis with clear sections.
Separate: observed facts, reasoned inferences, open questions.
Identify risks, trade-offs, alternative perspectives.
</compact_output_contract>
<research_mode>
Breadth first, then depth where evidence changes the recommendation.
</research_mode>
<citation_rules>
Cite sources. Prefer primary. Say "I'm not sure" rather than guessing.
</citation_rules>
<grounding_rules>
Ground claims in evidence. Label hypotheses clearly.
</grounding_rules>
[Only if document provided:]
<context_document>
[INSERT DOCUMENT CONTENT]
</context_document>
Create directory if needed: mkdir -p ${CLAUDE_PLUGIN_DATA}/tmp
Use the $CODEX_COMPANION resolved in Step 1:
node "$CODEX_COMPANION" task --prompt-file "${CLAUDE_PLUGIN_DATA}/tmp/codex-research-prompt.txt"
Timeout: 300000ms (5 minutes). Job is tracked and visible in /codex:status.
Read ${CLAUDE_PLUGIN_ROOT}/references/evaluation.md.
Adapt output format to question:
Save to ${CLAUDE_PLUGIN_DATA}/reviews/research-<YYYYMMDD-HHMMSS>.md:
# Codex Research — <date>
## Topic
<what was investigated>
## Codex Findings
<verbatim>
## Claude's Evaluation & Synthesis
<independent analysis>
## Agreement: <High|Partial|Disagreement>
## Key Takeaways
- <actionable conclusions>
rm -f ${CLAUDE_PLUGIN_DATA}/tmp/codex-research-prompt.txt
/codex-research resume [follow-up] — pass --resume-last to companion.