codex

A way to delegate coding work to the OpenAI Codex command-line tool, which runs in a terminal. It supports tasks such as feature development, refactoring, code review, and batch fixes in a Git repository.

In plain words
What is it for?
Use it for feature changes, refactoring, pull-request reviews, repeated fixes, and other coding tasks when the Codex CLI and credentials are installed.
Why use it?
It lets another coding agent handle a defined task while your main session coordinates the work. It also documents the different ways to run Codex, from one-off commands to interactive sessions.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/deepelementlab/jupyter-studio/codex
Any agent
npx skills add deepelementlab/jupyter-studio --skill codex
Clone the repo
git clone --depth 1 https://github.com/deepelementlab/jupyter-studio

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,013 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.01013
Opus 5 $0.00018 $0.00507
Sonnet 5 $0.00007 $0.00203
Haiku 4.5 $0.00004 $0.00101

Measured yesterday against content hash fa4d395a3ecd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

clawcode/clawcode/plugin/builtin_plugins/clawcode-skills/skills/codex/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex CLI (clawcode)

Use OpenAI Codex as an external coding agent when the user wants Codex specifically.

Do not confuse these entry points (they are not interchangeable):

Entry Role
/codex-cli (TUI slash) One-shot probe or command via codex_cli_bridge: merged stdout/stderr, not a PTY session and not multi-turn TUI control. Default args often --version.
bash One-shot shell in agent turns, e.g. codex exec '…'.
terminal + process (Agent tools) Multi-turn driving of Codex: terminal with background=true (and pty=true on POSIX with clawcode[terminal-pty]), then process for poll / submit / kill. Codex expects a git repo; for scratch dirs use mktemp -d && git init. Windows local PTY is limited—full TUI automation use WSL/Linux.

Optional: pip install 'clawcode[terminal-pty]' for ptyprocess on POSIX.

Prerequisites

  • Install Codex: npm install -g @openai/codex (command name codex on PATH).
  • Configure OpenAI credentials per Codex docs (API key / auth).
  • Git repository — many Codex flows refuse to run outside a repo; use a temp dir + git init for greenfield scratch.

When to use

  • User asks for Codex or codex explicitly.
  • You need a bounded task: prefer codex exec '...' via bash in the project workspace.
  • Quick install check: /codex-cli after /claw (default codex --version); same terminal stack as /claude-cli / /opencode-cli.

clawcode-specific capabilities

Goal What to use
Quick probe /codex-cli only—single run, not multi-run TUI.
One-shot exec bash or terminal foreground: codex exec 'task' with working_directory in a git repo.
Long / background terminal (background=true, pty=true where supported) + process. Optional check_interval on terminal for TUI completion notifications (see CLAW_SUPPORT_MAP.md).

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 81 lines · 37 tokens per session scan A fa4d395a3ecd

Subscribe to this mod's changes

codex is a skill published in the GitHub repository deepelementlab/jupyter-studio (53 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,013 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gsap-plugins

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG…

calesthio/OpenMontage · 91 tokens

manimce-best-practices

Trigger when: (1) User mentions "manim" or "Manim Community" or "ManimCE", (2) Code contains from manim import , (3) User runs manim CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes. Best practices for Manim Community Edition - the community-maintained Python animation engine.…

calesthio/OpenMontage · 149 tokens

manim-composer

Trigger when: (1) User wants to create an educational/explainer video, (2) User has a vague concept they want visualized, (3) User mentions "3b1b style" or "explain like 3Blue1Brown", (4) User wants to plan a Manim video or animation sequence, (5) User asks to "compose" or "plan" a math/science visualization.…

calesthio/OpenMontage · 174 tokens

docs-manage

Manage the Grounded Docs MCP Server documentation index. Covers scraping and indexing documentation from URLs or local files, refreshing existing indexes with changed content, and removing libraries from the index. Use when you need to add, update, or delete indexed documentation.

arabold/docs-mcp-server · 53 tokens

fetch-url

Fetch a single URL and convert its content to Markdown. Use when you need to read a web page, documentation page, or API reference without indexing it. The content is returned as plain Markdown text on stdout.

arabold/docs-mcp-server · 45 tokens

ffmpeg

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

calesthio/OpenMontage · 55 tokens