Skip to content

majiayu000/spellbook / skills/codex-agent

codex-agent

Verified

Use 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.

FileKindSize
README.mdmarkdown4.9 KB
SKILL.mdskill md7.5 KB
advanced.mdmarkdown3.8 KB
examples.mdmarkdown4.3 KB
sandbox-modes.mdmarkdown2.0 KB
scripts/check-codex.shexecutablescript1.0 KB
scripts/codex-wrapper.shexecutablescript3.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!"
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: 471kUpdated Claude CodeCodexVerifiedInstall
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: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 322kUpdated Claude CodeCodexVerifiedInstall