Conducts deep-dive technical research using Codex companion tasks and Claude synthesis on topics, questions, or documents. Activated by 'codex research', 'codex 분석', '딥다이브', or similar.
From codex-advisornpx claudepluginhub leejuoh/claude-code-zero --plugin codex-advisorThis skill is limited to using the following tools:
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
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.