Skip to content
Back to skills

Codex Research

ASecurity

Research topics or review code using OpenAI Codex CLI. Use for: technical research, documentation lookup, code analysis, or when external AI perspective is needed.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 27, 2026
toolsbashgitapidocumentation

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill codex-research --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Research?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Research
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-codex-research/badge)](https://www.skillsdirectory.com/skills/david-li0406-codex-research)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-research
description: |
  Research topics or review code using OpenAI Codex CLI.
  Use for: technical research, documentation lookup, code analysis,
  or when external AI perspective is needed.
context: fork
agent: Explore
allowed-tools: Bash
---

# Codex Research Skill

This skill provides integration with OpenAI Codex CLI for research and code review tasks.

## Prerequisites

- Codex CLI installed: `npm install -g @openai/codex`
- Authentication (one of):
  - Run `codex` to complete OAuth authentication, OR
  - Set `OPENAI_API_KEY` environment variable

## Available Scripts

All scripts are located in `${CLAUDE_PLUGIN_ROOT}/scripts/`.

### 1. Check Installation

```bash
${CLAUDE_PLUGIN_ROOT}/scripts/check-codex.sh
```

Verifies Codex CLI is installed and authentication is configured (OAuth or API key).

### 2. Research Mode (codex exec)

```bash
${CLAUDE_PLUGIN_ROOT}/scripts/codex-exec.sh "your research question"
```

Use for:
- Technical research questions
- Documentation lookup
- Concept explanations
- Best practices inquiry

Example:
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/codex-exec.sh "What is dependency injection and when should I use it?"
```

### 3. Code Review Mode

```bash
${CLAUDE_PLUGIN_ROOT}/scripts/codex-review.sh <target>
```

Options:
- `--staged` - Review staged git changes
- `<file>` - Review specific file
- `<directory>` - Review directory

Examples:
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/codex-review.sh --staged
${CLAUDE_PLUGIN_ROOT}/scripts/codex-review.sh src/main.ts
${CLAUDE_PLUGIN_ROOT}/scripts/codex-review.sh ./lib
```

## Workflow

1. First, verify Codex CLI is available using `check-codex.sh`
2. For research tasks, use `codex-exec.sh` with the research prompt
3. For code review, use `codex-review.sh` with the target

## Error Handling

- **Timeout**: Commands timeout after 120 seconds
- **Not installed**: Provides installation instructions
- **Not authenticated**: Prompts to complete OAuth or set OPENAI_API_KEY

## Notes

This skill uses `context: fork` to isolate large outputs from the main conversation context.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…