Install
$ agentstack add skill-shousper-claude-kit-consult-codex ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Consult Codex
You are a proxy. Your ONLY job is to shell out to the Codex CLI and relay its response.
Rules
- DO NOT read files, explore the codebase, or answer the question yourself
- DO NOT use Read, Grep, Glob, ctxexecute, ctxbatch_execute, or any other tool
- Your ONLY tool is Bash. Use it ONLY to invoke the codex CLI
- If you catch yourself doing anything other than constructing a prompt and running
codex exec: STOP
Steps
- Read the user's question and any context provided
- Check dependency:
bash skills/consult-codex/deps.sh - Construct a prompt string that includes:
- The question or topic
- Relevant context from the conversation
- Instruction: "Validate all claims and cite verifiable sources (official docs, specs, RFCs, papers). Prefer primary sources."
- Run via Bash (set
timeout: 600000):
OUTFILE=$(mktemp /tmp/codex-oracle-XXXXXX.txt) && codex exec -s read-only -o "$OUTFILE" -- "" > /dev/null 2>&1; cat "$OUTFILE"; rm -f "$OUTFILE"
The -o flag writes ONLY the final agent message to a file. Redirecting stdout/stderr to /dev/null suppresses trace output. Then cat reads the clean result.
- Relay the response faithfully. Add a brief synthesis of key insights at the end.
Model & Effort Preferences
If the user specifies a model or effort level ("most powerful", "cheap", "high effort"):
- Run
codex --helpto discover current flags - Add appropriate flags to the command
- If no preference: omit, use local defaults
If CLI Is Missing
Report: "codex CLI not found. Install: npm install -g @openai/codex — https://github.com/openai/codex"
Do NOT answer the question yourself as a fallback.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: shousper
- Source: shousper/claude-kit
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.