/pulp:codex-consultfrom pulp
Invokes OpenAI Codex via `codex exec` with stdin piping, timeout, and reasoning-effort tuning to avoid argv-hang. Accepts a prompt via $ARGUMENTS or a file, returns Codex's answer.
Ships in pulp. Installing the plugin adds it to Claude Code.
A Pulp-side wrapper around codex exec that always invokes it the right way. Use this instead of calling codex exec ad hoc — the direct CLI silently hangs on anything past a short argv prompt.
See ~/.claude/skills/codex/SKILL.md for the full flag reference and gotchas.
Agents: build the prompt in a file, then run the invocation below. Never pass a long prompt as a single argv argument to codex exec — it hangs silently with 0% CPU.
# 1. Write the prompt to a temp file (heredoc into `cat > /tmp/codex-prompt.txt <<'EOF' … EOF`).
# 2. Invoke:
cat /tmp/codex-prompt.txt | timeout 480 \
codex exec -c model_reasoning_effort='"medium"' - \
> /tmp/codex-answer.txt 2> /tmp/codex-progress.log
# 3. Read the answer:
cat /tmp/codex-answer.txt
Tune the reasoning effort down ("low") for faster answers on simple questions, up ("high", "xhigh") for deep analysis — but expect multi-minute runs at xhigh.
Include this framing in every Codex prompt so it knows to use RepoPrompt instead of raw shell, and knows the repo state:
Tooling preference: use the RepoPrompt MCP server's tools (file_search,
get_file_tree, read_file, get_code_structure) rather than raw shell.
CWD is /Users/danielraffel/Code/pulp on branch <BRANCH> at commit <SHA>.
<your question here>
Please give direct yes/no answers where possible and flag any step in
the plan that is wrong or risky.
If the background invocation isn't returning:
ps -p <codex_pid> -o pid,state,time,%cpu,rss
lsof -p <codex_pid> 2>/dev/null | grep TCP | head -3
tail -20 /tmp/codex-progress.log
mcp: …started / …completed lines.codex exec "long prompt" as a single argv argument — always pipe via stdin (codex exec -).timeout — a hung codex is indistinguishable from a slow one.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
30 commands in this plugin
/audio-compareAdvisory before/after audio judgment — measure → compare → judge two renders and weigh in on a DSP change with cited evidence (agent-facing, not a gate)/audio-harnessProve and inspect what a Pulp processor emits — run the audio observability harness (metrics, scenarios, contracts) and the offline Audio Doctor analyzers (frequency response, THD)/audio-inspectOpen the developer Audio Inspector window — live meters, probe-stage status, copied waveform, L/R level-match + balance, and a device/runtime summary/bakeFreeze a graph into a signed .pulpbake artifact (or verify one)/ciRun CI validation, create PRs, and merge on green/ci-hostOnboard a Mac as a Tart-VM CI host (optional; wraps setup-ci-host.sh)npx claudepluginhub generous-corp/pulp --plugin pulpOther plugins' commands for the same job