home / skills / yeachan-heo / oh-my-claudecode / ask-codex
/skills/ask-codex
This skill helps you query Codex via a local CLI and capture reusable artifacts for multi-agent workflows.
npx playbooks add skill yeachan-heo/oh-my-claudecode --skill ask-codexReview the files below or copy the command above to add this skill to your agents.
---
name: ask-codex
description: Ask Codex via local CLI and capture a reusable artifact
---
# Ask Codex
Use Codex as an external advisor through OMC's ask command.
## Usage
```bash
/oh-my-claudecode:ask-codex <question or task>
```
## Routing
Preferred path:
```bash
omc ask codex "{{ARGUMENTS}}"
```
Wrapper alias (compatibility):
```bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "{{ARGUMENTS}}"
```
## Requirements
- Local Codex CLI must be installed and authenticated.
- Verify with:
```bash
codex --version
```
## Artifacts
`omc ask` writes artifacts to:
```text
.omc/artifacts/ask/codex-<slug>-<timestamp>.md
```
Task: {{ARGUMENTS}}
This skill lets you query Codex from your local CLI and saves the response as a reusable artifact. It integrates with the Oh My Claude Code (omc) tooling so teams can capture external advice in a consistent, timestamped format. Use it to turn ad-hoc Codex outputs into shareable documents for later reference or automation.
Invoke the ask command with a natural-language question or task and the skill routes the request to the local Codex CLI. The cli must be installed and authenticated on the host; the skill detects and calls the codex binary to get a response. Each response is written as a markdown artifact into the artifacts directory with a slug and timestamp for easy retrieval and reuse.
What do I need installed locally?
You must have the Codex CLI installed and authenticated. Verify with codex --version before using the ask command.
Where are responses saved?
Responses are saved as markdown artifacts in .omc/artifacts/ask with a codex-<slug>-<timestamp>.md filename for easy tracking.