Codex Stuck
Description
Detect whether Codex CLI is running or stuck. Lightweight terminal status monitor for codex/claude-code automation.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
codex_stuck
  
**Detect whether Codex is running or stuck.**
*Have you ever experienced Codex running for a long time with no response, wanting to kill it but afraid it's still working silently?*
[English](README.md) | [中文](README_zh.md)

Core Idea
A **lightweight** terminal status display plugin for Codex.
It determines whether Codex is stuck by monitoring:
- Session file status
- Traffic changes
- Silence duration
This plugin was created not only for easily detecting Codex status, but also as a monitor for fully automated operation of **[cca](https://github.com/bfly123/claude_code_autoflow)** and **[ccb](https://github.com/bfly123/claude_code_bridge)**.
Solution
- Inject completion markers (
CODEX_DONE) into Codex prompts - Monitor session files (
~/.codex/sessions/*.jsonl) to detect state - Display status in terminal title via OSC sequences
Status Icons
| Icon | Status | Meaning |
|---|---|---|
▶ |
Run | Producing output |
▷ |
Think | Pending, low activity |
◇ |
Idle | Long quiet period |
□ |
Free | Waiting for input |
■ |
Stuck | Very long quiet |
× |
Exit | Process exited |
Installation
Linux / macOS / WSL
./install.sh
Auto-configures shell (zsh/bash). Restart terminal after install.
Windows (PowerShell)
.\install.ps1
Auto-configures PATH. Restart terminal after install.
Usage
After installation, just run:
codex
The terminal title will show **real-time status**.
Uninstall
./uninstall.sh # Linux/macOS/WSL
.\uninstall.ps1 # Windows
Configuration (optional)
| Variable | Default | Desc
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11