{"id":"3b97a95a-1e71-497f-988e-f322c698955e","entityType":"agent","slug":"clawhub-skills-adamsardo-codex-sub-agents","name":"codex-cli","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-adamsardo-codex-sub-agents","canonicalPath":"/agent/clawhub-skills-adamsardo-codex-sub-agents","generatedAt":"2026-10-09T18:15:07.510Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool. --- name: codex-cli description: \"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.\" --- OpenAI Codex CLI Skill Use OpenAI Codex CLI (codex) for coding tasks including code review, refactoring, bug fixes, CI repairs, and feature implementation. Cod","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:adamsardo:codex-sub-agents","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/adamsardo/codex-sub-agents","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/adamsardo/codex-sub-agents","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to de"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"MCP","label":"MCP","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"search","status":"self-declared"},{"label":"model","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"MCP","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"search","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"model","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:MCP|unknown|profile capability:search|supported|profile capability:model|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-25T05:55:48.994Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-25T05:55:48.994Z","lastIndexedAt":null,"nextCrawlAt":"2026-02-26T05:55:48.994Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install skills:adamsardo:codex-sub-agents","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["MCP"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T18:15:07.509Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-adamsardo-codex-sub-agents/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"---\nname: codex-cli\ndescription: \"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.\"\n---\n\n# OpenAI Codex CLI Skill\n\nUse OpenAI Codex CLI (`codex`) for coding tasks including code review, refactoring, bug fixes, CI repairs, and feature implementation. Codex CLI runs locally on your machine with full filesystem access.\n\n## When to Use\n\n- User asks for code changes, refactoring, or implementation\n- CI/build failures need fixing\n- Code review before commit/push\n- Large codebase exploration or explanation\n- Tasks requiring file editing + command execution\n- When GPT-5-Codex model strengths are needed (code generation, tool use)\n\n## Installation & Auth\n\nCodex CLI requires ChatGPT Plus/Pro/Business/Enterprise subscription.\n\n```bash\n# Install\nnpm i -g @openai/codex\n\n# Authenticate (opens browser for OAuth)\ncodex login\n\n# Or use API key\nprintenv OPENAI_API_KEY | codex login --with-api-key\n\n# Verify auth\ncodex login status\n```\n\n## Core Commands\n\n### Interactive Mode (TUI)\n```bash\ncodex                           # Launch interactive terminal UI\ncodex \"explain this codebase\"   # Start with a prompt\ncodex --cd ~/projects/myapp     # Set working directory\n```\n\n### Non-Interactive (Scripting)\n```bash\ncodex exec \"fix the CI failure\"                    # Run and exit\ncodex exec --full-auto \"add input validation\"      # Auto-approve workspace writes\ncodex exec --json \"list all API endpoints\"         # JSON output for parsing\ncodex exec -i screenshot.png \"match this design\"   # With image input\n```\n\n### Session Management\n```bash\ncodex resume               # Pick from recent sessions\ncodex resume --last        # Continue most recent\ncodex resume <SESSION_ID>  # Resume specific session\n```\n\n## Slash Commands (In TUI)\n\n| Command | Purpose |\n|---------|---------|\n| `/model` | Switch model (gpt-5-codex, gpt-5) |\n| `/approvals` | Set approval mode (Auto, Read Only, Full Access) |\n| `/review` | Code review against branch, uncommitted changes, or specific commit |\n| `/diff` | Show Git diff including untracked files |\n| `/compact` | Summarize conversation to free context |\n| `/init` | Generate AGENTS.md scaffold |\n| `/status` | Show session config and token usage |\n| `/undo` | Revert most recent turn |\n| `/new` | Start fresh conversation |\n| `/mcp` | List configured MCP tools |\n| `/mention <path>` | Attach file to conversation |\n\n## Approval Modes\n\n| Mode | Behavior |\n|------|----------|\n| **Auto** (default) | Read/edit/run commands in workspace; asks for outside access |\n| **Read Only** | Browse files only; requires approval for changes |\n| **Full Access** | Full machine access including network (use sparingly) |\n\n## Key Flags\n\n| Flag | Purpose |\n|------|---------|\n| `--model, -m <model>` | Override model (gpt-5-codex, gpt-5) |\n| `--cd, -C <path>` | Set working directory |\n| `--add-dir <path>` | Add additional writable roots |\n| `--image, -i <path>` | Attach image(s) to prompt |\n| `--full-auto` | Workspace write + approve on failure |\n| `--sandbox <mode>` | read-only, workspace-write, danger-full-access |\n| `--json` | Output newline-delimited JSON |\n| `--search` | Enable web search tool |\n\n## Clawdbot Integration Patterns\n\n### Pattern 1: Direct exec Tool\nCall Codex from Clawdbot's exec tool for coding tasks:\n\n```bash\n# In Clawdbot session\nexec codex exec --full-auto --cd ~/projects/medreport \"fix the TypeScript errors in src/components\"\n```\n\n### Pattern 2: Subagent Delegation\nSpawn a coding subagent that uses Codex:\n\n```json5\n// In agents.defaults or per-agent config\n{\n  agents: {\n    list: [\n      {\n        id: \"coder\",\n        workspace: \"~/clawd-coder\",\n        model: \"openai-codex/gpt-5.2\",  // Uses Codex auth\n        tools: {\n          allow: [\"exec\", \"read\", \"write\", \"edit\", \"apply_patch\", \"process\"]\n        }\n      }\n    ]\n  }\n}\n```\n\n### Pattern 3: CLI Backend Fallback\nConfigure Codex as a text-only fallback:\n\n```json5\n{\n  agents: {\n    defaults: {\n      cliBackends: {\n        \"codex-cli\": {\n          command: \"codex\",\n          args: [\"exec\", \"--full-auto\"],\n          output: \"text\",\n          sessionArg: null  // Codex manages its own sessions\n        }\n      }\n    }\n  }\n}\n```\n\n### Pattern 4: MCP Server Mode\nRun Codex as an MCP server for other agents:\n\n```bash\ncodex mcp-server  # Exposes Codex tools via stdio MCP\n```\n\n## Clawdbot Config: OpenAI Codex Provider\n\nUse your ChatGPT Pro subscription via the `openai-codex` provider:\n\n```json5\n{\n  agents: {\n    defaults: {\n      model: { primary: \"openai-codex/gpt-5.2\" },\n      models: {\n        \"openai-codex/gpt-5.2\": { alias: \"Codex\" },\n        \"anthropic/claude-opus-4-5\": { alias: \"Opus\" }\n      }\n    }\n  }\n}\n```\n\nAuth syncs automatically from `~/.codex/auth.json` to Clawdbot's auth profiles.\n\n## Code Review Workflow\n\n```bash\n# Interactive review\ncodex\n/review  # Choose: branch, uncommitted, or specific commit\n\n# Non-interactive\ncodex exec \"review the changes in this PR against main branch\"\n```\n\n## Multi-Directory Projects\n\n```bash\n# Work across monorepo packages\ncodex --cd apps/frontend --add-dir ../backend --add-dir ../shared\n\n# Or in TUI\ncodex --cd ~/projects/myapp --add-dir ~/projects/shared-lib\n```\n\n## Custom Slash Commands\n\nCreate reusable prompts in `~/.codex/prompts/`:\n\n```markdown\n<!-- ~/.codex/prompts/pr.md -->\n---\ndescription: Prepare and open a draft PR\nargument-hint: [BRANCH=<name>] [TITLE=\"<title>\"]\n---\n\nCreate branch `dev/$BRANCH` if specified.\nStage and commit changes with a clear message.\nOpen a draft PR with title $TITLE or auto-generate one.\n```\n\nInvoke: `/prompts:pr BRANCH=feature-auth TITLE=\"Add OAuth flow\"`\n\n## MCP Integration\n\nAdd MCP servers to extend Codex:\n\n```bash\n# Add stdio server\ncodex mcp add github -- npx @anthropic/mcp-server-github\n\n# Add HTTP server\ncodex mcp add docs --url https://mcp.deepwiki.com/mcp\n\n# List configured\ncodex mcp list\n```\n\n## Web Search\n\nEnable in `~/.codex/config.toml`:\n\n```toml\n[features]\nweb_search_request = true\n\n[sandbox_workspace_write]\nnetwork_access = true\n```\n\nThen Codex can search for current docs, APIs, etc.\n\n## Best Practices\n\n1. **Start with `/init`** to create AGENTS.md with repo-specific instructions\n2. **Use `/review` before commits** for AI code review\n3. **Set `/approvals` appropriately** — Auto for trusted repos, Read Only for exploration\n4. **Use `--add-dir`** for monorepos instead of `danger-full-access`\n5. **Resume sessions** to maintain context across coding sessions\n6. **Attach images** for UI work, design specs, error screenshots\n\n## Example Workflows\n\n### Fix CI Failure\n```bash\ncodex exec --full-auto \"The CI is failing on the lint step. Fix all ESLint errors.\"\n```\n\n### Refactor Component\n```bash\ncodex exec --cd src/components \"Refactor UserProfile.tsx to use React Query instead of useEffect for data fetching\"\n```\n\n### Implement Feature from Spec\n```bash\ncodex exec -i spec.png --cd ~/projects/app \"Implement this feature based on the design spec\"\n```\n\n### Code Review PR\n```bash\ncodex exec \"Review the diff between main and feature/auth branch. Focus on security issues.\"\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Auth fails | Run `codex logout` then `codex login` |\n| Commands blocked | Check `/approvals`, may need `--full-auto` |\n| Out of context | Use `/compact` to summarize |\n| Wrong directory | Use `--cd` flag or check `/status` |\n| Model unavailable | Verify subscription tier supports model |\n\n## References\n\n- [Codex CLI Overview](https://developers.openai.com/codex/cli)\n- [Codex CLI Features](https://developers.openai.com/codex/cli/features)\n- [Codex CLI Reference](https://developers.openai.com/codex/cli/reference)\n- [Slash Commands Guide](https://developers.openai.com/codex/cli/slash-commands)\n- [AGENTS.md Spec](https://agents.md)\n- [Codex GitHub](https://github.com/openai/codex)\n","readmeExcerpt":"--- name: codex-cli description: \"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.\" --- OpenAI Codex CLI Skill Use OpenAI Codex CLI (codex) for coding tasks including code review, refactoring, bug fixes, CI repairs, and feature implementation. Cod","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Install\nnpm i -g @openai/codex\n\n# Authenticate (opens browser for OAuth)\ncodex login\n\n# Or use API key\nprintenv OPENAI_API_KEY | codex login --with-api-key\n\n# Verify auth\ncodex login status"},{"language":"bash","snippet":"codex                           # Launch interactive terminal UI\ncodex \"explain this codebase\"   # Start with a prompt\ncodex --cd ~/projects/myapp     # Set working directory"},{"language":"bash","snippet":"codex exec \"fix the CI failure\"                    # Run and exit\ncodex exec --full-auto \"add input validation\"      # Auto-approve workspace writes\ncodex exec --json \"list all API endpoints\"         # JSON output for parsing\ncodex exec -i screenshot.png \"match this design\"   # With image input"},{"language":"bash","snippet":"codex resume               # Pick from recent sessions\ncodex resume --last        # Continue most recent\ncodex resume <SESSION_ID>  # Resume specific session"},{"language":"bash","snippet":"# In Clawdbot session\nexec codex exec --full-auto --cd ~/projects/medreport \"fix the TypeScript errors in src/components\""},{"language":"json5","snippet":"// In agents.defaults or per-agent config\n{\n  agents: {\n    list: [\n      {\n        id: \"coder\",\n        workspace: \"~/clawd-coder\",\n        model: \"openai-codex/gpt-5.2\",  // Uses Codex auth\n        tools: {\n          allow: [\"exec\", \"read\", \"write\", \"edit\", \"apply_patch\", \"process\"]\n        }\n      }\n    ]\n  }\n}"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool. --- name: codex-cli description: \"Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.\" --- OpenAI Codex CLI Skill Use OpenAI Codex CLI (codex) for coding tasks including code review, refactoring, bug fixes, CI repairs, and feature implementation. Cod","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":399,"uniquenessScore":60,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T18:15:07.510Z","emptyReason":null},"items":[{"id":"b72e3032-816c-4f68-bcc9-1a847aef4d79","entityType":"agent","canonicalPath":"/agent/ard-urn-air-ai-bankee-mcp-inferventis-mcp","slug":"ard-urn-air-ai-bankee-mcp-inferventis-mcp","name":"Inferventis MCP Server","description":"Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.","url":"https://mcp-server-295985738387.europe-west1.run.app/mcp","homepage":"https://mcp-server-295985738387.europe-west1.run.app/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:09:37.547Z","createdAt":"2026-10-09T02:32:16.798Z","downloads":null},{"id":"a785e560-2661-4edd-a374-5e8de7c54e7a","entityType":"agent","canonicalPath":"/agent/ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","slug":"ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","name":"ShortlistLens","description":"Structured website and review evidence for AI-assisted local-business shortlisting.","url":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","homepage":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:04:03.143Z","createdAt":"2026-10-09T02:32:13.915Z","downloads":null},{"id":"91842505-d59e-48ad-ae35-d504a6e8eadb","entityType":"agent","canonicalPath":"/agent/ard-urn-air-com-brainiall-mcp-nlp","slug":"ard-urn-air-com-brainiall-mcp-nlp","name":"Brainiall NLP","description":"Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.","url":"https://api.brainiall.com/mcp/nlp/mcp","homepage":"https://api.brainiall.com/mcp/nlp/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T16:12:13.999Z","createdAt":"2026-10-09T02:32:12.319Z","downloads":null},{"id":"2d0ce267-ccff-48fc-bef6-6ddad9c50d20","entityType":"agent","canonicalPath":"/agent/ard-urn-air-io-github-deesmo-mcp-arch-tools-mcp","slug":"ard-urn-air-io-github-deesmo-mcp-arch-tools-mcp","name":"io.github.Deesmo/arch-tools-mcp","description":"63 production tools for AI agents — one API key, pay per call in USDC (x402) or Stripe credits.","url":"https://archtools.dev/mcp","homepage":"https://archtools.dev/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T14:36:24.781Z","createdAt":"2026-10-09T02:32:09.920Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"MCP","href":"/agent/protocol/mcp"}]}}}