majiayu000/spellbook / skills/codex-agent
codex-agent
VerifiedUse when you want a second-opinion review via Codex CLI, cross-verification after another agent implements changes, debugging help, or alternative implementation proposals. Requires Codex CLI to be installed and authenticated.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 4.9 KB |
| SKILL.md | skill md | 7.5 KB |
| advanced.md | markdown | 3.8 KB |
| examples.md | markdown | 4.3 KB |
| sandbox-modes.md | markdown | 2.0 KB |
| scripts/check-codex.shexecutable | script | 1.0 KB |
| scripts/codex-wrapper.shexecutable | script | 3.5 KB |
scripts/check-codex.sh
View on GitHub#!/bin/bash
# check-codex.sh - Check if Codex CLI is installed and authenticated
# Place in: ~/.claude/skills/codex-agent/scripts/
set -e
echo "Checking Codex CLI installation..."
# Check if codex is installed
if ! command -v codex &> /dev/null; then
echo "ERROR: Codex CLI not found"
echo ""
echo "Install via npm:"
echo " npm install -g @openai/codex"
echo ""
echo "Or via Homebrew (macOS):"
echo " brew install --cask codex"
echo ""
exit 1
fi
VERSION=$(codex --version 2>/dev/null || echo "unknown")
echo "Codex CLI found: $VERSION"
echo "Path: $(which codex)"
# Check authentication by trying a simple read-only command.
echo ""
echo "Checking authentication..."
# Try to run a minimal command
if codex exec -s read-only "echo test" &>/dev/null; then
echo "Authentication: OK"
else
echo "WARNING: Authentication may not be configured, or this directory is not accepted by Codex"
echo ""
echo "Run 'codex login' to authenticate"
fi
echo ""
echo "Codex CLI is ready to use!"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |